Argocd-ingress 资源状态一直 Progressing
# 1. 参考 官网 (opens new window)
# 2. 修改argocd-cm
[root@k8s-master01 ~]# kubectl edit cm -n argocd
# Please edit the object below. Lines beginning with a '#' will be ignored,
# and an empty file will abort the edit. If an error occurs while saving this file will be
# reopened with the relevant failures.
#
apiVersion: v1
items:
- apiVersion: v1
data:
repositories: |
- passwordSecret:
key: password
name: repo-3061508596
type: git
url: http://xxxxx:8900/devops/cloud-workloads.git
usernameSecret:
key: username
name: repo-3061508596
resource.customizations: |
extensions/Ingress: # Ingress apiverison
health.lua: |
hs = {}
hs.status = "Healthy"
return hs
networking.k8s.io/Ingress:
health.lua: |
hs = {}
hs.status = "Healthy"
return hs
kind: ConfigMap
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# 3. 重启argocd-application-controller-0
[root@k8s-master01 ~]# kubectl rollout restart statefulset -n argocd argocd-application-controller
1
上次更新: 2025/04/25, 03:40:17