During Resource Enrollment
cc-ansible --playbook ./playbooks/k3s.yml issues
Unable to read /etc/rancher/k3s/k3s.yaml
kubectl get pods -A -o wide
WARN[0000] Unable to read /etc/rancher/k3s/k3s.yaml, please start server with --write-kubeconfig-mode to modify kube config permissions
error: error loading config file "/etc/rancher/k3s/k3s.yaml": open /etc/rancher/k3s/k3s.yaml: permission deniedwrite-kubeconfig-mode: "0644"Wait till the Tigera Operator has fully applied
k3s : Wait till the Tigera Operator has fully applied
fatal: [edge -> localhost]: FAILED! => {"changed": false, "msg": "Failed to gather information about TigeraStatus(s) even after waiting for 123 seconds"}- name: Wait till the Tigera Operator has fully applied
delegate_to: "{{ groups['deployment'][0] }}"
kubernetes.core.k8s_info:
kind: TigeraStatus
name: calico
namespace: default
wait: yes
wait_condition:
type: "Available"
status: "True"
reason: "AllObjectsAvailable"
wait_timeout: 300
- name: Wait till the Calico Installation is created
delegate_to: "{{ groups['deployment'][0] }}"
kubernetes.core.k8s_info:
kind: Installation
name: default
namespace: default
wait: yes
wait_condition:
type: "Ready"
status: "True"
reason: "AllObjectsAvailable"
wait_timeout: 300Change cluster ip CIDR
Apply Calico network policies
Configure Neutron
Generate Calico/Neutron connection script
NOTE: Run these when a new snapshot is loaded:
Last updated