|
| 1 | +apiVersion: config.kubernetes.io/v1 |
| 2 | +kind: ResourceList |
| 3 | +items: |
| 4 | +- apiVersion: infra.nephio.org/v1alpha1 |
| 5 | + kind: WorkloadCluster |
| 6 | + metadata: |
| 7 | + name: cluster01 |
| 8 | + annotations: |
| 9 | + config.kubernetes.io/local-config: "true" |
| 10 | + spec: |
| 11 | + clusterName: cluster01 |
| 12 | + cnis: |
| 13 | + - macvlan |
| 14 | + - ipvlan |
| 15 | + - sriov |
| 16 | + masterInterface: eth1 |
| 17 | +- apiVersion: kpt.dev/v1 |
| 18 | + kind: Kptfile |
| 19 | + metadata: |
| 20 | + name: cluster01-amf |
| 21 | + annotations: |
| 22 | + config.kubernetes.io/local-config: "true" |
| 23 | + info: |
| 24 | + description: amf package example |
| 25 | + readinessGates: |
| 26 | + - conditionType: nephio.org.Specializer.specialize |
| 27 | + pipeline: {} |
| 28 | + status: |
| 29 | + conditions: |
| 30 | + - message: update condition for initial resource |
| 31 | + reason: workload.nephio.org/v1alpha1.NFDeployment.amf-cluster01 |
| 32 | + status: "True" |
| 33 | + type: req.nephio.org/v1alpha1.Capacity.dataplane |
| 34 | + - message: update condition for initial resource |
| 35 | + reason: workload.nephio.org/v1alpha1.NFDeployment.amf-cluster01 |
| 36 | + status: "True" |
| 37 | + type: req.nephio.org/v1alpha1.DataNetwork.internet |
| 38 | + - message: update condition for initial resource |
| 39 | + reason: workload.nephio.org/v1alpha1.NFDeployment.amf-cluster01 |
| 40 | + status: "True" |
| 41 | + type: req.nephio.org/v1alpha1.Interface.n2 |
| 42 | + - message: update done |
| 43 | + status: "True" |
| 44 | + type: workload.nephio.org/v1alpha1.NFDeployment.amf-cluster01 |
| 45 | + - message: update condition for initial resource |
| 46 | + reason: workload.nephio.org/v1alpha1.NFDeployment.amf-cluster01 |
| 47 | + status: "True" |
| 48 | + type: req.nephio.org/v1alpha1.Dependency.upf |
| 49 | + - message: update condition for initial resource |
| 50 | + reason: workload.nephio.org/v1alpha1.NFDeployment.amf-cluster01 |
| 51 | + status: "True" |
| 52 | + type: req.nephio.org/v1alpha1.Dependency.upf_duplicate |
| 53 | + - reason: Ready |
| 54 | + status: "True" |
| 55 | + type: nephio.org.Specializer.specialize |
| 56 | +- apiVersion: req.nephio.org/v1alpha1 |
| 57 | + kind: Capacity |
| 58 | + metadata: |
| 59 | + name: dataplane |
| 60 | + annotations: |
| 61 | + config.kubernetes.io/local-config: "true" |
| 62 | + specializer.nephio.org/owner: workload.nephio.org/v1alpha1.NFDeployment.amf-cluster01 |
| 63 | + spec: |
| 64 | + maxUplinkThroughput: 0 |
| 65 | + maxSubscribers: 1000 |
| 66 | + maxDownlinkThroughput: 0 |
| 67 | +- apiVersion: req.nephio.org/v1alpha1 |
| 68 | + kind: DataNetwork |
| 69 | + metadata: |
| 70 | + name: internet |
| 71 | + annotations: |
| 72 | + config.kubernetes.io/local-config: "true" |
| 73 | + prefix: 10.0.0.0/8 |
| 74 | + specializer.nephio.org/owner: workload.nephio.org/v1alpha1.NFDeployment.amf-cluster01 |
| 75 | + spec: |
| 76 | + status: {} |
| 77 | +- apiVersion: req.nephio.org/v1alpha1 |
| 78 | + kind: Dependency |
| 79 | + metadata: |
| 80 | + name: upf |
| 81 | + annotations: |
| 82 | + specializer.nephio.org/owner: workload.nephio.org/v1alpha1.NFDeployment.amf-cluster01 |
| 83 | + specializer.nephio.org/namespace: free5gc-cp |
| 84 | + spec: |
| 85 | + packageName: free5gc-upf |
| 86 | + injectors: |
| 87 | + - apiVersion: workload.nephio.org/v1alpha1 |
| 88 | + kind: NFDeployment |
| 89 | + status: |
| 90 | + injected: |
| 91 | + - name: amf-regional-upf-edge02 |
| 92 | + namespace: free5gc-cp |
| 93 | + apiVersion: ref.nephio.org/v1alpha1 |
| 94 | + kind: Config |
| 95 | +- apiVersion: req.nephio.org/v1alpha1 |
| 96 | + kind: Dependency |
| 97 | + metadata: |
| 98 | + name: upf_duplicate |
| 99 | + annotations: |
| 100 | + specializer.nephio.org/owner: workload.nephio.org/v1alpha1.NFDeployment.amf-cluster01 |
| 101 | + specializer.nephio.org/namespace: free5gc-cp |
| 102 | + spec: |
| 103 | + packageName: free5gc-upf |
| 104 | + injectors: |
| 105 | + - apiVersion: workload.nephio.org/v1alpha1 |
| 106 | + kind: NFDeployment |
| 107 | + status: |
| 108 | + injected: |
| 109 | + - name: amf-regional-upf-edge02 |
| 110 | + namespace: free5gc-cp |
| 111 | + apiVersion: ref.nephio.org/v1alpha1 |
| 112 | + kind: Config |
| 113 | +- apiVersion: req.nephio.org/v1alpha1 |
| 114 | + kind: Interface |
| 115 | + metadata: |
| 116 | + name: n2 |
| 117 | + annotations: |
| 118 | + config.kubernetes.io/local-config: "true" |
| 119 | + specializer.nephio.org/owner: workload.nephio.org/v1alpha1.NFDeployment.amf-cluster01 |
| 120 | + spec: |
| 121 | + networkInstance: |
| 122 | + name: vpc-ran |
| 123 | + cniType: sriov |
| 124 | + attachmentType: vlan |
| 125 | + status: |
| 126 | + ipClaimStatus: |
| 127 | + - prefix: 10.0.0.3/24 |
| 128 | + gateway: 10.0.0.1 |
| 129 | + vlanClaimStatus: |
| 130 | + vlanID: 100 |
| 131 | +- apiVersion: workload.nephio.org/v1alpha1 |
| 132 | + kind: NFDeployment |
| 133 | + metadata: |
| 134 | + name: amf-cluster01 |
| 135 | + annotations: |
| 136 | + specializer.nephio.org/debug: "true" |
| 137 | + spec: |
| 138 | + provider: amf.free5gc.io |
| 139 | + interfaces: |
| 140 | + - name: n2 |
| 141 | + ipv4: |
| 142 | + address: 10.0.0.3/24 |
| 143 | + gateway: 10.0.0.1 |
| 144 | + vlanID: 100 |
| 145 | + networkInstances: |
| 146 | + - name: vpc-ran |
| 147 | + interfaces: |
| 148 | + - n2 |
| 149 | + parametersRefs: |
| 150 | + - name: amf-regional-upf-edge02 |
| 151 | + apiVersion: ref.nephio.org/v1alpha1 |
| 152 | + kind: Config |
| 153 | + capacity: |
| 154 | + maxDownlinkThroughput: "0" |
| 155 | + maxSubscribers: 1000 |
| 156 | + maxUplinkThroughput: "0" |
0 commit comments