first_commit

This commit is contained in:
2025-06-29 15:32:24 +02:00
commit 6cde023285
7 changed files with 209 additions and 0 deletions

14
ansible/install_cni.yaml Normal file
View File

@ -0,0 +1,14 @@
- name: Install Kubernetes CNI
hosts: k8s_control_plane
become: true
tasks:
- name: Download Calico manifest
get_url:
url: https://raw.githubusercontent.com/projectcalico/calico/v3.27.3/manifests/calico.yaml
dest: /tmp/calico.yaml
mode: '0644'
- name: Apply Calico CNI plugin
shell: kubectl apply -f /tmp/calico.yaml
environment:
KUBECONFIG: /etc/kubernetes/admin.conf