Skip to content
Snippets Groups Projects
Select Git revision
  • 13cff6354ba1bf26e05d6f8177959cd43a31b12c
  • master default protected
  • v1.14.7
  • v1.14.6
  • v1.14.5
  • v1.14.4
  • v1.14.3
  • v1.14.2
  • v1.14.1
  • v1.14.0
  • v1.13.2
  • v1.13.1
  • v1.13.0
  • v1.12.1
  • v1.12.0
  • v1.11.1
  • v1.11.0
  • v1.10.0
  • v1.9.2
  • v1.9.1
  • v1.9.0
  • v1.8.4
22 results

COPYING

Blame
  • This project is licensed under the GNU General Public License v3.0 only. Learn more

    Macvlan

    How to use it

    • Enable macvlan in group_vars/k8s_cluster/k8s_cluster.yml
    ...
    kube_network_plugin: macvlan
    ...
    • Adjust the macvlan_interface in group_vars/k8s_cluster/k8s-net-macvlan.yml or by host in the host.yml file:
    all:
      hosts:
        node1:
          ip: 10.2.2.1
          access_ip: 10.2.2.1
          ansible_host: 10.2.2.1
          macvlan_interface: ens5

    Issue encountered

    • Service DNS

    reply from unexpected source:

    add kube_proxy_masquerade_all: true in group_vars/all/all.yml

    • Disable nodelocaldns

    The nodelocal dns IP is not reacheable.

    Disable it in sample/group_vars/k8s_cluster/k8s_cluster.yml

    enable_nodelocaldns: false