calico add metrics ENV

pull/453/head
sunshanpeng 2019-01-24 18:31:09 +08:00 committed by jmgao
parent 0dc014b3ea
commit 5a1140fc8e
1 changed files with 2 additions and 0 deletions

View File

@ -192,6 +192,8 @@ spec:
# Calico will treat traffic to those ports as host traffic instead of pod traffic.
- name: FELIX_KUBENODEPORTRANGES
value: "{{ NODE_PORT_RANGE.split('-')[0] }}:{{ NODE_PORT_RANGE.split('-')[1] }}"
- name: FELIX_PROMETHEUSMETRICSENABLED
value: "true"
securityContext:
privileged: true
resources: