SuperAPI AI 工具集

argocdcommand

部署与运维

查看项目

更新于 10-16 09:57

技能介绍

用途:该技能提供针对 cafehyna-hub 集群的 ArgoCD CLI 完整交互能力,覆盖登录、应用与 ApplicationSet 管理、集群/仓库/项目管理,以及同步、部署、状态查看和排障等日常运维操作。

环境与连接:Kubeconfig 路径为 ~/.kube/aks-rg-hypera-cafehyna-hub-config;ArgoCD 服务器为 argocd.cafehyna.com.br;命名空间为 argocd;也可通过端口转发使用 localhost:8080。可设置 export KUBECONFIG=~/.kube/aks-rg-hypera-cafehyna-hub-config,或用 --kubeconfig 标志。

工作流路由:Login、AppManage、AppSetManage、ClusterManage、RepoManage、ProjectManage、Troubleshoot,分别对应登录、应用管理、ApplicationSet 管理、集群管理、仓库管理、项目管理与排障。

常用命令:argocd login argocd.cafehyna.com.br --sso;端口转发后 argocd login localhost:8080 --insecure;argocd app list、argocd app sync <app-name>、argocd app get <app-name>、argocd appset list、argocd app logs <app> --follow、argocd cluster add <context-name>、argocd appset create -f appset.yaml。kubectl 方面可查询 argocd 命名空间下的 pods、applications、applicationsets 及 argocd-server 日志。

限制:资料未提供其他集群或通用环境支持、权限模型、收费与价格信息;所有操作依赖给定 kubeconfig 与集群地址。