Update April

This commit is contained in:
infidel
2023-04-16 13:59:21 +07:00
parent cc1a8ad5a9
commit 44d49bb87b
181 changed files with 6547 additions and 350 deletions

View File

@@ -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":"Deployment","name":"oai-amf"},{"apiVersion":"apps/v1","kind":"Deployment","name":"oai-amf"}]'
name: oai-cu-02
generation: 28
namespace: infidel-test
labels:
app: oai-cu-02
app.kubernetes.io/part-of: trainee-02
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-cu
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-02
template:
metadata:
creationTimestamp: null
labels:
app: oai-inf-cu-sa
app.kubernetes.io/part-of: trainee-02
creationTimestamp: null
annotations:
k8s.v1.cni.cncf.io/networks: oai-cu-amf-02-net,oai-cu-du-02-net
k8s.v1.cni.cncf.io/networks: 'oai-cu-amf-02-net,oai-cu-du-02-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-cu
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