Skip to content

Instantly share code, notes, and snippets.

@nsfilho
Created January 11, 2026 12:45
Show Gist options
  • Select an option

  • Save nsfilho/f01141d389cc8f7e32f838d8e45b7d9b to your computer and use it in GitHub Desktop.

Select an option

Save nsfilho/f01141d389cc8f7e32f838d8e45b7d9b to your computer and use it in GitHub Desktop.
Ambiente de DEV usando k3s

Introducao

Preparacao

Instalacao

curl -sfL https://get.k3s.io | sh -
sudo apt-get install open-iscsi -y
sudo apt install -y nfs-common cryptsetup

rm -rf $HOME/.kube
mkdir -p $HOME/.kube
sudo cp /etc/rancher/k3s/k3s.yaml $HOME/.kube/config
sudo chown $USER $HOME/.kube/config
export KUBECONFIG=$HOME/.kube/config

kubectl create namespace argocd
kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment