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

65 lines
1.8 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-nrf
app.kubernetes.io/part-of: test-deployment
name: oai-nrf-test
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: oai-nrf
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-nrf-net
creationTimestamp: null
labels:
io.kompose.network/rfsim5g-oai-public-net: "true"
io.kompose.network/oai-nrf-net: "true"
io.kompose.service: oai-nrf
spec:
serviceAccountName: oai-sa
containers:
- env:
- name: INSTANCE
value: "0"
- name: NRF_API_VERSION
value: v1
- name: NRF_INTERFACE_HTTP2_PORT_FOR_SBI
value: "9090"
- name: NRF_INTERFACE_NAME_FOR_SBI
value: net1
- name: NRF_INTERFACE_PORT_FOR_SBI
value: "80"
- name: PID_DIRECTORY
value: /var/run
image: oaisoftwarealliance/oai-nrf:latest
livenessProbe:
exec:
command:
- /bin/bash -c "/openair-nrf/bin/nrf-healthcheck.sh"
failureThreshold: 5
periodSeconds: 10
timeoutSeconds: 5
name: rfsim5g-oai-nrf
resources: {}
volumeMounts:
- mountPath: /openair-nrf/bin/nrf-healthcheck.sh
name: oai-nrf-claim0
restartPolicy: Always
volumes:
- name: oai-nrf-claim0
persistentVolumeClaim:
claimName: oai-nrf-claim0
status: {}