mirror of
https://github.com/geerlingguy/ansible-role-kubernetes.git
synced 2025-05-19 01:15:48 +02:00
Datapath mode
This commit is contained in:
parent
f0ffbc5888
commit
74aa4a8a4e
@ -12,6 +12,7 @@ kubernetes_packages:
|
||||
kubernetes_version: '1.25'
|
||||
kubernetes_version_rhel_package: '1.25.1'
|
||||
kubernetes_cilium_version: '1.14.5'
|
||||
kubernetes_cilium_datapath: 'native'
|
||||
|
||||
kubernetes_role: control_plane
|
||||
|
||||
|
@ -102,7 +102,7 @@
|
||||
- '.sha256sum'
|
||||
|
||||
- name: Configure Cilium networking
|
||||
command: /usr/local/bin/cilium install --version {{ kubernetes_cilium_version }}
|
||||
command: /usr/local/bin/cilium install --version {{ kubernetes_cilium_version }} --datapath-mode {{ kubernetes_cilium_datapath }}
|
||||
when:
|
||||
- kubernetes_pod_network.cni == 'cilium'
|
||||
- not kubernetes_init_stat.stat.exists
|
||||
|
Loading…
Reference in New Issue
Block a user