oai-openshift-cli-admin/deployments/CoreNetwork/basic-no-nrf/oai-spgwu-deployment.yaml

95 lines
2.7 KiB
YAML
Raw Normal View History

2023-03-14 04:32:53 -04:00
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
kompose.cmd: kompose convert -f ./docker-compose-basic-nonrf.yaml
kompose.version: 1.26.0 (40646f47)
creationTimestamp: null
labels:
io.kompose.service: oai-spgwu
app.kubernetes.io/part-of: CN-noNRF
name: oai-spgwu
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: oai-spgwu
strategy: {}
template:
metadata:
annotations:
kompose.cmd: kompose convert -f ./docker-compose-basic-nonrf.yaml
kompose.version: 1.26.0 (40646f47)
k8s.v1.cni.cncf.io/networks: oai-upf-net, oai-upf-n3-net
creationTimestamp: null
labels:
io.kompose.network/demo-oai-public-net: "true"
io.kompose.service: oai-spgwu
spec:
serviceAccountName: oai-sa
containers:
- env:
- name: MCC
value: "208"
- name: MNC
value: "99"
- name: BYPASS_UL_PFCP_RULES
value: "no"
- name: DNN_0
value: oai
- name: DNN_1
value: oai.ipv4
- name: DNN_2
value: default
- name: ENABLE_5G_FEATURES
value: "yes"
- name: NETWORK_UE_IP
value: 12.1.1.0/24
- name: NETWORK_UE_NAT_OPTION
value: "yes"
- name: NSSAI_SD_0
value: "0xffffff"
- name: NSSAI_SD_1
value: "1"
- name: NSSAI_SD_2
value: "123"
- name: NSSAI_SST_0
value: "1"
- name: NSSAI_SST_1
value: "1"
- name: NSSAI_SST_2
value: "222"
- name: PGW_INTERFACE_NAME_FOR_SGI
value: net1
- name: REGISTER_NRF
value: "no"
- name: SGW_INTERFACE_NAME_FOR_S1U_S12_S4_UP
value: net2
- name: SGW_INTERFACE_NAME_FOR_SX
value: net1
- name: TZ
value: Europe/Paris
- name: UPF_FQDN_5G
value: oai-spgwu-tiny
- name: USE_FQDN_NRF
value: "no"
- name: NRF_FQDN
value: oai-nrf
- name: NRF_IPV4_ADDRESS
value: 0.0.0.0
- name: SPGWC0_IP_ADDRESS
value: 192.168.34.10
image: oaisoftwarealliance/oai-spgwu-tiny:v1.5.0
name: oai-spgwu
resources: {}
securityContext:
capabilities:
add:
- NET_ADMIN
- SYS_ADMIN
drop:
- ALL
privileged: true
restartPolicy: Always
status: {}