diff --git a/bootstrap/inventory/prod/group_vars/k8s-cluster/k8s-cluster.yml b/bootstrap/inventory/prod/group_vars/k8s-cluster/k8s-cluster.yml index 4960573..789ab42 100644 --- a/bootstrap/inventory/prod/group_vars/k8s-cluster/k8s-cluster.yml +++ b/bootstrap/inventory/prod/group_vars/k8s-cluster/k8s-cluster.yml @@ -88,7 +88,10 @@ kube_users: # Choose network plugin (cilium, calico, contiv, weave or flannel. Use cni for generic cni plugin) # Can also be set to 'cloud', which lets the cloud provider setup appropriate routing -kube_network_plugin: calico +kube_network_plugin: flannel +# Moritz: Setting to flannel, just to try out +#kube_network_plugin: calico + # Setting multi_networking to true will install Multus: https://github.com/intel/multus-cni kube_network_plugin_multus: false @@ -115,7 +118,9 @@ kube_apiserver_insecure_port: 0 # (disabled) # Kube-proxy proxyMode configuration. # Can be ipvs, iptables -kube_proxy_mode: ipvs +kube_proxy_mode: iptables +# Moritz: changed to iptables for tegra +#kube_proxy_mode: ipvs # configure arp_ignore and arp_announce to avoid answering ARP queries from kube-ipvs0 interface # must be set to true for MetalLB to work diff --git a/bootstrap/inventory/prod/host_vars/haumdaucher/all.yml b/bootstrap/inventory/prod/host_vars/haumdaucher/all.yml new file mode 100644 index 0000000..14911d8 --- /dev/null +++ b/bootstrap/inventory/prod/host_vars/haumdaucher/all.yml @@ -0,0 +1,8 @@ +--- +ansible_host: 136.243.23.215 +etcd_member_name: etcd1 +ansible_become: yes +ansible_become_method: sudo +ansible_python_interpreter: /usr/bin/python3 +metrics_server_enabled: false +dns_min_replicas: 1 \ No newline at end of file diff --git a/bootstrap/inventory/prod/host_vars/jetson1.dyndns.moritzgraf.de/all.yml b/bootstrap/inventory/prod/host_vars/jetson1.dyndns.moritzgraf.de/all.yml new file mode 100644 index 0000000..3e0a177 --- /dev/null +++ b/bootstrap/inventory/prod/host_vars/jetson1.dyndns.moritzgraf.de/all.yml @@ -0,0 +1,10 @@ +--- +ansible_become: yes +ansible_become_method: sudo +ansible_python_interpreter: /usr/bin/python3 +metrics_server_enabled: false + +access_ip: 80.209.218.138 + +node_taints: +- "jetson=true:NoSchedule" \ No newline at end of file diff --git a/bootstrap/inventory/prod/inventory.ini b/bootstrap/inventory/prod/inventory.ini index b556b7e..74f79ef 100644 --- a/bootstrap/inventory/prod/inventory.ini +++ b/bootstrap/inventory/prod/inventory.ini @@ -2,7 +2,8 @@ # ## different ip than the default iface # ## We should set etcd_member_name for etcd cluster. The node that is not a etcd member do not need to set the value, or can set the empty string value. [all] -haumdaucher ansible_host=136.243.23.215 etcd_member_name=etcd1 ansible_become=yes ansible_become_method=sudo ansible_python_interpreter=/usr/bin/python3 metrics_server_enabled=false dns_min_replicas=1 +haumdaucher +jetson1.dyndns.moritzgraf.de # container_manager=containerd resolvconf_mode=docker_dns #ns3088070.ip-37-59-40.eu ansible_host=37.59.40.95 ansible_become=yes ansible_become_method=sudo ansible_python_interpreter=/usr/bin/python3 @@ -26,6 +27,7 @@ haumdaucher [kube-node] haumdaucher +jetson1.dyndns.moritzgraf.de [calico-rr]