...
Note |
---|
For RHEL, K3s needs the following package to be installed: Other SUSE, CentOS, RedHat prerequisites: Prerequisites for k3s on RHEL/CentOS/Oracle Linux Ubuntu prerequisites: Prerequisites for k3s on Ubuntu Linux |
If your organisation has purchased Enterprise Rancher from SUSE, which includes K3s with support directly from SUSE, our solution is fully compatible with this setup. Our solution operates seamlessly on top of SUSE’s supported K3s environment, allowing you to leverage SUSE’s enterprise-grade support for K3s alongside our product functionality and support.
The steps below you guide you through the air-gap installation of K3s, a lightweight Kubernetes distribution created by Rancher Labs:
...
Info |
---|
Replace Replace IPADDRESS/DNS/FQDN with IP Adress or FQDN or DNS name for Keycloak in formats like below https://192.168.10.1 or https://gv.domain.local or https://gv.getvisibility.com |
Install Getvisibility Essentials and set the daily UTC backup hour (0-23) for performing backups.
Code Block helm upgrade --install gv-essentials charts/gv-essentials-$VERSION.tgz --wait \ --timeout=10m0s --kubeconfig /etc/rancher/k3s/k3s.yaml \ --set backup.hour=1 \ --set eck-operator.enabled=true \ --set updateclusterid.enabled=false \ --set keycloak.url=https://(IPADDRESS/|DNS/|FQDN)
Install Monitoring CRD:
Code Block helm upgrade --install rancher-monitoring-crd charts/rancher-monitoring-crd-$VERSION.tgz \ --wait \ --kubeconfig /etc/rancher/k3s/k3s.yaml \ --namespace=cattle-monitoring-system \ --create-namespace
Install Monitoring:
Code Block helm upgrade --install rancher-monitoring charts/rancher-monitoring-$VERSION.tgz \ --wait \ --kubeconfig /etc/rancher/k3s/k3s.yaml \ --namespace=cattle-monitoring-system \ --set k3sServer.enabled=true \ --set k3sControllerManager.enabled=true \ --set k3sScheduler.enabled=true \ --set k3sProxy.enabled=true \ --set prometheus.retention=5 \
Info |
---|
To expose Grafana via an ingress on the path |
Code Block |
---|
--set global.grafana_ingress.enabled=true |
Check all pods are
Running
with the command:kubectl get pods -A
Install DSPM/Synergy (Endpoint Agent) Helm Chart
...
Code Block |
---|
helm upgrade --install gv-platform charts/gv-platform-$VERSION.tgz --wait \ --timeout=10m0s --kubeconfig /etc/rancher/k3s/k3s.yaml \ --set-string clusterLabels.environment=prod \ --set-string clusterLabels.cluster_reseller=$RESELLER \ --set-string clusterLabels.cluster_name=mycluster \ --set-string clusterLabels.product=$PRODUCT |
Info | ||
---|---|---|
In case if you expirience experience 404 error for accessing to Keycloak or UI and use 1.26 (default) version of K3s ensure that treafik traefik patch is applied
|
...
Install Getvisibility Essentials and set the daily UTC backup hour (0-23) for performing backups.
Code Block $ helm upgrade --install gv-essentials charts/gv-essentials-$VERSION.tgz --wait \ --timeout=10m0s --kubeconfig /etc/rancher/k3s/k3s.yaml \ --set global.high_available=true \ --set eck-operator.enabled=true \ --set minio.replicas=4 \ --set minio.mode=distributed \ --set consul.server.replicas=3 \ --set updateclusterid.enabled=false \ --set backup.hour=1 --set eck-operator.enabled=true
Install Monitoring CRD:
Code Block $ helm upgrade --install rancher-monitoring-crd charts/rancher-monitoring-crd-$VERSION.tgz --wait \ --kubeconfig /etc/rancher/k3s/k3s.yaml \ --namespace=cattle-monitoring-system \ --create-namespace
Install Monitoring:
Code Block $ helm upgrade --install rancher-monitoring charts/rancher-monitoring-$VERSION.tgz --wait \ --kubeconfig /etc/rancher/k3s/k3s.yaml \ --set global.high_available=true \ --namespace=cattle-monitoring-system \ --set loki-stack.loki.replicas=2 \ --set prometheus.prometheusSpec.replicas=2 --set prometheus.retention=5
Info |
---|
To expose Grafana via an ingress on the path |
...
Info |
---|
|
...
GetVisibility Essentials Helm Chart
To upgrade the GV Essential chart you must:
...