Skip to main content

Network CR Example

The following example shows a Network CR that is used to create a network in the cluster.

danger

The sample might not present all the available options. Always refer to the reference for a complete list of options.

apiVersion: athena.trirematics.io/v1
kind: Network
metadata:
labels:
app.kubernetes.io/name: network
app.kubernetes.io/instance: network-sample
app.kubernetes.io/part-of: athena
app.kubernetes.io/managed-by: kustomize
app.kubernetes.io/created-by: athena
name: network-sample
spec:
slices:
- differentiator: 0x000000
dnn: test
ipv4-range: 12.1.1.1 - 12.1.1.128
ipv6-range: 12:1:1:1:1:1:1:1 - 12:1:1:1:1:1:1:128
network-mode: IPv4
plmn: "50501"
service-type: eMBB
access:
- deployment-mode: access-mode
model: access-model
name: access-name
identity:
an-id: 123456789
tracking-area: 1234
radio:
arfcn: 12345
band: n12
bandwidth: 10MHz
device: uhd-b200
offset: 12MHz
antenna:
formation: 2x2
tx-gain: 10
rx-gain: 10
stack: 5g-sa
vendor: vendor
filters:
dnn:
- test
plmn:
- "50501"
ids:
- 0
service-type:
- eMBB
core:
- deployment-mode: core-mode
model: core-model
name: core-name
stack: 5g-nsa
vendor: vendor
identity:
cn-group: 123
cn-id: 12
region: 123
interfaces:
controller: controller@net
an-cp: an-cp@net
an-up: an-up@net
edge:
- deployment-mode: edge-mode
model: edge-model
name: edge-name
stack: 4g
vendor: vendor
identity:
en-id: 123456789
annotations:
sample.io/path: sample
node-labels:
sample.io/label: value
replicas: 3