Initial commit
This commit is contained in:
56
oai-master/5gc-deployment.yaml
Normal file
56
oai-master/5gc-deployment.yaml
Normal file
@@ -0,0 +1,56 @@
|
||||
apiVersion: apps.openshift.io/v1
|
||||
kind: DeploymentConfig
|
||||
metadata:
|
||||
name: oai-inf-core-sa
|
||||
labels:
|
||||
app: oai-inf-core-sa
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
app: oai-inf-core-sa
|
||||
strategy:
|
||||
type: Rolling
|
||||
rollingParams:
|
||||
intervalSeconds: 1
|
||||
updatePeriodSeconds: 1
|
||||
maxUnavailable: 0
|
||||
maxSurge: 1
|
||||
minReadySeconds: 30
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: oai-inf-core-sa
|
||||
annotations:
|
||||
k8s.v1.cni.cncf.io/networks: oai-core-net
|
||||
spec:
|
||||
securityContextConstraints:
|
||||
- name: privileged
|
||||
- name: oai-scc
|
||||
serviceAccountName: oai-sa
|
||||
containers:
|
||||
- name: inf-core
|
||||
image: image-registry.openshift-image-registry.svc:5000/infidel-test/oai-image-core
|
||||
securityContext:
|
||||
privileged: true
|
||||
capabilities:
|
||||
add: ["SYS_ADMIN"]
|
||||
volumeMounts:
|
||||
- mountPath: /dev/net/tun
|
||||
readOnly: true
|
||||
name: dev-tun
|
||||
volumes:
|
||||
- name: dev-tun
|
||||
hostPath:
|
||||
path: /dev/net/tun
|
||||
triggers:
|
||||
- type: ConfigChange
|
||||
- type: ImageChange
|
||||
imageChangeParams:
|
||||
automatic: true
|
||||
containerNames:
|
||||
- oai-inf-core-sa
|
||||
from:
|
||||
kind: ImageStreamTag
|
||||
name: oai-image-core:latest
|
||||
namespace: infidel-test
|
||||
|
||||
57
oai-master/cu-deployment.yaml
Normal file
57
oai-master/cu-deployment.yaml
Normal file
@@ -0,0 +1,57 @@
|
||||
apiVersion: apps.openshift.io/v1
|
||||
kind: DeploymentConfig
|
||||
metadata:
|
||||
name: oai-inf-cu-sa
|
||||
labels:
|
||||
app: oai-inf-cu-sa
|
||||
spec:
|
||||
replicas: 3
|
||||
selector:
|
||||
app: oai-inf-cu-sa
|
||||
strategy:
|
||||
type: Rolling
|
||||
rollingParams:
|
||||
intervalSeconds: 1
|
||||
updatePeriodSeconds: 1
|
||||
maxUnavailable: 0
|
||||
maxSurge: 1
|
||||
minReadySeconds: 30
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: oai-inf-cu-sa
|
||||
annotations:
|
||||
k8s.v1.cni.cncf.io/networks: oai-cu-net
|
||||
spec:
|
||||
securityContextConstraints:
|
||||
- name: privileged
|
||||
- name: oai-scc
|
||||
|
||||
serviceAccountName: oai-sa
|
||||
containers:
|
||||
- name: inf-cu
|
||||
image: image-registry.openshift-image-registry.svc:5000/infidel-test/oai-image-du
|
||||
securityContext:
|
||||
privileged: true
|
||||
capabilities:
|
||||
add: ["SYS_ADMIN"]
|
||||
volumeMounts:
|
||||
- mountPath: /dev/net/tun
|
||||
readOnly: true
|
||||
name: dev-tun
|
||||
volumes:
|
||||
- name: dev-tun
|
||||
hostPath:
|
||||
path: /dev/net/tun
|
||||
triggers:
|
||||
- type: ConfigChange
|
||||
- type: ImageChange
|
||||
imageChangeParams:
|
||||
automatic: true
|
||||
containerNames:
|
||||
- oai-inf-cu-sa
|
||||
from:
|
||||
kind: ImageStreamTag
|
||||
name: oai-image-du:latest
|
||||
namespace: infidel-test
|
||||
|
||||
65
oai-master/deployment.yaml
Normal file
65
oai-master/deployment.yaml
Normal file
@@ -0,0 +1,65 @@
|
||||
apiVersion: apps.openshift.io/v1
|
||||
kind: DeploymentConfig
|
||||
metadata:
|
||||
name: oai-inf-deployment-6
|
||||
labels:
|
||||
app: oai-inf-deployment-6
|
||||
spec:
|
||||
replicas: 3
|
||||
selector:
|
||||
app: oai-inf-deployment-6
|
||||
strategy:
|
||||
type: Rolling
|
||||
rollingParams:
|
||||
intervalSeconds: 1
|
||||
updatePeriodSeconds: 1
|
||||
maxUnavailable: 0
|
||||
maxSurge: 1
|
||||
minReadySeconds: 30
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: oai-inf-deployment-6
|
||||
spec:
|
||||
securityContextConstraints:
|
||||
- name: privileged
|
||||
- name: oai-scc
|
||||
|
||||
serviceAccountName: oai-sa
|
||||
containers:
|
||||
- name: cunt-cunt-tun
|
||||
image: image-registry.openshift-image-registry.svc:5000/infidel-test/oai-inf-cu-6
|
||||
securityContext:
|
||||
privileged: true
|
||||
capabilities:
|
||||
add: ["SYS_ADMIN"]
|
||||
volumeMounts:
|
||||
- mountPath: /dev/net/tun
|
||||
readOnly: true
|
||||
name: dev-tun
|
||||
- name: cunt-cunt-tun
|
||||
image: image-registry.openshift-image-registry.svc:5000/infidel-test/oai-du
|
||||
securityContext:
|
||||
privileged: true
|
||||
capabilities:
|
||||
add: ["SYS_ADMIN"]
|
||||
volumeMounts:
|
||||
- mountPath: /dev/net/tun
|
||||
readOnly: true
|
||||
name: dev-tun
|
||||
volumes:
|
||||
- name: dev-tun
|
||||
hostPath:
|
||||
path: /dev/net/tun
|
||||
triggers:
|
||||
- type: ConfigChange
|
||||
- type: ImageChange
|
||||
imageChangeParams:
|
||||
automatic: true
|
||||
containerNames:
|
||||
- oai-inf-deployment-6
|
||||
from:
|
||||
kind: ImageStreamTag
|
||||
name: oai-inf:latest
|
||||
namespace: infidel-test
|
||||
|
||||
57
oai-master/du-deployment.yaml
Normal file
57
oai-master/du-deployment.yaml
Normal file
@@ -0,0 +1,57 @@
|
||||
apiVersion: apps.openshift.io/v1
|
||||
kind: DeploymentConfig
|
||||
metadata:
|
||||
name: oai-inf-du-sa
|
||||
labels:
|
||||
app: oai-inf-du-sa
|
||||
spec:
|
||||
replicas: 3
|
||||
selector:
|
||||
app: oai-inf-du-sa
|
||||
strategy:
|
||||
type: Rolling
|
||||
rollingParams:
|
||||
intervalSeconds: 1
|
||||
updatePeriodSeconds: 1
|
||||
maxUnavailable: 0
|
||||
maxSurge: 1
|
||||
minReadySeconds: 30
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: oai-inf-du-sa
|
||||
annotations:
|
||||
k8s.v1.cni.cncf.io/networks: oai-du-net
|
||||
spec:
|
||||
securityContextConstraints:
|
||||
- name: privileged
|
||||
- name: oai-scc
|
||||
|
||||
serviceAccountName: oai-sa
|
||||
containers:
|
||||
- name: inf-cu
|
||||
image: image-registry.openshift-image-registry.svc:5000/infidel-test/oai-image-du
|
||||
securityContext:
|
||||
privileged: true
|
||||
capabilities:
|
||||
add: ["SYS_ADMIN"]
|
||||
volumeMounts:
|
||||
- mountPath: /dev/net/tun
|
||||
readOnly: true
|
||||
name: dev-tun
|
||||
volumes:
|
||||
- name: dev-tun
|
||||
hostPath:
|
||||
path: /dev/net/tun
|
||||
triggers:
|
||||
- type: ConfigChange
|
||||
- type: ImageChange
|
||||
imageChangeParams:
|
||||
automatic: true
|
||||
containerNames:
|
||||
- oai-inf-du-sa
|
||||
from:
|
||||
kind: ImageStreamTag
|
||||
name: oai-image-du:latest
|
||||
namespace: infidel-test
|
||||
|
||||
10
oai-master/oai-net-core.yaml
Normal file
10
oai-master/oai-net-core.yaml
Normal file
@@ -0,0 +1,10 @@
|
||||
apiVersion: k8s.cni.cncf.io/v1
|
||||
kind: NetworkAttachmentDefinition
|
||||
metadata:
|
||||
name: oai-cu-net
|
||||
namespace: infidel-test
|
||||
spec:
|
||||
config: '{ "cniVersion": "0.3.1", "name": "oai-cu-net", "type": "macvlan",
|
||||
"master": "enp7s0", "ipam": { "type": "static", "addresses": [ { "address": "192.168.12.14/24"
|
||||
} ] } }'
|
||||
|
||||
10
oai-master/oai-net-cu.yaml
Normal file
10
oai-master/oai-net-cu.yaml
Normal file
@@ -0,0 +1,10 @@
|
||||
apiVersion: k8s.cni.cncf.io/v1
|
||||
kind: NetworkAttachmentDefinition
|
||||
metadata:
|
||||
name: oai-cu-net
|
||||
namespace: infidel-test
|
||||
spec:
|
||||
config: '{ "cniVersion": "0.3.1", "name": "oai-cu-net", "type": "macvlan",
|
||||
"master": "enp7s0", "ipam": { "type": "static", "addresses": [ { "address": "192.168.12.14/24"
|
||||
} ] } }'
|
||||
|
||||
11
oai-master/oai-net-du.yaml
Normal file
11
oai-master/oai-net-du.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
apiVersion: k8s.cni.cncf.io/v1
|
||||
kind: NetworkAttachmentDefinition
|
||||
metadata:
|
||||
name: oai-du-net
|
||||
namespace: infidel-test
|
||||
spec:
|
||||
config: '{ "cniVersion": "0.3.1", "name": "oai-cu-net", "type": "macvlan",
|
||||
"master": "enp7s0", "ipam": { "type": "static", "addresses": [ { "address": "192.168.12.13/24"
|
||||
} ] } }'
|
||||
|
||||
|
||||
21
oai-master/pod.yaml
Normal file
21
oai-master/pod.yaml
Normal file
@@ -0,0 +1,21 @@
|
||||
apiVersion: v1
|
||||
kind: Pod
|
||||
metadata:
|
||||
name: enb-cu-cunt-4
|
||||
spec:
|
||||
serviceAccountName: oai-sa
|
||||
containers:
|
||||
- name: cunt-cunt-tun
|
||||
image: image-registry.openshift-image-registry.svc:5000/infidel-test/oai-enb-cu
|
||||
securityContext:
|
||||
privileged: true
|
||||
capabilities:
|
||||
add: ["NET_ADMIN"]
|
||||
volumeMounts:
|
||||
- mountPath: /dev/net/tun
|
||||
readOnly: true
|
||||
name: dev-tun
|
||||
volumes:
|
||||
- name: dev-tun
|
||||
hostPath:
|
||||
path: /dev/net/tun
|
||||
Reference in New Issue
Block a user