Skip to content

Instantly share code, notes, and snippets.

@martezr
Created July 14, 2024 15:25
Show Gist options
  • Save martezr/a18dcec859a7092c74eaba302188dc0c to your computer and use it in GitHub Desktop.
Save martezr/a18dcec859a7092c74eaba302188dc0c to your computer and use it in GitHub Desktop.
alias kubectl="k0s kubectl"
kubectl create namespace argo
kubectl apply -n argo -f https://github.com/argoproj/argo-workflows/releases/download/v3.5.8/quick-start-minimal.yaml
kubectl patch deployment argo-server --namespace argo --type='json' -p='[{"op": "replace", "path": "/spec/template/spec/containers/0/args", "value": ["server","--auth-mode=server"]}]'
kubectl patch svc argo-server -n argo -p '{"spec": {"type": "NodePort"}}'
kubectl patch svc argocd-server -n argocd -p '{"spec": {"type": "NodePort"}}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment