Skip to content
Snippets Groups Projects
Commit d13b07ba authored by Spencer Smith's avatar Spencer Smith Committed by GitHub
Browse files

Merge pull request #1751 from bradbeam/calicoprometheus

Adding calico/node env vars for prometheus configuration
parents 028afab9 b81c0d86
No related branches found
No related tags found
No related merge requests found
...@@ -31,6 +31,12 @@ calicoctl_cpu_limit: 100m ...@@ -31,6 +31,12 @@ calicoctl_cpu_limit: 100m
calicoctl_memory_requests: 32M calicoctl_memory_requests: 32M
calicoctl_cpu_requests: 50m calicoctl_cpu_requests: 50m
# Enable Prometheus Metrics endpoint for felix
calico_felix_prometheusmetricsenabled: "false"
calico_felix_prometheusmetricsport: 9091
calico_felix_prometheusgometricsenabled: "true"
calico_felix_prometheusprocessmetricsenabled: "true"
# Should calico ignore kernel's RPF check setting, # Should calico ignore kernel's RPF check setting,
# see https://github.com/projectcalico/felix/blob/ab8799eaea66627e5db7717e62fca61fd9c08646/python/calico/felix/config.py#L198 # see https://github.com/projectcalico/felix/blob/ab8799eaea66627e5db7717e62fca61fd9c08646/python/calico/felix/config.py#L198
calico_node_ignorelooserpf: false calico_node_ignorelooserpf: false
......
...@@ -82,6 +82,14 @@ spec: ...@@ -82,6 +82,14 @@ spec:
- name: FELIX_IPINIPMTU - name: FELIX_IPINIPMTU
value: "{{ calico_mtu }}" value: "{{ calico_mtu }}"
{% endif %} {% endif %}
- name: FELIX_PROMETHEUSMETRICSENABLED
value: "{{ calico_felix_prometheusmetricsenabled }}"
- name: FELIX_PROMETHEUSMETRICSPORT
value: "{{ calico_felix_prometheusmetricsport }}"
- name: FELIX_PROMETHEUSGOMETRICSENABLED
value: "{{ calico_felix_prometheusgometricsenabled }}"
- name: FELIX_PROMETHEUSPROCESSMETRICSENABLED
value: "{{ calico_felix_prometheusprocessmetricsenabled }}"
# Location of the CA certificate for etcd. # Location of the CA certificate for etcd.
- name: ETCD_CA_CERT_FILE - name: ETCD_CA_CERT_FILE
valueFrom: valueFrom:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment