oai-openshift-cli-admin/deployments/CoreNetwork/default/oai-spgwu-deployment.yaml

112 lines
3.3 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.yaml
kompose.version: 1.26.0 (40646f47)
creationTimestamp: null
labels:
io.kompose.service: oai-spgwu
app.kubernetes.io/part-of: test-deployment
name: oai-spgwu-test
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: oai-spgwu
strategy:
type: Recreate
template:
metadata:
annotations:
kompose.cmd: kompose convert -f ../docker-compose.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/rfsim5g-oai-public-net: "true"
io.kompose.network/rfsim5g-oai-traffic-net: "true"
io.kompose.service: oai-spgwu
spec:
serviceAccountName: oai-sa
containers:
- env:
- name: BYPASS_UL_PFCP_RULES
value: "no"
- name: DNN_0
value: oai
- name: ENABLE_5G_FEATURES
value: "yes"
- name: GTP_EXTENSION_HEADER_PRESENT
value: "yes"
- name: GW_ID
value: "1"
- name: MCC
value: "208"
- name: MNC
value: "99"
- name: MNC03
value: "099"
- name: NETWORK_UE_IP
value: 12.1.1.0/24
- name: NETWORK_UE_NAT_OPTION
value: "yes"
- name: NRF_API_VERSION
value: v1
- name: NRF_FQDN
value: oai-nrf
- name: NRF_IPV4_ADDRESS
value: 192.168.33.14
- name: NRF_PORT
value: "80"
- name: NSSAI_SD_0
value: "0xffffff"
- name: NSSAI_SST_0
value: "1"
- name: PGW_INTERFACE_NAME_FOR_SGI
value: net1
- name: PID_DIRECTORY
value: /var/run
- name: REALM
value: openairinterface.org
- 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: SPGWC0_IP_ADDRESS
# value: 192.168.33.12
- name: TAC
value: "1"
- name: TZ
value: Europe/Paris
# - name: UPF_FQDN_5G
# value: oai-spgwu
- name: USE_FQDN_NRF
value: "no"
image: oaisoftwarealliance/oai-spgwu-tiny:v1.5.0
livenessProbe:
exec:
command:
- /bin/bash -c "/openair-spgwu-tiny/bin/spgwu-healthcheck.sh"
failureThreshold: 5
periodSeconds: 10
timeoutSeconds: 5
name: rfsim5g-oai-spgwu
resources: {}
securityContext:
capabilities:
add:
- SYS_ADMIN
- NET_ADMIN
drop:
- ALL
privileged: true
restartPolicy: Always
volumes:
- name: oai-spgwu-claim0
persistentVolumeClaim:
claimName: oai-spgwu-claim0
status: {}