...
Install K3s and wait for the pods to become ready:
Code Block language bash $ curl -sfL https://assets.master.k3s.getvisibility.com/k3s/k3s.sh | INSTALL_K3S_VERSION="v1.2426.910+k3s2k3s1" K3S_KUBECONFIG_MODE="644" sh -s - server --node-name=local-01 $ kubectl get deploy -n kube-system --output name | xargs -n1 -t kubectl rollout status -n kube-system
Install Helm 3:
Code Block language bash $ wget --quiet https://raw.githubusercontent.com/helm/helm/master/scripts/get -O /tmp/get_helm.sh \ && chmod 0755 /tmp/get_helm.sh \ && /tmp/get_helm.sh -v v3.8.2
Configure GetVisibility private Docker image registry (replace
$USERNAME
and$PASSWORD
with the Docker credentials provided):Code Block language bash $ kubectl create secret docker-registry gv-docker-registry \ --docker-server=https://images.master.k3s.getvisibility.com \ --docker-username=$USERNAME \ --docker-password=$PASSWORD \ --docker-email=no@email.com
Configure GetVisibility private Helm repository (replace
$USERNAME
and$PASSWORD
with the Helm credentials provided):Code Block language bash $ helm repo add gv_stable https://charts.master.k3s.getvisibility.com/stable --username $USERNAME --password $PASSWORD $ helm repo update
Install chart GetVisibility Essentials and wait for the pods to become ready.
If you are installing Focus or Enterprise append --set
For Synergy (32 GB RAM machines):
to the upgrade command in order to enable ElasticSearch.Code Block language bash $ helm upgrade --install gv-essentials gv_stable/gv-essentials --wait \ --timeout=10m0s --kubeconfig /etc/rancher/k3s/k3s.yaml \ --set eck-operator.enabled=true
Code Block language bash --set eck-operator.settings.cpu=1 \ --set eck-operator.settings.memory=1 --set eck-operator.settings.storage=40 $ kubectl get deploy --output name | xargs -n1 -t kubectl rollout status
For Focus and Enterprice (48+ GB RAM machines):
Code Block $ helm upgrade --install gv-essentials gv_stable/gv-essentials --wait \ --timeout=10m0s --kubeconfig /etc/rancher/k3s/k3s.yaml \ --set eck-operator.enabled=true --set eck-operator.settings.cpu=4 \ --set eck-operator.settings.memory=20 --set eck-operator.settings.storage=160 $ kubectl get deploy --output name | xargs -n1 -t kubectl rollout status
Depending on the theme you want to use, run one of the commands below to install the chart GV Platform (don’t forget to replace
$PRODUCT
with either synergy or focus or enterprise):GetVisibility theme:
Code Block language bash $ helm upgrade --install gv-platform gv_stable/gv-platform --wait \ --timeout=10m0s --kubeconfig /etc/rancher/k3s/k3s.yaml \ --set-string clusterLabels.environment=prod \ --set-string clusterLabels.cluster_reseller=getvisibility \ --set-string clusterLabels.cluster_name=mycluster \ --set-string clusterLabels.product=$PRODUCT
Forcepoint theme:
Code Block language bash $ helm upgrade --install gv-platform gv_stable/gv-platform --wait \ --timeout=10m0s --kubeconfig /etc/rancher/k3s/k3s.yaml \ --set-string clusterLabels.environment=prod \ --set-string clusterLabels.cluster_reseller=forcepoint \ --set-string clusterLabels.cluster_name=mycluster \ --set-string clusterLabels.product=$PRODUCT
...