Make calico-kube-controllers log level configurable (#11335)

pull/11343/head
Erwan Miran 2024-07-02 16:13:59 +02:00 committed by GitHub
parent 0be525c76f
commit 413572eced
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 0 deletions

View File

@ -5,6 +5,7 @@ calico_policy_controller_memory_limit: 256M
calico_policy_controller_cpu_requests: 30m calico_policy_controller_cpu_requests: 30m
calico_policy_controller_memory_requests: 64M calico_policy_controller_memory_requests: 64M
calico_policy_controller_deployment_nodeselector: "kubernetes.io/os: linux" calico_policy_controller_deployment_nodeselector: "kubernetes.io/os: linux"
calico_policy_controller_log_level: info
# SSL # SSL
calico_cert_dir: "/etc/calico/certs" calico_cert_dir: "/etc/calico/certs"

View File

@ -60,6 +60,8 @@ spec:
- -r - -r
periodSeconds: 10 periodSeconds: 10
env: env:
- name: LOG_LEVEL
value: {{ calico_policy_controller_log_level }}
{% if calico_datastore == "kdd" %} {% if calico_datastore == "kdd" %}
- name: ENABLED_CONTROLLERS - name: ENABLED_CONTROLLERS
value: node value: node