Browse Source
Calico enable support for eBPF (#7618)
Calico enable support for eBPF (#7618)
* Calico: align manifests with upstream * allow enabling typha prometheus metrics * Calico: enable eBPF support * manage the kubernetes-services-endpoint configmap * Calico: document the use of eBPF dataplane * Calico: improve checks before deployment * enforce disabling kube-proxy when using eBPF dataplane * ensure calico_version is supportedpull/7684/head
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 231 additions and 12 deletions
Split View
Diff Options
-
70docs/calico.md
-
3roles/download/defaults/main.yml
-
19roles/kubernetes/preinstall/tasks/0020-verify-settings.yml
-
12roles/network_plugin/calico/defaults/main.yml
-
22roles/network_plugin/calico/tasks/install.yml
-
1roles/network_plugin/calico/templates/calico-cr.yml.j2
-
66roles/network_plugin/calico/templates/calico-node.yml.j2
-
25roles/network_plugin/calico/templates/calico-typha.yml.j2
-
6roles/network_plugin/calico/templates/cni-calico.conflist.j2
-
19roles/network_plugin/calico/templates/kubernetes-services-endpoint.yml.j2
@ -0,0 +1,19 @@ |
|||
--- |
|||
apiVersion: v1 |
|||
kind: ConfigMap |
|||
metadata: |
|||
namespace: kube-system |
|||
name: kubernetes-services-endpoint |
|||
data: |
|||
{% if calico_bpf_enabled %} |
|||
{% if loadbalancer_apiserver is defined %} |
|||
KUBERNETES_SERVICE_HOST: "{{ apiserver_loadbalancer_domain_name }}" |
|||
KUBERNETES_SERVICE_PORT: "{{ loadbalancer_apiserver.port | default(kube_apiserver_port) }}" |
|||
{%- elif use_localhost_as_kubeapi_loadbalancer|default(False)|bool %} |
|||
KUBERNETES_SERVICE_HOST: "127.0.0.1" |
|||
KUBERNETES_SERVICE_PORT: "{{ kube_apiserver_port }}" |
|||
{%- else %} |
|||
KUBERNETES_SERVICE_HOST: "{{ first_kube_master }}" |
|||
KUBERNETES_SERVICE_PORT: "{{ kube_apiserver_port }}" |
|||
{%- endif %} |
|||
{% endif %} |
Write
Preview
Loading…
Cancel
Save