chore(ci): update build configs for new openshift cluster
Signed-off-by: Sagar Arora <sagar.arora@openairinterface.org>
This commit is contained in:
+3
-3
@@ -49,11 +49,11 @@ will need `etc-pki-entitlement` inside the container image.
|
||||
To import `etc-pki-entitlement` in your project follow this
|
||||
[guide](https://docs.openshift.com/container-platform/4.14/cicd/builds/running-entitled-builds.html#builds-source-secrets-entitlements_running-entitled-builds)
|
||||
|
||||
In case you have difficulties in following it then you can copy the
|
||||
certificates from an RHEL9 host
|
||||
You can do it as a kubeadmin/system admin user or you should have the rights
|
||||
to read secrets from `openshift-config-managed` project
|
||||
|
||||
```bash
|
||||
oc create secret generic etc-pki-entitlement --from-file /etc/pki/entitlement/{NUMBER_ON_YOUR_COMPUTER}.pem --from-file /etc/pki/entitlement/{NUMBER_ON_YOUR_COMPUTER}-key.pem
|
||||
oc get secret etc-pki-entitlement -n openshift-config-managed -o json | jq 'del(.metadata.resourceVersion)' | jq 'del(.metadata.creationTimestamp)' | jq 'del(.metadata.uid)' | jq 'del(.metadata.namespace)' | oc create -f -
|
||||
```
|
||||
|
||||
# 2. Build of `base` shared image
|
||||
|
||||
@@ -19,15 +19,16 @@
|
||||
# * contact@openairinterface.org
|
||||
# */
|
||||
#---------------------------------------------------------------------
|
||||
|
||||
## Resource consumption 3Gi, 5CPU
|
||||
kind: BuildConfig
|
||||
apiVersion: build.openshift.io/v1
|
||||
metadata:
|
||||
name: "oai-clang"
|
||||
namespace: "oaicicd-ran"
|
||||
spec:
|
||||
runPolicy: "Serial"
|
||||
nodeSelector:
|
||||
kubernetes.io/hostname: demophon
|
||||
node-role.kubernetes.io/fhi72-intel3: ""
|
||||
runPolicy: "Serial"
|
||||
source:
|
||||
type: "Binary"
|
||||
strategy:
|
||||
|
||||
@@ -25,6 +25,15 @@ apiVersion: build.openshift.io/v1
|
||||
metadata:
|
||||
name: "oai-enb"
|
||||
spec:
|
||||
resources:
|
||||
limits:
|
||||
cpu: 2
|
||||
memory: 2Gi
|
||||
requests:
|
||||
cpu: 0.5
|
||||
memory: 1Gi
|
||||
nodeSelector:
|
||||
node-role.kubernetes.io/ran-build: ""
|
||||
runPolicy: "Serial"
|
||||
source:
|
||||
type: "Binary"
|
||||
|
||||
@@ -24,7 +24,17 @@ kind: BuildConfig
|
||||
apiVersion: build.openshift.io/v1
|
||||
metadata:
|
||||
name: "oai-gnb-aw2s"
|
||||
namespace: "oaicicd-ran"
|
||||
spec:
|
||||
resources:
|
||||
limits:
|
||||
cpu: 2
|
||||
memory: 2Gi
|
||||
requests:
|
||||
cpu: 0.5
|
||||
memory: 1Gi
|
||||
nodeSelector:
|
||||
node-role.kubernetes.io/fhi72: ""
|
||||
runPolicy: "Serial"
|
||||
source:
|
||||
type: "Binary"
|
||||
|
||||
@@ -24,7 +24,17 @@ kind: BuildConfig
|
||||
apiVersion: build.openshift.io/v1
|
||||
metadata:
|
||||
name: "oai-gnb"
|
||||
namespace: "oaicicd-ran"
|
||||
spec:
|
||||
resources:
|
||||
limits:
|
||||
cpu: 2
|
||||
memory: 2Gi
|
||||
requests:
|
||||
cpu: 0.5
|
||||
memory: 1Gi
|
||||
nodeSelector:
|
||||
node-role.kubernetes.io/ran-build: ""
|
||||
runPolicy: "Serial"
|
||||
source:
|
||||
type: "Binary"
|
||||
|
||||
@@ -24,7 +24,17 @@ kind: BuildConfig
|
||||
apiVersion: build.openshift.io/v1
|
||||
metadata:
|
||||
name: "oai-gnb-fhi72"
|
||||
namespace: "oaicicd-ran"
|
||||
spec:
|
||||
resources:
|
||||
limits:
|
||||
cpu: 2
|
||||
memory: 2Gi
|
||||
requests:
|
||||
cpu: 0.5
|
||||
memory: 1Gi
|
||||
nodeSelector:
|
||||
node-role.kubernetes.io/fhi72: ""
|
||||
runPolicy: "Serial"
|
||||
source:
|
||||
type: "Binary"
|
||||
|
||||
@@ -24,7 +24,17 @@ kind: BuildConfig
|
||||
apiVersion: build.openshift.io/v1
|
||||
metadata:
|
||||
name: "oai-lte-ue"
|
||||
namespace: "oaicicd-ran"
|
||||
spec:
|
||||
resources:
|
||||
limits:
|
||||
cpu: 2
|
||||
memory: 2Gi
|
||||
requests:
|
||||
cpu: 0.5
|
||||
memory: 1Gi
|
||||
nodeSelector:
|
||||
node-role.kubernetes.io/ran-base: ""
|
||||
runPolicy: "Serial"
|
||||
source:
|
||||
type: "Binary"
|
||||
|
||||
@@ -25,6 +25,15 @@ apiVersion: build.openshift.io/v1
|
||||
metadata:
|
||||
name: "oai-nr-cuup"
|
||||
spec:
|
||||
resources:
|
||||
limits:
|
||||
cpu: 1
|
||||
memory: 2Gi
|
||||
requests:
|
||||
cpu: 0.5
|
||||
memory: 1Gi
|
||||
nodeSelector:
|
||||
node-role.kubernetes.io/ran-build: ""
|
||||
runPolicy: "Serial"
|
||||
source:
|
||||
type: "Binary"
|
||||
|
||||
@@ -24,7 +24,17 @@ kind: BuildConfig
|
||||
apiVersion: build.openshift.io/v1
|
||||
metadata:
|
||||
name: "oai-nr-ue"
|
||||
namespace: "oaicicd-ran"
|
||||
spec:
|
||||
resources:
|
||||
limits:
|
||||
cpu: 2
|
||||
memory: 2Gi
|
||||
requests:
|
||||
cpu: 0.5
|
||||
memory: 1Gi
|
||||
nodeSelector:
|
||||
node-role.kubernetes.io/fhi72-intel3: ""
|
||||
runPolicy: "Serial"
|
||||
source:
|
||||
type: "Binary"
|
||||
|
||||
@@ -19,15 +19,17 @@
|
||||
# * contact@openairinterface.org
|
||||
# */
|
||||
#---------------------------------------------------------------------
|
||||
### Resource consumption 12Gi, 19CPU (SMT ENABLED)
|
||||
|
||||
kind: BuildConfig
|
||||
apiVersion: build.openshift.io/v1
|
||||
metadata:
|
||||
name: "oai-physim"
|
||||
namespace: "oaicicd-ran"
|
||||
spec:
|
||||
runPolicy: "Serial"
|
||||
nodeSelector:
|
||||
kubernetes.io/hostname: demophon
|
||||
node-role.kubernetes.io/ran-base: ""
|
||||
source:
|
||||
type: "Binary"
|
||||
strategy:
|
||||
|
||||
@@ -20,14 +20,16 @@
|
||||
# */
|
||||
#---------------------------------------------------------------------
|
||||
#
|
||||
### Resource consumption 16Gi, 10CPU
|
||||
kind: BuildConfig
|
||||
apiVersion: build.openshift.io/v1
|
||||
metadata:
|
||||
name: "ran-base"
|
||||
namespace: "oaicicd-ran"
|
||||
spec:
|
||||
runPolicy: "Serial"
|
||||
nodeSelector:
|
||||
kubernetes.io/hostname: acamas
|
||||
node-role.kubernetes.io/ran-base: ""
|
||||
source:
|
||||
type: "Binary"
|
||||
secrets:
|
||||
|
||||
@@ -20,14 +20,16 @@
|
||||
# */
|
||||
#---------------------------------------------------------------------
|
||||
#
|
||||
### Resource consumption 2.5Gi, 17CPU (SMT ENABLED)
|
||||
kind: BuildConfig
|
||||
apiVersion: build.openshift.io/v1
|
||||
metadata:
|
||||
name: "ran-build"
|
||||
namespace: "oaicicd-ran"
|
||||
spec:
|
||||
runPolicy: "Serial"
|
||||
nodeSelector:
|
||||
kubernetes.io/hostname: acamas
|
||||
node-role.kubernetes.io/ran-build: ""
|
||||
source:
|
||||
type: "Binary"
|
||||
strategy:
|
||||
|
||||
@@ -20,14 +20,16 @@
|
||||
# */
|
||||
#---------------------------------------------------------------------
|
||||
#
|
||||
### Resource consumption 5Gi, 9CPU
|
||||
kind: BuildConfig
|
||||
apiVersion: build.openshift.io/v1
|
||||
metadata:
|
||||
name: "ran-build-fhi72"
|
||||
namespace: "oaicicd-ran"
|
||||
spec:
|
||||
runPolicy: "Serial"
|
||||
nodeSelector:
|
||||
kubernetes.io/hostname: demophon
|
||||
node-role.kubernetes.io/fhi72: ""
|
||||
source:
|
||||
type: "Binary"
|
||||
strategy:
|
||||
|
||||
Reference in New Issue
Block a user