我使用ArgoCD并通过 NGINX 入口发布了 UI,如下所示:
apiVersion: cert-manager.io/v1alpha2
kind: Certificate
metadata:
name: svc-cert-prod
namespace: argocd
spec:
secretName: argo-cert-prod
issuerRef:
name: letsencrypt-prod
kind: ClusterIssuer
commonName: "cd.example.io"
dnsNames:
- "cd.example.io"
---
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: argocd-server-ingress
namespace: argocd
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
kubernetes.io/ingress.class: nginx
kubernetes.io/tls-acme: "true"
nginx.ingress.kubernetes.io/ssl-passthrough: "true"
# If you encounter a redirect loop or are getting a 307 response code
# then you need to force the nginx ingress to connect to the backend using HTTPS.
#
nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
spec:
rules:
- host: cd.example.io
http:
paths:
- backend:
serviceName: argocd-server
servicePort: https
path: /
tls:
- hosts:
- cd.example.io
secretName: argo-cert-prod
---
当我查看 NGINX 容器日志时,它显示
I0524 20:13:05.721610 7 store.go:448] secret argocd/argo-cert-prod was updated and it is used in ingress annotations. Parsing...
I0524 20:13:05.920550 7 store.go:448] secret argocd/argo-cert-prod was updated and it is used in ingress annotations. Parsing...
I0524 20:13:06.121675 7 store.go:448] secret argocd/argo-cert-prod was updated and it is used in ingress annotations. Parsing...
I0524 20:13:06.321001 7 store.go:448] secret argocd/argo-cert-prod was updated and it is used in ingress annotations. Parsing...
I0524 20:13:06.524940 7 store.go:448] secret argocd/argo-cert-prod was updated and it is used in ingress annotations. Parsing...
I0524 20:13:06.720776 7 store.go:448] secret argocd/argo-cert-prod was updated and it is used in ingress annotations. Parsing...
I0524 20:13:06.922470 7 store.go:448] secret argocd/argo-cert-prod was updated and it is used in ingress annotations. Parsing...
I0524 20:13:07.122135 7 store.go:448] secret argocd/argo-cert-prod was updated and it is used in ingress annotations. Parsing.
为什么它每秒显示一条消息?我还安装了https://goharbor.io/,它也使用 NGINX 入口。但我没有收到港湾的任何消息。
我使用 Rancher,它显示:
这对间隔消息负责吗?