Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
littleBu
OpenXG-RAN
Commits
75f6f3ca
Commit
75f6f3ca
authored
Jan 16, 2025
by
Sagar Arora
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore(ci): update build configs for new openshift cluster
Signed-off-by:
Sagar Arora
<
sagar.arora@openairinterface.org
>
parent
50f2c2a3
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
87 additions
and
10 deletions
+87
-10
openshift/README.md
openshift/README.md
+3
-3
openshift/oai-clang-bc.yaml
openshift/oai-clang-bc.yaml
+4
-3
openshift/oai-enb-bc.yaml
openshift/oai-enb-bc.yaml
+9
-0
openshift/oai-gnb-aw2s-bc.yaml
openshift/oai-gnb-aw2s-bc.yaml
+10
-0
openshift/oai-gnb-bc.yaml
openshift/oai-gnb-bc.yaml
+10
-0
openshift/oai-gnb-fhi72-bc.yaml
openshift/oai-gnb-fhi72-bc.yaml
+10
-0
openshift/oai-lte-ue-bc.yaml
openshift/oai-lte-ue-bc.yaml
+10
-0
openshift/oai-nr-cuup-bc.yaml
openshift/oai-nr-cuup-bc.yaml
+9
-0
openshift/oai-nr-ue-bc.yaml
openshift/oai-nr-ue-bc.yaml
+10
-0
openshift/oai-physim-bc.yaml
openshift/oai-physim-bc.yaml
+3
-1
openshift/ran-base-bc.yaml
openshift/ran-base-bc.yaml
+3
-1
openshift/ran-build-bc.yaml
openshift/ran-build-bc.yaml
+3
-1
openshift/ran-build-fhi72-bc.yaml
openshift/ran-build-fhi72-bc.yaml
+3
-1
No files found.
openshift/README.md
View file @
75f6f3ca
...
@@ -49,11 +49,11 @@ will need `etc-pki-entitlement` inside the container image.
...
@@ -49,11 +49,11 @@ will need `etc-pki-entitlement` inside the container image.
To import
`etc-pki-entitlement`
in your project follow this
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
)
[
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
You can do it as a kubeadmin/system admin user or you should have the rights
certificates from an RHEL9 hos
t
to read secrets from
`openshift-config-managed`
projec
t
```
bash
```
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
# 2. Build of `base` shared image
...
...
openshift/oai-clang-bc.yaml
View file @
75f6f3ca
...
@@ -19,15 +19,16 @@
...
@@ -19,15 +19,16 @@
# * contact@openairinterface.org
# * contact@openairinterface.org
# */
# */
#---------------------------------------------------------------------
#---------------------------------------------------------------------
## Resource consumption 3Gi, 5CPU
kind
:
BuildConfig
kind
:
BuildConfig
apiVersion
:
build.openshift.io/v1
apiVersion
:
build.openshift.io/v1
metadata
:
metadata
:
name
:
"
oai-clang"
name
:
"
oai-clang"
namespace
:
"
oaicicd-ran"
spec
:
spec
:
runPolicy
:
"
Serial"
nodeSelector
:
nodeSelector
:
kubernetes.io/hostname
:
demophon
node-role.kubernetes.io/fhi72-intel3
:
"
"
runPolicy
:
"
Serial"
source
:
source
:
type
:
"
Binary"
type
:
"
Binary"
strategy
:
strategy
:
...
...
openshift/oai-enb-bc.yaml
View file @
75f6f3ca
...
@@ -25,6 +25,15 @@ apiVersion: build.openshift.io/v1
...
@@ -25,6 +25,15 @@ apiVersion: build.openshift.io/v1
metadata
:
metadata
:
name
:
"
oai-enb"
name
:
"
oai-enb"
spec
:
spec
:
resources
:
limits
:
cpu
:
2
memory
:
2Gi
requests
:
cpu
:
0.5
memory
:
1Gi
nodeSelector
:
node-role.kubernetes.io/ran-build
:
"
"
runPolicy
:
"
Serial"
runPolicy
:
"
Serial"
source
:
source
:
type
:
"
Binary"
type
:
"
Binary"
...
...
openshift/oai-gnb-aw2s-bc.yaml
View file @
75f6f3ca
...
@@ -24,7 +24,17 @@ kind: BuildConfig
...
@@ -24,7 +24,17 @@ kind: BuildConfig
apiVersion
:
build.openshift.io/v1
apiVersion
:
build.openshift.io/v1
metadata
:
metadata
:
name
:
"
oai-gnb-aw2s"
name
:
"
oai-gnb-aw2s"
namespace
:
"
oaicicd-ran"
spec
:
spec
:
resources
:
limits
:
cpu
:
2
memory
:
2Gi
requests
:
cpu
:
0.5
memory
:
1Gi
nodeSelector
:
node-role.kubernetes.io/fhi72
:
"
"
runPolicy
:
"
Serial"
runPolicy
:
"
Serial"
source
:
source
:
type
:
"
Binary"
type
:
"
Binary"
...
...
openshift/oai-gnb-bc.yaml
View file @
75f6f3ca
...
@@ -24,7 +24,17 @@ kind: BuildConfig
...
@@ -24,7 +24,17 @@ kind: BuildConfig
apiVersion
:
build.openshift.io/v1
apiVersion
:
build.openshift.io/v1
metadata
:
metadata
:
name
:
"
oai-gnb"
name
:
"
oai-gnb"
namespace
:
"
oaicicd-ran"
spec
:
spec
:
resources
:
limits
:
cpu
:
2
memory
:
2Gi
requests
:
cpu
:
0.5
memory
:
1Gi
nodeSelector
:
node-role.kubernetes.io/ran-build
:
"
"
runPolicy
:
"
Serial"
runPolicy
:
"
Serial"
source
:
source
:
type
:
"
Binary"
type
:
"
Binary"
...
...
openshift/oai-gnb-fhi72-bc.yaml
View file @
75f6f3ca
...
@@ -24,7 +24,17 @@ kind: BuildConfig
...
@@ -24,7 +24,17 @@ kind: BuildConfig
apiVersion
:
build.openshift.io/v1
apiVersion
:
build.openshift.io/v1
metadata
:
metadata
:
name
:
"
oai-gnb-fhi72"
name
:
"
oai-gnb-fhi72"
namespace
:
"
oaicicd-ran"
spec
:
spec
:
resources
:
limits
:
cpu
:
2
memory
:
2Gi
requests
:
cpu
:
0.5
memory
:
1Gi
nodeSelector
:
node-role.kubernetes.io/fhi72
:
"
"
runPolicy
:
"
Serial"
runPolicy
:
"
Serial"
source
:
source
:
type
:
"
Binary"
type
:
"
Binary"
...
...
openshift/oai-lte-ue-bc.yaml
View file @
75f6f3ca
...
@@ -24,7 +24,17 @@ kind: BuildConfig
...
@@ -24,7 +24,17 @@ kind: BuildConfig
apiVersion
:
build.openshift.io/v1
apiVersion
:
build.openshift.io/v1
metadata
:
metadata
:
name
:
"
oai-lte-ue"
name
:
"
oai-lte-ue"
namespace
:
"
oaicicd-ran"
spec
:
spec
:
resources
:
limits
:
cpu
:
2
memory
:
2Gi
requests
:
cpu
:
0.5
memory
:
1Gi
nodeSelector
:
node-role.kubernetes.io/ran-base
:
"
"
runPolicy
:
"
Serial"
runPolicy
:
"
Serial"
source
:
source
:
type
:
"
Binary"
type
:
"
Binary"
...
...
openshift/oai-nr-cuup-bc.yaml
View file @
75f6f3ca
...
@@ -25,6 +25,15 @@ apiVersion: build.openshift.io/v1
...
@@ -25,6 +25,15 @@ apiVersion: build.openshift.io/v1
metadata
:
metadata
:
name
:
"
oai-nr-cuup"
name
:
"
oai-nr-cuup"
spec
:
spec
:
resources
:
limits
:
cpu
:
1
memory
:
2Gi
requests
:
cpu
:
0.5
memory
:
1Gi
nodeSelector
:
node-role.kubernetes.io/ran-build
:
"
"
runPolicy
:
"
Serial"
runPolicy
:
"
Serial"
source
:
source
:
type
:
"
Binary"
type
:
"
Binary"
...
...
openshift/oai-nr-ue-bc.yaml
View file @
75f6f3ca
...
@@ -24,7 +24,17 @@ kind: BuildConfig
...
@@ -24,7 +24,17 @@ kind: BuildConfig
apiVersion
:
build.openshift.io/v1
apiVersion
:
build.openshift.io/v1
metadata
:
metadata
:
name
:
"
oai-nr-ue"
name
:
"
oai-nr-ue"
namespace
:
"
oaicicd-ran"
spec
:
spec
:
resources
:
limits
:
cpu
:
2
memory
:
2Gi
requests
:
cpu
:
0.5
memory
:
1Gi
nodeSelector
:
node-role.kubernetes.io/fhi72-intel3
:
"
"
runPolicy
:
"
Serial"
runPolicy
:
"
Serial"
source
:
source
:
type
:
"
Binary"
type
:
"
Binary"
...
...
openshift/oai-physim-bc.yaml
View file @
75f6f3ca
...
@@ -19,15 +19,17 @@
...
@@ -19,15 +19,17 @@
# * contact@openairinterface.org
# * contact@openairinterface.org
# */
# */
#---------------------------------------------------------------------
#---------------------------------------------------------------------
### Resource consumption 12Gi, 19CPU (SMT ENABLED)
kind
:
BuildConfig
kind
:
BuildConfig
apiVersion
:
build.openshift.io/v1
apiVersion
:
build.openshift.io/v1
metadata
:
metadata
:
name
:
"
oai-physim"
name
:
"
oai-physim"
namespace
:
"
oaicicd-ran"
spec
:
spec
:
runPolicy
:
"
Serial"
runPolicy
:
"
Serial"
nodeSelector
:
nodeSelector
:
kubernetes.io/hostname
:
demophon
node-role.kubernetes.io/ran-base
:
"
"
source
:
source
:
type
:
"
Binary"
type
:
"
Binary"
strategy
:
strategy
:
...
...
openshift/ran-base-bc.yaml
View file @
75f6f3ca
...
@@ -20,14 +20,16 @@
...
@@ -20,14 +20,16 @@
# */
# */
#---------------------------------------------------------------------
#---------------------------------------------------------------------
#
#
### Resource consumption 16Gi, 10CPU
kind
:
BuildConfig
kind
:
BuildConfig
apiVersion
:
build.openshift.io/v1
apiVersion
:
build.openshift.io/v1
metadata
:
metadata
:
name
:
"
ran-base"
name
:
"
ran-base"
namespace
:
"
oaicicd-ran"
spec
:
spec
:
runPolicy
:
"
Serial"
runPolicy
:
"
Serial"
nodeSelector
:
nodeSelector
:
kubernetes.io/hostname
:
acamas
node-role.kubernetes.io/ran-base
:
"
"
source
:
source
:
type
:
"
Binary"
type
:
"
Binary"
secrets
:
secrets
:
...
...
openshift/ran-build-bc.yaml
View file @
75f6f3ca
...
@@ -20,14 +20,16 @@
...
@@ -20,14 +20,16 @@
# */
# */
#---------------------------------------------------------------------
#---------------------------------------------------------------------
#
#
### Resource consumption 2.5Gi, 17CPU (SMT ENABLED)
kind
:
BuildConfig
kind
:
BuildConfig
apiVersion
:
build.openshift.io/v1
apiVersion
:
build.openshift.io/v1
metadata
:
metadata
:
name
:
"
ran-build"
name
:
"
ran-build"
namespace
:
"
oaicicd-ran"
spec
:
spec
:
runPolicy
:
"
Serial"
runPolicy
:
"
Serial"
nodeSelector
:
nodeSelector
:
kubernetes.io/hostname
:
acamas
node-role.kubernetes.io/ran-build
:
"
"
source
:
source
:
type
:
"
Binary"
type
:
"
Binary"
strategy
:
strategy
:
...
...
openshift/ran-build-fhi72-bc.yaml
View file @
75f6f3ca
...
@@ -20,14 +20,16 @@
...
@@ -20,14 +20,16 @@
# */
# */
#---------------------------------------------------------------------
#---------------------------------------------------------------------
#
#
### Resource consumption 5Gi, 9CPU
kind
:
BuildConfig
kind
:
BuildConfig
apiVersion
:
build.openshift.io/v1
apiVersion
:
build.openshift.io/v1
metadata
:
metadata
:
name
:
"
ran-build-fhi72"
name
:
"
ran-build-fhi72"
namespace
:
"
oaicicd-ran"
spec
:
spec
:
runPolicy
:
"
Serial"
runPolicy
:
"
Serial"
nodeSelector
:
nodeSelector
:
kubernetes.io/hostname
:
demophon
node-role.kubernetes.io/fhi72
:
"
"
source
:
source
:
type
:
"
Binary"
type
:
"
Binary"
strategy
:
strategy
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment