mirror of https://github.com/easzlab/kubeasz.git
fix: cilium installation
parent
c5c3fa3e4c
commit
ec8e060740
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue