SpectroCloud/VertexHelmInstall: Difference between revisions
Jump to navigation
Jump to search
| Line 51: | Line 51: | ||
# If using Proxy Server configure the following: | # If using Proxy Server configure the following: | ||
# reachSystem: | # 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 == | == Deploy Image-Swap for Airgap Support == | ||
Revision as of 14:21, 7 February 2025
VerteX Helm Install
Prereqs
snap install helm
Prep the Helm Charts
#####################################
# Unzip the vertex helm charts file #
#####################################
mkdir -p vertex-helm
cd vertex-helm
cp /nfs/Download/charts.zip .
unzip charts.zip
#############
# Variables #
#############
export OCI_IMAGE_REGISTRY=harbor.dersllc.com
export OCI_IMAGE_BASE=spectro-images
export OCI_IMAGE_USER='admin'
export OCI_IMAGE_PASS='DERS4me!'
export OCI_IMAGE_SKIP_VERIFY='true'
export OCI_IMAGE_CA_CERT=
export OCI_PACK_REGISTRY=harbor.dersllc.com
export OCI_PACK_BASE=spectro-packs
export K8S_KUBECONFIG='/nfs/Download/tkgm.kubeconfig'
export IS_EKS_CLUSTER='false'
#export SC_VERSION='4.5.20'
######################
# Setup 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