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

125 lines
3.7 KiB
YAML
Raw Permalink 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-smf
app.kubernetes.io/part-of: test-deployment
name: oai-smf-test
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: oai-smf
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-smf-net
creationTimestamp: null
labels:
io.kompose.network/rfsim5g-oai-public-net: "true"
io.kompose.service: oai-smf
spec:
serviceAccountName: oai-sa
containers:
- env:
- name: AMF_API_VERSION
value: v1
- name: AMF_FQDN
value: oai-amf
- name: AMF_IPV4_ADDRESS
value: 192.168.33.11
- name: AMF_PORT
value: "80"
- name: DEFAULT_DNS_IPV4_ADDRESS
value: 172.21.3.100
- name: DEFAULT_DNS_SEC_IPV4_ADDRESS
value: 4.4.4.4
- name: DISCOVER_UPF
value: "no"
- name: DNN_NI0
value: oai
- name: DNN_RANGE0
value: 12.1.1.2 - 12.1.1.127
- name: INSTANCE
value: "0"
- 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_SD0
value: "0xFFFFFF"
- name: NSSAI_SST0
value: "1"
- name: PID_DIRECTORY
value: /var/run
- name: REGISTER_NRF
value: "no"
- name: SESSION_AMBR_DL0
value: 400Mbps
- name: SESSION_AMBR_UL0
value: 200Mbps
- name: SMF_API_VERSION
value: v1
- name: SMF_INTERFACE_HTTP2_PORT_FOR_SBI
value: "9090"
- name: SMF_INTERFACE_NAME_FOR_N4
value: net1
- name: SMF_INTERFACE_NAME_FOR_SBI
value: net1
- name: SMF_INTERFACE_PORT_FOR_SBI
value: "80"
- name: TYPE0
value: IPv4
- name: TZ
value: Asia/jakarta
- name: UDM_API_VERSION
value: v1
# - name: UPF_FQDN_0
# value: "oai-spgwu"
- name: UPF_IPV4_ADDRESS
value: "192.168.33.15"
- name: USE_FQDN_DNS
value: "no"
- name: USE_FQDN_UPF
value: "no"
# - name: DEFAULT_CSCF_IPV4_ADDRESS
# value: "127.0.0.1"
- name: USE_LOCAL_SUBSCRIPTION_INFO
value: "yes"
- name: USE_NETWORK_INSTANCE
value: "no"
- name: UE_MTU
value: "1500"
image: oaisoftwarealliance/oai-smf:v1.5.0
livenessProbe:
exec:
command:
- /bin/bash -c "/openair-smf/bin/smf-healthcheck.sh"
failureThreshold: 5
periodSeconds: 10
timeoutSeconds: 5
name: rfsim5g-oai-smf
resources: {}
volumeMounts:
- mountPath: /openair-smf/bin/smf-healthcheck.sh
name: oai-smf-claim0
restartPolicy: Always
volumes:
- name: oai-smf-claim0
persistentVolumeClaim:
claimName: oai-smf-claim0
status: {}