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

145 lines
4.2 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-amf
app.kubernetes.io/part-of: test-deployment
name: oai-amf-test
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: oai-amf
strategy:
type: Recreate
template:
metadata:
annotations:
kompose.cmd: kompose convert -f ../docker-compose.yaml
k8s.v1.cni.cncf.io/networks: oai-amf-net, oai-amf-n2-net
kompose.version: 1.26.0 (40646f47)
creationTimestamp: null
labels:
io.kompose.network/rfsim5g-oai-public-net: "true"
io.kompose.service: oai-amf
spec:
serviceAccountName: oai-sa
containers:
- env:
- name: AMF_INTERFACE_NAME_FOR_N11
value: net1
- name: AMF_INTERFACE_NAME_FOR_NGAP
value: net2
- name: AMF_SET_ID
value: "1"
- name: AUSF_API_VERSION
value: v1
- name: AUSF_FQDN
value: localhost
- name: AUSF_IPV4_ADDRESS
value: 0.0.0.0
- name: AUSF_PORT
value: "80"
- name: EXTERNAL_AUSF
value: "no"
- name: INSTANCE
value: "0"
- name: MCC
value: "208"
- name: MNC
value: "99"
- name: MYSQL_DB
value: oai_db
- name: MYSQL_PASS
value: linux
- name: MYSQL_SERVER
value: 192.168.33.16
- name: MYSQL_USER
value: root
- name: NF_REGISTRATION
value: "no"
- name: EXTERNAL_NRF
value: "no"
- name: NRF_API_VERSION
value: v1
- name: NRF_FQDN
value: oai-nrf
- name: NRF_IPV4_ADDRESS
value: 0.0.0.0
- name: NRF_PORT
value: "80"
- name: OPERATOR_KEY
value: c42449363bbad02b66d16bc975d77cc1
- name: PID_DIRECTORY
value: /var/run
- name: PLMN_SUPPORT_MCC
value: "208"
- name: PLMN_SUPPORT_MNC
value: "99"
- name: PLMN_SUPPORT_TAC
value: "0x0001"
- name: REGION_ID
value: "128"
- name: SD_0
value: "0xffffff"
- name: SELECTED_0
value: "true"
- name: SELECTED_1
value: "false"
- name: SERVED_GUAMI_AMF_SET_ID_0
value: "1"
- name: SERVED_GUAMI_AMF_SET_ID_1
value: "1"
- name: SERVED_GUAMI_MCC_0
value: "208"
- name: SERVED_GUAMI_MCC_1
value: "460"
- name: SERVED_GUAMI_MNC_0
value: "99"
- name: SERVED_GUAMI_MNC_1
value: "11"
- name: SERVED_GUAMI_REGION_ID_0
value: "128"
- name: SERVED_GUAMI_REGION_ID_1
value: "10"
- name: USE_FQDN_SMF
value: "no"
- name: SMF_FQDN
value: oai-smf-svc
- name: SMF_FQDN_0
value: oai-smf-svc
- name: SMF_HTTP_VERSION
value: v1
- name: SMF_INSTANCE_ID
value: "0"
- name: SMF_IPV4_ADDR_0
value: "192.168.33.12"
- name: SMF_SELECTION
value: "no"
- name: SST_0
value: "1"
- name: TZ
value: Asia/Jakarta
- name: USE_FQDN_DNS
value: "no"
image: 'oaisoftwarealliance/oai-amf:latest'
livenessProbe:
exec:
command:
- /bin/bash -c "/openair-amf/bin/amf-healthcheck.sh"
failureThreshold: 5
periodSeconds: 10
timeoutSeconds: 15
name: rfsim5g-oai-amf
resources: {}
restartPolicy: Always
volumes:
- name: oai-amf-claim0
persistentVolumeClaim:
claimName: oai-amf-claim0
status: {}