Skip to content

Instantly share code, notes, and snippets.

View zackbradys's full-sized avatar
🏠
Clusters and Containers

Zack Brady zackbradys

🏠
Clusters and Containers
View GitHub Profile
@zackbradys
zackbradys / neuvector-install-tips
Last active October 5, 2023 19:43
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
@zackbradys
zackbradys / longhorn-install-tips
Last active January 27, 2024 16:44
Effortless, Easy, and Efficient installation steps of Rancher Longhorn
### Add and Update the Helm Repository
helm repo add longhorn https://charts.longhorn.io
helm repo update
### Create the Longhorn Namespace and Install Longhorn
kubectl create namespace longhorn-system
helm upgrade -i longhorn longhorn/longhorn --namespace longhorn-system --set ingress.enabled=true --set ingress.host=longhorn.example.com
### Wait for the deployment/rollout
sleep 30
@zackbradys
zackbradys / rancher-install-tips
Last active October 5, 2023 19:43
Effortless, Easy, and Efficient installation steps of Rancher Multi-Cluster Manager
### Add and Update the Helm Repositories
helm repo add jetstack https://charts.jetstack.io
helm repo add rancher-latest https://releases.rancher.com/server-charts/latest
helm repo update
### Create the Cert Manager Namespace and Install Cert Manager
kubectl create namespace cert-manager
helm upgrade -i cert-manager jetstack/cert-manager --namespace cert-manager --set installCRDs=true
### Wait for the deployment/rollout
@zackbradys
zackbradys / rke2-install-tips
Last active February 28, 2024 08:43
Effortless, Easy, and Efficient installation steps of Rancher Kubernetes Engine 2 (RKE2)
--- RKE2 SERVER NODES (CONTROL PLANE) ---
### Apply System Settings
cat << EOF >> /etc/sysctl.conf
### Modified System Settings
vm.swappiness=0
vm.panic_on_oom=0
vm.overcommit_memory=1
kernel.panic=10
kernel.panic_on_oops=1
vm.max_map_count = 262144