Skip to content

Instantly share code, notes, and snippets.

@zackbradys
Last active October 5, 2023 19:43
Show Gist options
  • Save zackbradys/260cc33b4c57260c1bf57cd54c07af0a to your computer and use it in GitHub Desktop.
Save zackbradys/260cc33b4c57260c1bf57cd54c07af0a to your computer and use it in GitHub Desktop.
Effortless, Easy, and Efficient installation steps of Rancher NeuVector
### Add and Update the Helm Repository
helm repo add neuvector https://neuvector.github.io/neuvector-helm
helm repo update
### Create the NeuVector Namespace and Install NeuVector
kubectl create namespace cattle-neuvector-system
helm upgrade -i neuvector neuvector/core --namespace cattle-neuvector-system --set k3s.enabled=true --set k3s.runtimePath=/run/k3s/containerd/containerd.sock --set manager.ingress.enabled=true --set manager.svc.type=ClusterIP --set controller.pvc.enabled=true --set manager.ingress.host=neuvector.10.0.0.15.sslip.io --set global.cattle.url=https://rancher.10.0.0.15.sslip.io --set controller.ranchersso.enabled=true --set rbac=true
### Wait for the deployment/rollout
sleep 30
### Verify the status of NeuVector
kubectl get pods --namespace cattle-neuvector-system
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment