Browse Source

Add support for the updated (startup|liveness|readiness)Probe.Port numbers in Cilium (#9031)

pull/9038/head
Tom Stian Berget 2 years ago
committed by GitHub
parent
commit
e1f06dd406
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 0 deletions
  1. 12
      roles/network_plugin/cilium/templates/cilium/ds.yml.j2

12
roles/network_plugin/cilium/templates/cilium/ds.yml.j2

@ -96,7 +96,11 @@ spec:
httpGet: httpGet:
host: '127.0.0.1' host: '127.0.0.1'
path: /healthz path: /healthz
{% if cilium_version | regex_replace('v') is version('1.11.6', '>=') %}
port: 9879
{% else %}
port: 9876 port: 9876
{% endif %}
scheme: HTTP scheme: HTTP
httpHeaders: httpHeaders:
- name: "brief" - name: "brief"
@ -108,7 +112,11 @@ spec:
httpGet: httpGet:
host: '127.0.0.1' host: '127.0.0.1'
path: /healthz path: /healthz
{% if cilium_version | regex_replace('v') is version('1.11.6', '>=') %}
port: 9879
{% else %}
port: 9876 port: 9876
{% endif %}
scheme: HTTP scheme: HTTP
httpHeaders: httpHeaders:
- name: "brief" - name: "brief"
@ -121,7 +129,11 @@ spec:
httpGet: httpGet:
host: 127.0.0.1 host: 127.0.0.1
path: /healthz path: /healthz
{% if cilium_version | regex_replace('v') is version('1.11.6', '>=') %}
port: 9879
{% else %}
port: 9876 port: 9876
{% endif %}
scheme: HTTP scheme: HTTP
httpHeaders: httpHeaders:
- name: "brief" - name: "brief"

Loading…
Cancel
Save