共计 774 个字符,预计需要花费 2 分钟才能阅读完成。
argo 装置
kubectl create ns argo
kubectl apply -n argo -f https://raw.githubusercontent.com/argoproj/argo-workflows/stable/manifests/quick-start-postgres.yaml
kubectl create clusterrolebinding test-cluster-admin-binding --clusterrole=cluster-admin --user=test@test.com
kubectl -n argo port-forward deployment/argo-server 2746:2746
mkdir argo;cd argo
curl -svLO https://github.com/argoproj/argo-workflows/releases/download/v3.1.1/argo-linux-amd64.gz
gunzip argo-linux-amd64.gz
chmod +x argo-linux-amd64
mv ./argo-linux-amd64 /usr/local/bin/argo
argo admin 配置
kubectl create role argo-admin --verb=list,update --resource=workflows.argoproj.io
kubectl create sa argo-admin
kubectl create rolebinding argo-admin --role=argo-admin --serviceaccount=argo:argo-admin
## 获取 secret
SECRET=$(kubectl get sa argo-admin -o=jsonpath='{.secrets[0].name}')
正文完
发表至: kubernetes
2021-10-11