fix: cilium installation

pull/1166/head
jin.gjm 2022-07-02 22:51:49 +08:00
parent c5c3fa3e4c
commit ec8e060740
3 changed files with 10 additions and 2 deletions

View File

@ -130,7 +130,7 @@ calico_ver_main: "{{ calico_ver.split('.')[0] }}.{{ calico_ver.split('.')[1] }}"
# [cilium]镜像版本
cilium_ver: "__cilium__"
cilium_connectivity_check: true
cilium_hubble_enabled: true
cilium_hubble_enabled: false
cilium_hubble_ui_enabled: false
# ------------------------------------------- kube-ovn

View File

@ -35,3 +35,11 @@
retries: 15
delay: 8
ignore_errors: true
# hubble-relay 可能需要重启一下
- name: 重启hubble-relay pod
shell: "{{ base_dir }}/bin/kubectl -n kube-system scale deploy hubble-relay --replicas=0 && sleep 5 && \
{{ base_dir }}/bin/kubectl -n kube-system scale deploy hubble-relay --replicas=1"
run_once: true
connection: local
when: "cilium_hubble_enabled|bool"

View File

@ -42,7 +42,7 @@ hubble:
tag: "v1.11.6"
useDigest: false
ui:
enabled: {% if cilium_hubble_ui_enabled %}true{% else %}false{% endif %}
enabled: {%- if cilium_hubble_ui_enabled -%}true{%- else -%}false{%- endif -%}
backend:
image:
repository: "easzlab.io.local:5000/cilium/hubble-ui-backend"