Python Class for Cluster Building and Deployment

This commit is contained in:
Robert Schmidt
2022-09-05 15:42:12 +02:00
parent ebdbb1fc13
commit 41a9ac1119
8 changed files with 484 additions and 11 deletions
-4
View File
@@ -31,10 +31,6 @@ spec:
strategy:
dockerStrategy:
dockerfilePath: "docker/Dockerfile.phySim.rhel8.2"
from:
kind: ImageStreamTag
namespace: oaicicd-ran
name: oai-ran-base:latest
output:
to:
kind: "ImageStreamTag"
+13
View File
@@ -0,0 +1,13 @@
# Creating a pod to retrieve ran-base logs
apiVersion: v1
kind: Pod
metadata:
name: ran-base-log-retrieval
namespace: oaicicd-ran
spec:
containers:
- name: logcontainer
image: ran-base:latest
command: ["/bin/sh", "-c"]
args:
["sleep inf"]
-4
View File
@@ -31,10 +31,6 @@ spec:
strategy:
dockerStrategy:
dockerfilePath: "docker/Dockerfile.build.rhel8.2"
from:
kind: ImageStreamTag # Use an imagestream tag as 'FROM'
namespace: oaicicd-ran # Which project?
name: oai-ran-base:latest # Use the imagestream created above
output:
to:
kind: "ImageStreamTag"