SpectroCloud/VertexHelmInstall
Jump to navigation
Jump to search
VerteX Helm Install
Resources
https://docs.spectrocloud.com/vertex/install-palette-vertex/install-on-kubernetes/airgap-install/install/
Prereqs
################ # Install Helm # ################ snap install helm ##################################### # Unzip the vertex helm charts file # ##################################### rm -rf vertex-helm mkdir -p vertex-helm cd vertex-helm cp /nfs/Download/charts-4.6.12.zip . unzip charts-4.6.12.zip ###################### # Set BASH Variables # ###################### export OCI_IMAGE_REGISTRY=harbor.dersllc.com export OCI_IMAGE_BASE=spectro-images export K8S_KUBECONFIG='/nfs/Download/tkgm.kubeconfig'
Deploy CERT-MANAGER
# Change the cert-manager repo to match your local repo sed -i 's/us-docker.pkg.dev/'${OCI_IMAGE_REGISTRY}'\/'${OCI_IMAGE_BASE}'\/us-docker.pkg.dev/g' extras/cert-manager/values.yaml helm --kubeconfig $K8S_KUBECONFIG list # Deploy Cert-Manager via Helm helm --kubeconfig $K8S_KUBECONFIG upgrade --values extras/cert-manager/values.yaml cert-manager extras/cert-manager/cert-manager-*.tgz --install
Prep Vertex Values YAML
# dockerConfigJson Section cat ~/.docker/config.json | base64 -w0 # global.imagePullSecret.create = true # global.imagePullSecret.create = <BASE64 output of cat command above> # config.installationMode: "airgap" # config.env.rootDomain: "vertex.dersllc.com" # config.ociPackRegistry: # config.ociImageRegistry: # config.imageSwapImages: # config.imageSwapConfig: # If using Proxy Server configure the following: # reachSystem: # Pull filled out Values.yaml from Gitlab curl --insecure https://ders-gitlab.dersllc.com/ders/spectro-sa/-/raw/main/helm/vertex-values.yaml > vertex/values.yaml
Deploy Image-Swap for Airgap Support
helm --kubeconfig $K8S_KUBECONFIG upgrade --values vertex/values.yaml image-swap extras/image-swap/image-swap-*.tgz --install
Deploy Reach for Proxy Services
#helm --kubeconfig $K8S_KUBECONFIG upgrade --values vertex/values.yaml reach-system extras/reach-system/reach-system-*.tgz --install
Deploy Vertex
helm --kubeconfig $K8S_KUBECONFIG upgrade --values vertex/values.yaml hubble vertex/spectro-mgmt-plane-*.tgz --install
Uninstall Vertex
helm --kubeconfig $K8S_KUBECONFIG uninstall hubble helm --kubeconfig $K8S_KUBECONFIG uninstall reach-system helm --kubeconfig $K8S_KUBECONFIG uninstall image-swap helm --kubeconfig $K8S_KUBECONFIG uninstall cert-manager