Skip to content

CodeSparta/sparta

Repository files navigation

TPDK Plugin | OpenShift Deployment IaC

Prerequisites:

Low Side) Build offline Koffer bundle

  1. Run Koffer openshift plugin
 mkdir -p ${HOME}/bundle && \
 podman run -it --rm --pull always \
     --volume ${HOME}/bundle:/root/bundle:z \
   docker.io/cloudctl/koffer:latest bundle \
     --plugin openshift
  1. Check bundle
 du -sh ${HOME}/bundle/koffer-bundle.openshift-*.tar.xz

High Side) Deploy from bundled artifacts

  1. Extract bundle
 sudo tar -xv -f /tmp/koffer-bundle.openshift-*.tar -C /root
  1. Exec to root
 sudo -i
  1. Declare variables
 vi ./answer.sh
  1. Start Deploy
 ./konductor.sh
  1. Exec into konductor
 podman exec -it konductor connect
  1. Monitor cluster operators
 watch oc get co