Viktor Jacynycz
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
11 additions and
0 deletions
-
roles/network_plugin/calico/templates/calico-typha.yml.j2
|
|
@ -14,6 +14,12 @@ spec: |
|
|
|
protocol: TCP |
|
|
|
targetPort: calico-typha |
|
|
|
name: calico-typha |
|
|
|
{% if typha_prometheusmetricsenabled %} |
|
|
|
- port: {{ typha_prometheusmetricsport }} |
|
|
|
protocol: TCP |
|
|
|
targetPort: http-metrics |
|
|
|
name: metrics |
|
|
|
{% endif %} |
|
|
|
selector: |
|
|
|
k8s-app: calico-typha |
|
|
|
|
|
|
@ -76,6 +82,11 @@ spec: |
|
|
|
- containerPort: 5473 |
|
|
|
name: calico-typha |
|
|
|
protocol: TCP |
|
|
|
{% if typha_prometheusmetricsenabled %} |
|
|
|
- containerPort: {{ typha_prometheusmetricsport }} |
|
|
|
name: http-metrics |
|
|
|
protocol: TCP |
|
|
|
{% endif %} |
|
|
|
envFrom: |
|
|
|
- configMapRef: |
|
|
|
# Allow KUBERNETES_SERVICE_HOST and KUBERNETES_SERVICE_PORT to be overridden for eBPF mode. |
|
|
|