Update April
This commit is contained in:
@@ -1,67 +1,36 @@
|
||||
kind: DeploymentConfig
|
||||
apiVersion: apps.openshift.io/v1
|
||||
kind: Deployment
|
||||
apiVersion: apps/v1
|
||||
metadata:
|
||||
annotations:
|
||||
app.openshift.io/connects-to: '[{"apiVersion":"apps.openshift.io/v1","kind":"DeploymentConfig","name":"oai-cu-01"},{"apiVersion":"apps/v1","kind":"DeploymentConfig","name":"oai-cu-01"}]'
|
||||
name: oai-du-01
|
||||
generation: 28
|
||||
namespace: infidel-test
|
||||
labels:
|
||||
app: oai-du-01
|
||||
app.kubernetes.io/part-of: trainee-01
|
||||
spec:
|
||||
strategy:
|
||||
type: Rolling
|
||||
rollingParams:
|
||||
updatePeriodSeconds: 1
|
||||
intervalSeconds: 1
|
||||
timeoutSeconds: 600
|
||||
maxUnavailable: 0
|
||||
maxSurge: 1
|
||||
resources: {}
|
||||
activeDeadlineSeconds: 21600
|
||||
triggers:
|
||||
- type: ImageChange
|
||||
imageChangeParams:
|
||||
automatic: true
|
||||
containerNames:
|
||||
- inf-du
|
||||
from:
|
||||
kind: ImageStreamTag
|
||||
namespace: infidel-test
|
||||
name: 'oai-gnb-official:2023.w05'
|
||||
- type: ConfigChange
|
||||
replicas: 1
|
||||
revisionHistoryLimit: 10
|
||||
test: false
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/part-of: trainee-01
|
||||
template:
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
app: oai-inf-du-sa
|
||||
app.kubernetes.io/part-of: trainee-01
|
||||
creationTimestamp: null
|
||||
annotations:
|
||||
k8s.v1.cni.cncf.io/networks: oai-du-cu-01-net
|
||||
k8s.v1.cni.cncf.io/networks: 'oai-du-cu-01-net'
|
||||
kompose.cmd: kompose convert -f ../docker-compose.yaml
|
||||
spec:
|
||||
restartPolicy: Always
|
||||
serviceAccountName: oai-sa
|
||||
schedulerName: default-scheduler
|
||||
terminationGracePeriodSeconds: 30
|
||||
securityContext: {}
|
||||
nodeSelector:
|
||||
kubernetes.io/hostname: ocp-w-3.lab.ocp.lan
|
||||
containers:
|
||||
- name: inf-du
|
||||
resources: {}
|
||||
volumeMounts:
|
||||
- name: dev-tun
|
||||
readOnly: true
|
||||
mountPath: /dev/net/tun
|
||||
terminationMessagePath: /dev/termination-log
|
||||
terminationMessagePolicy: File
|
||||
imagePullPolicy: Always
|
||||
securityContext:
|
||||
add:
|
||||
- SYS_ADMIN
|
||||
- NET_ADMIN
|
||||
privileged: true
|
||||
env:
|
||||
- name: RFSIMULATOR
|
||||
value: server
|
||||
@@ -105,6 +74,15 @@ spec:
|
||||
value: "2153"
|
||||
- name: USE_ADDITIONAL_OPTIONS
|
||||
value: --sa --rfsim --log_config.global_log_options level,nocolor,time
|
||||
securityContext:
|
||||
privileged: true
|
||||
imagePullPolicy: IfNotPresent
|
||||
volumeMounts:
|
||||
- name: dev-tun
|
||||
readOnly: true
|
||||
mountPath: /dev/net/tun
|
||||
terminationMessagePolicy: File
|
||||
image: '192.168.22.1:5000/oai-gnb'
|
||||
serviceAccount: oai-sa
|
||||
volumes:
|
||||
- name: dev-tun
|
||||
@@ -112,4 +90,10 @@ spec:
|
||||
path: /dev/net/tun
|
||||
type: ''
|
||||
dnsPolicy: ClusterFirst
|
||||
|
||||
strategy:
|
||||
type: RollingUpdate
|
||||
rollingUpdate:
|
||||
maxUnavailable: 25%
|
||||
maxSurge: 25%
|
||||
revisionHistoryLimit: 10
|
||||
progressDeadlineSeconds: 600
|
||||
|
||||
Reference in New Issue
Block a user