Merge branch 'fix-k3s-config' into 'development'
fix: k3s config See merge request nofusscomputing/projects/ansible/kubernetes!23
This commit is contained in:
@ -5,9 +5,9 @@ kind: FelixConfiguration
|
|||||||
metadata:
|
metadata:
|
||||||
name: default
|
name: default
|
||||||
spec:
|
spec:
|
||||||
bpfConnectTimeLoadBalancing: TCP
|
# bpfConnectTimeLoadBalancing: TCP
|
||||||
bpfExternalServiceMode: DSR
|
# bpfExternalServiceMode: DSR
|
||||||
bpfHostNetworkedNATWithoutCTLB: Enabled
|
# bpfHostNetworkedNATWithoutCTLB: Enabled
|
||||||
bpfLogLevel: ""
|
bpfLogLevel: ""
|
||||||
floatingIPs: Disabled
|
floatingIPs: Disabled
|
||||||
healthPort: 9099
|
healthPort: 9099
|
||||||
|
|||||||
@ -42,4 +42,12 @@ spec:
|
|||||||
nonPrivileged: Disabled
|
nonPrivileged: Disabled
|
||||||
serviceCIDRs:
|
serviceCIDRs:
|
||||||
- {{ kubernetes_config.cluster.networking.ServiceSubnet }}
|
- {{ kubernetes_config.cluster.networking.ServiceSubnet }}
|
||||||
|
typhaDeployment:
|
||||||
|
spec:
|
||||||
|
template:
|
||||||
|
spec:
|
||||||
|
tolerations:
|
||||||
|
- effect: NoExecute
|
||||||
|
key: CriticalAddonsOnly
|
||||||
|
value: "true"
|
||||||
variant: Calico
|
variant: Calico
|
||||||
|
|||||||
@ -124,7 +124,6 @@
|
|||||||
",ephemeral-storage=" + kubelet_arg_system_reserved_storage
|
",ephemeral-storage=" + kubelet_arg_system_reserved_storage
|
||||||
],
|
],
|
||||||
"node-name": inventory_hostname,
|
"node-name": inventory_hostname,
|
||||||
"node-ip": ansible_default_ipv4.address
|
|
||||||
}
|
}
|
||||||
|
|
||||||
-%}
|
-%}
|
||||||
@ -201,9 +200,16 @@
|
|||||||
-%}
|
-%}
|
||||||
|
|
||||||
{%- set all_nodes_config = all_nodes_config | combine({
|
{%- set all_nodes_config = all_nodes_config | combine({
|
||||||
"node-external-ip": host_external_ip,
|
"node-external-ip": host_external_ip
|
||||||
}) -%}
|
}) -%}
|
||||||
|
|
||||||
|
{%- else -%}
|
||||||
|
|
||||||
|
{%- set all_nodes_config = all_nodes_config | combine({
|
||||||
|
"node-ip": ansible_default_ipv4.address
|
||||||
|
}) -%}
|
||||||
|
|
||||||
|
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
|
||||||
{# EoF All Nodes #}
|
{# EoF All Nodes #}
|
||||||
|
|||||||
Reference in New Issue
Block a user