Add option IP autodetection methods

See below for a detailed explanation of the options.
https://projectcalico.docs.tigera.io/reference/node/configuration#ip-autodetection-methods
pull/208/head
n-guitar 2022-01-08 19:05:41 +09:00
parent f36605a9a7
commit 1a9b296d9e
2 changed files with 12 additions and 2 deletions

View File

@ -152,6 +152,12 @@ spec:
value: {{ .Values.calico.felixFailsafeInboundHostPorts | quote }} value: {{ .Values.calico.felixFailsafeInboundHostPorts | quote }}
- name: FELIX_FAILSAFEOUTBOUNDHOSTPORTS - name: FELIX_FAILSAFEOUTBOUNDHOSTPORTS
value: {{ .Values.calico.felixFailsafeOutboundHostPorts | quote }} value: {{ .Values.calico.felixFailsafeOutboundHostPorts | quote }}
# The method to use to autodetect the IPv4 address for this host.
- name: IP_AUTODETECTION_METHOD
value: {{ .Values.calico.ipAutoDetectionMethod | quote }}
# The method to use to autodetect the IPv6 address for this host.
- name: IP6_AUTODETECTION_METHOD
value: {{ .Values.calico.ip6AutoDetectionMethod | quote }}
securityContext: securityContext:
privileged: true privileged: true
resources: resources:

View File

@ -13,14 +13,14 @@ flannel:
# If left blank, then the interface is chosen using the node's # If left blank, then the interface is chosen using the node's
# default route. # default route.
iface: "" iface: ""
# kube-flannel command arguments # kube-flannel command arguments
args: args:
- "--ip-masq" - "--ip-masq"
- "--kube-subnet-mgr" - "--kube-subnet-mgr"
# Backend for kube-flannel. Backend should not be changed # Backend for kube-flannel. Backend should not be changed
# at runtime. # at runtime.
backend: "vxlan" backend: "vxlan"
calico: calico:
# CNI installation image. # CNI installation image.
cniImage: cniImage:
@ -75,6 +75,10 @@ calico:
felixFailsafeInboundHostPorts: "" felixFailsafeInboundHostPorts: ""
# calico outbound failsafe ports. Empty string means defaults. Use 'none' to disable failsafe if you have your own rules. # calico outbound failsafe ports. Empty string means defaults. Use 'none' to disable failsafe if you have your own rules.
felixFailsafeOutboundHostPorts: "" felixFailsafeOutboundHostPorts: ""
# The method to use to autodetect the IPv4 address for this host.
ipAutoDetectionMethod: "first-found"
# The method to use to autodetect the IPv6 address for this host.
ip6AutoDetectionMethod: "first-found"
global: global:
systemDefaultRegistry: "" systemDefaultRegistry: ""