* Add Tigera Operator/Calico CNI option Small tweak to reduce delta from head Set calico option to be disabled by default Add rescue blocks in case updating existing Refactor items and update comments Refactor and consolidate calico.yml into block Refactor to use template for Calico CRs Revert use_calico to false Template blockSize Align default cidr in template with all.yml sample Apply upstream version tags Revert to current ver tags. Upstream's don't work. Update template address detection Add Tigera Operator/Calico CNI option * Add calico-apiserver check * Add eBPF dataplane option * Add kube svc endpoint configmap when ebpf enabled * Add /etc/cni/net.d to reset task * Refactor based on comments * Add molecule scenario * Fix lint --------- Co-authored-by: Techno Tim <timothystewart6@gmail.com>
83 lines
1.3 KiB
Markdown
83 lines
1.3 KiB
Markdown
|
|
<!-- It's a good idea to check this post first for general troubleshooting https://github.com/techno-tim/k3s-ansible/discussions/19 -->
|
|
|
|
<!--- Provide a general summary of the issue in the Title above -->
|
|
|
|
## Expected Behavior
|
|
|
|
<!--- Tell us what should happen -->
|
|
|
|
## Current Behavior
|
|
<!--- Tell us what happens instead of the expected behavior -->
|
|
|
|
## Steps to Reproduce
|
|
|
|
<!--- reproduce this bug. Include code to reproduce, if relevant -->
|
|
|
|
1.
|
|
2.
|
|
3.
|
|
4.
|
|
|
|
## Context (variables)
|
|
<!--- please include which OS, along with the variables used when running the playbook -->
|
|
|
|
Operating system:
|
|
|
|
Hardware:
|
|
|
|
### Variables Used
|
|
|
|
`all.yml`
|
|
|
|
```yml
|
|
k3s_version: ""
|
|
ansible_user: NA
|
|
systemd_dir: ""
|
|
|
|
flannel_iface: ""
|
|
|
|
#calico_iface: ""
|
|
calico_ebpf: ""
|
|
calico_cidr: ""
|
|
calico_tag: ""
|
|
|
|
apiserver_endpoint: ""
|
|
|
|
k3s_token: "NA"
|
|
|
|
extra_server_args: ""
|
|
extra_agent_args: ""
|
|
|
|
kube_vip_tag_version: ""
|
|
|
|
metal_lb_speaker_tag_version: ""
|
|
metal_lb_controller_tag_version: ""
|
|
|
|
metal_lb_ip_range: ""
|
|
```
|
|
|
|
### Hosts
|
|
|
|
`host.ini`
|
|
|
|
```ini
|
|
[master]
|
|
IP.ADDRESS.ONE
|
|
IP.ADDRESS.TWO
|
|
IP.ADDRESS.THREE
|
|
|
|
[node]
|
|
IP.ADDRESS.FOUR
|
|
IP.ADDRESS.FIVE
|
|
|
|
[k3s_cluster:children]
|
|
master
|
|
node
|
|
```
|
|
|
|
## Possible Solution
|
|
<!--- Not obligatory, but suggest a fix/reason for the bug, -->
|
|
|
|
- [ ] I've checked the [General Troubleshooting Guide](https://github.com/techno-tim/k3s-ansible/discussions/20)
|