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 イングレスも使用しています。しかし、Harbor からのメッセージはありません。
私は Rancher を使用しており、次のように表示されます。
それがインターバルメッセージの原因ですか?