Argo CD - 安装与使用

2020-12-07  本文已影响0人  姜鸣蝉mc

1. 安装 Argo CD

# 创建 ns
kubectl create namespace argocd
# 安装 argocd
kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
# 暴露 ui 端口供访问
kubectl port-forward --address 0.0.0.0 svc/argocd-server -n argocd 8080:443
# 获取登录用户 admin 密码
kubectl get pods -n argocd -l app.kubernetes.io/name=argocd-server -o name | cut -d'/' -f 2

安装完成

aogocd01.png

登录(https://IP+PORT

argocd02.png

2. 使用 Argo CD

2.1 准备 github 仓库(文末有链接地址)

argocd03.png

2.2配置 argocd

argocd

2.3 点击 SYNC 进行部署

argocd

2.4 部署完成

argocd

3. 相关链接

上一篇 下一篇

猜你喜欢

热点阅读