diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index b2d3ccb..c9c08e5 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1 +1 @@ -github: [Muthukumar-Subramaniam] +github: [Muthukumar-Subramaniam] diff --git a/inst-k8s-ansible.tar.gz b/inst-k8s-ansible.tar.gz index 9036424..8c88082 100644 Binary files a/inst-k8s-ansible.tar.gz and b/inst-k8s-ansible.tar.gz differ diff --git a/inst-k8s-ansible/ansible.cfg b/inst-k8s-ansible/ansible.cfg index e9a6453..d07a952 100644 --- a/inst-k8s-ansible/ansible.cfg +++ b/inst-k8s-ansible/ansible.cfg @@ -1,4 +1,4 @@ -##Version : v2.2.6 +##Version : v2.2.7 [defaults] interpreter_python=/usr/bin/python3 inventory=./inventory diff --git a/inst-k8s-ansible/inst-k8s-ansible.yaml b/inst-k8s-ansible/inst-k8s-ansible.yaml index 0feb84f..5726b00 100644 --- a/inst-k8s-ansible/inst-k8s-ansible.yaml +++ b/inst-k8s-ansible/inst-k8s-ansible.yaml @@ -1,5 +1,5 @@ #!/usr/bin/env ansible-playbook -##Version : v2.2.6 +##Version : v2.2.7 - name: Install and configure the kubernetes cluster on linux nodes hosts: k8s_cluster_ctrl_plane_node, k8s_cluster_worker_nodes roles: diff --git a/inst-k8s-ansible/optional-install-metallb.yaml b/inst-k8s-ansible/optional-install-metallb.yaml index a05a3ea..e7073fe 100644 --- a/inst-k8s-ansible/optional-install-metallb.yaml +++ b/inst-k8s-ansible/optional-install-metallb.yaml @@ -1,5 +1,5 @@ #!/usr/bin/env ansible-playbook -##Version : v2.2.6 +##Version : v2.2.7 ### Optional metallb installation for k8s cluster ### Run it if required only after the k8s cluster is Ready diff --git a/inst-k8s-ansible/optional-k8s-csi-nfs-driver.yaml b/inst-k8s-ansible/optional-k8s-csi-nfs-driver.yaml index f5c562c..1a0e28a 100644 --- a/inst-k8s-ansible/optional-k8s-csi-nfs-driver.yaml +++ b/inst-k8s-ansible/optional-k8s-csi-nfs-driver.yaml @@ -1,5 +1,5 @@ #!/usr/bin/env ansible-playbook -##Version : v2.2.6 +##Version : v2.2.7 ### Optional CSI NFS Driver for k8s cluster ### Run it if required only after the k8s cluster is Ready - name: Install CSI NFS Driver for k8s cluster diff --git a/inst-k8s-ansible/optional-k8s-csi-smb-driver.yaml b/inst-k8s-ansible/optional-k8s-csi-smb-driver.yaml index b0930f0..583032b 100644 --- a/inst-k8s-ansible/optional-k8s-csi-smb-driver.yaml +++ b/inst-k8s-ansible/optional-k8s-csi-smb-driver.yaml @@ -1,5 +1,5 @@ #!/usr/bin/env ansible-playbook -##Version : v2.2.6 +##Version : v2.2.7 ### Optional CSI SMB Driver for k8s cluster ### Run it if required only after the k8s cluster is Ready - name: Install CSI SMB Driver for k8s cluster diff --git a/inst-k8s-ansible/playbook_version.json b/inst-k8s-ansible/playbook_version.json index b6e9fe9..ca018df 100644 --- a/inst-k8s-ansible/playbook_version.json +++ b/inst-k8s-ansible/playbook_version.json @@ -1,6 +1,6 @@ { "schemaVersion": 1, "label": "stable release", - "message": "v2.2.6", + "message": "v2.2.7", "color": "brightgreen" } diff --git a/inst-k8s-ansible/roles/apply_rules_for_firewalld/tasks/apply_rules.yaml b/inst-k8s-ansible/roles/apply_rules_for_firewalld/tasks/apply_rules.yaml index 8ec8f22..ca33c8f 100644 --- a/inst-k8s-ansible/roles/apply_rules_for_firewalld/tasks/apply_rules.yaml +++ b/inst-k8s-ansible/roles/apply_rules_for_firewalld/tasks/apply_rules.yaml @@ -1,4 +1,4 @@ -##Version : v2.2.6 +##Version : v2.2.7 - name: Allow Kubernetes related ports for control plane node become: true ansible.posix.firewalld: diff --git a/inst-k8s-ansible/roles/apply_rules_for_firewalld/tasks/main.yaml b/inst-k8s-ansible/roles/apply_rules_for_firewalld/tasks/main.yaml index 23be5c8..ed23ff0 100644 --- a/inst-k8s-ansible/roles/apply_rules_for_firewalld/tasks/main.yaml +++ b/inst-k8s-ansible/roles/apply_rules_for_firewalld/tasks/main.yaml @@ -1,4 +1,4 @@ -##Version : v2.2.6 +##Version : v2.2.7 - name: Check if firewalld is active become: true command: systemctl is-active firewalld diff --git a/inst-k8s-ansible/roles/check_cluster_ready_status/tasks/main.yaml b/inst-k8s-ansible/roles/check_cluster_ready_status/tasks/main.yaml index 603c2d5..83f8155 100644 --- a/inst-k8s-ansible/roles/check_cluster_ready_status/tasks/main.yaml +++ b/inst-k8s-ansible/roles/check_cluster_ready_status/tasks/main.yaml @@ -1,4 +1,4 @@ -##Version : v2.2.6 +##Version : v2.2.7 ### Role to check the k8s cluster Ready status - name: Get the current status of all the cluster nodes command: kubectl get nodes diff --git a/inst-k8s-ansible/roles/fetch_latest_version_number/tasks/main.yaml b/inst-k8s-ansible/roles/fetch_latest_version_number/tasks/main.yaml index 743ed65..bb76d14 100644 --- a/inst-k8s-ansible/roles/fetch_latest_version_number/tasks/main.yaml +++ b/inst-k8s-ansible/roles/fetch_latest_version_number/tasks/main.yaml @@ -1,4 +1,4 @@ -##Version : v2.2.6 +##Version : v2.2.7 ### Role to Fetch latest version of software components to be installed from GitHub API - name: Get latest version information of runc delegate_to: local-ansible-control-host diff --git a/inst-k8s-ansible/roles/install_and_configure_metallb/tasks/main.yaml b/inst-k8s-ansible/roles/install_and_configure_metallb/tasks/main.yaml index b350987..7180a2a 100644 --- a/inst-k8s-ansible/roles/install_and_configure_metallb/tasks/main.yaml +++ b/inst-k8s-ansible/roles/install_and_configure_metallb/tasks/main.yaml @@ -1,4 +1,4 @@ -##Version : v2.2.6 +##Version : v2.2.7 ###Tasks to install and configure metallb for k8s cluster - name: Gather the list of pods from all namespaces command: kubectl get pods -A --no-headers diff --git a/inst-k8s-ansible/roles/install_and_configure_the_cluster/tasks/apply_calico_cni_manifest.yaml b/inst-k8s-ansible/roles/install_and_configure_the_cluster/tasks/apply_calico_cni_manifest.yaml index a31bd76..6e9a4cc 100644 --- a/inst-k8s-ansible/roles/install_and_configure_the_cluster/tasks/apply_calico_cni_manifest.yaml +++ b/inst-k8s-ansible/roles/install_and_configure_the_cluster/tasks/apply_calico_cni_manifest.yaml @@ -1,4 +1,4 @@ -##Version : v2.2.6 +##Version : v2.2.7 - name: Gather the list of pods from all namespaces command: kubectl get pods -A --no-headers register: var_list_of_all_pods diff --git a/inst-k8s-ansible/roles/install_and_configure_the_cluster/tasks/create_kube_config.yaml b/inst-k8s-ansible/roles/install_and_configure_the_cluster/tasks/create_kube_config.yaml index 169dbd3..5d6f37a 100644 --- a/inst-k8s-ansible/roles/install_and_configure_the_cluster/tasks/create_kube_config.yaml +++ b/inst-k8s-ansible/roles/install_and_configure_the_cluster/tasks/create_kube_config.yaml @@ -1,4 +1,4 @@ -##Version : v2.2.6 +##Version : v2.2.7 - name: Create directory /home/{{ var_k8s_user }}/.kube file: path: "/home/{{ var_k8s_user }}/.kube" diff --git a/inst-k8s-ansible/roles/install_and_configure_the_cluster/tasks/kubeadm_config_images_pull.yaml b/inst-k8s-ansible/roles/install_and_configure_the_cluster/tasks/kubeadm_config_images_pull.yaml index 39fdcc7..efb0c85 100644 --- a/inst-k8s-ansible/roles/install_and_configure_the_cluster/tasks/kubeadm_config_images_pull.yaml +++ b/inst-k8s-ansible/roles/install_and_configure_the_cluster/tasks/kubeadm_config_images_pull.yaml @@ -1,4 +1,4 @@ -##Version : v2.2.6 +##Version : v2.2.7 - name: Get the list of Kubernetes config images become: true command: kubeadm config images list diff --git a/inst-k8s-ansible/roles/install_and_configure_the_cluster/tasks/kubeadm_init.yaml b/inst-k8s-ansible/roles/install_and_configure_the_cluster/tasks/kubeadm_init.yaml index be29ccf..6c7e19c 100644 --- a/inst-k8s-ansible/roles/install_and_configure_the_cluster/tasks/kubeadm_init.yaml +++ b/inst-k8s-ansible/roles/install_and_configure_the_cluster/tasks/kubeadm_init.yaml @@ -1,4 +1,4 @@ -##Version : v2.2.6 +##Version : v2.2.7 - name: Check if kubeadm init has been performed stat: path: /etc/kubernetes/admin.conf diff --git a/inst-k8s-ansible/roles/install_and_configure_the_cluster/tasks/main.yaml b/inst-k8s-ansible/roles/install_and_configure_the_cluster/tasks/main.yaml index 664175c..470787c 100644 --- a/inst-k8s-ansible/roles/install_and_configure_the_cluster/tasks/main.yaml +++ b/inst-k8s-ansible/roles/install_and_configure_the_cluster/tasks/main.yaml @@ -1,4 +1,4 @@ -##Version : v2.2.6 +##Version : v2.2.7 - set_fact: var_k8s_ctrl_plane_node: "{{ ansible_host }}" var_k8s_user: "{{ ansible_user }}" diff --git a/inst-k8s-ansible/roles/install_and_configure_the_cluster/vars/main.yaml b/inst-k8s-ansible/roles/install_and_configure_the_cluster/vars/main.yaml index 1f23ab4..fddf848 100644 --- a/inst-k8s-ansible/roles/install_and_configure_the_cluster/vars/main.yaml +++ b/inst-k8s-ansible/roles/install_and_configure_the_cluster/vars/main.yaml @@ -1,2 +1,2 @@ -##Version : v2.2.6 +##Version : v2.2.7 var_k8s_pod_network_cidr: "10.8.0.0/16" diff --git a/inst-k8s-ansible/roles/install_k8s_csi_nfs_driver/tasks/main.yaml b/inst-k8s-ansible/roles/install_k8s_csi_nfs_driver/tasks/main.yaml index cb2ddfe..8794b1e 100644 --- a/inst-k8s-ansible/roles/install_k8s_csi_nfs_driver/tasks/main.yaml +++ b/inst-k8s-ansible/roles/install_k8s_csi_nfs_driver/tasks/main.yaml @@ -1,4 +1,4 @@ -##Version : v2.2.6 +##Version : v2.2.7 ### Optional csi-nfs-driver for k8s cluster - name: Gather the list of pods from all namespaces command: kubectl get pods -A --no-headers diff --git a/inst-k8s-ansible/roles/install_k8s_csi_smb_driver/tasks/main.yaml b/inst-k8s-ansible/roles/install_k8s_csi_smb_driver/tasks/main.yaml index 30b7dc6..64a947c 100644 --- a/inst-k8s-ansible/roles/install_k8s_csi_smb_driver/tasks/main.yaml +++ b/inst-k8s-ansible/roles/install_k8s_csi_smb_driver/tasks/main.yaml @@ -1,4 +1,4 @@ -##Version : v2.2.6 +##Version : v2.2.7 ### Optional csi-smb-driver for k8s cluster - name: Gather the list of pods from all namespaces command: kubectl get pods -A --no-headers diff --git a/inst-k8s-ansible/roles/join_worker_nodes_to_the_cluster/tasks/main.yaml b/inst-k8s-ansible/roles/join_worker_nodes_to_the_cluster/tasks/main.yaml index 7e11d1d..7e50c6f 100644 --- a/inst-k8s-ansible/roles/join_worker_nodes_to_the_cluster/tasks/main.yaml +++ b/inst-k8s-ansible/roles/join_worker_nodes_to_the_cluster/tasks/main.yaml @@ -1,4 +1,4 @@ -##Version : v2.2.6 +##Version : v2.2.7 ###Role to Register worker nodes with the k8s cluster with kubeadm join command - name: Check whether the worker node has joined the cluster already stat: diff --git a/inst-k8s-ansible/roles/prepare_all_the_cluster_nodes/tasks/debian_tasks.yaml b/inst-k8s-ansible/roles/prepare_all_the_cluster_nodes/tasks/debian_tasks.yaml index c6a69c5..1b9d266 100644 --- a/inst-k8s-ansible/roles/prepare_all_the_cluster_nodes/tasks/debian_tasks.yaml +++ b/inst-k8s-ansible/roles/prepare_all_the_cluster_nodes/tasks/debian_tasks.yaml @@ -1,4 +1,4 @@ -##Version : v2.2.6 +##Version : v2.2.7 - name: Add k8s gpg apt-key ( Debian based systems ) become: true apt_key: diff --git a/inst-k8s-ansible/roles/prepare_all_the_cluster_nodes/tasks/disable_swap.yaml b/inst-k8s-ansible/roles/prepare_all_the_cluster_nodes/tasks/disable_swap.yaml index 6e75d2e..8201a29 100644 --- a/inst-k8s-ansible/roles/prepare_all_the_cluster_nodes/tasks/disable_swap.yaml +++ b/inst-k8s-ansible/roles/prepare_all_the_cluster_nodes/tasks/disable_swap.yaml @@ -1,4 +1,4 @@ -##Version : v2.2.6 +##Version : v2.2.7 - name: Check if swap is enabled become: true command: swapon --show diff --git a/inst-k8s-ansible/roles/prepare_all_the_cluster_nodes/tasks/install_containerd.yaml b/inst-k8s-ansible/roles/prepare_all_the_cluster_nodes/tasks/install_containerd.yaml index 7b8547f..2e03040 100644 --- a/inst-k8s-ansible/roles/prepare_all_the_cluster_nodes/tasks/install_containerd.yaml +++ b/inst-k8s-ansible/roles/prepare_all_the_cluster_nodes/tasks/install_containerd.yaml @@ -1,4 +1,4 @@ -##Version : v2.2.6 +##Version : v2.2.7 - name: Download official binary tarball of latest containerd ( {{ var_containerd_latest_version }} ) to local-ansible-control-host delegate_to: local-ansible-control-host run_once: true @@ -46,23 +46,6 @@ content: "{{ var_containerd_config.stdout }}" dest: /etc/containerd/config.toml -- name: Set SystemdCgroup as true in /etc/containerd/config.toml for runc - become: true - replace: - path: /etc/containerd/config.toml - regexp: 'SystemdCgroup = false' - replace: 'SystemdCgroup = true' - -- name: Check SystemdCgroup setting of containerd for runc - command: grep 'SystemdCgroup' /etc/containerd/config.toml - register: var_SystemdCgroup_output - changed_when: false - -- name: Notify SystemdCgroup setting of containerd for runc - debug: - msg: |- - SystemdCgroup setting of containerd for runc is {{ var_SystemdCgroup_output.stdout_lines }} - - name: Download containerd.service file from GitHub become: true get_url: diff --git a/inst-k8s-ansible/roles/prepare_all_the_cluster_nodes/tasks/install_runc.yaml b/inst-k8s-ansible/roles/prepare_all_the_cluster_nodes/tasks/install_runc.yaml index 859e638..ff9078e 100644 --- a/inst-k8s-ansible/roles/prepare_all_the_cluster_nodes/tasks/install_runc.yaml +++ b/inst-k8s-ansible/roles/prepare_all_the_cluster_nodes/tasks/install_runc.yaml @@ -1,4 +1,4 @@ -##Version : v2.2.6 +##Version : v2.2.7 - name: Download latest official runc ( {{ var_runc_latest_version }} ) binary to local-ansible-control-host delegate_to: local-ansible-control-host run_once: true diff --git a/inst-k8s-ansible/roles/prepare_all_the_cluster_nodes/tasks/load_kernel_modules.yaml b/inst-k8s-ansible/roles/prepare_all_the_cluster_nodes/tasks/load_kernel_modules.yaml index 9902bd6..dc3ad3a 100644 --- a/inst-k8s-ansible/roles/prepare_all_the_cluster_nodes/tasks/load_kernel_modules.yaml +++ b/inst-k8s-ansible/roles/prepare_all_the_cluster_nodes/tasks/load_kernel_modules.yaml @@ -1,4 +1,4 @@ -##Version : v2.2.6 +##Version : v2.2.7 - name: Load the required kernel modules become: true modprobe: diff --git a/inst-k8s-ansible/roles/prepare_all_the_cluster_nodes/tasks/load_kernel_parameters.yaml b/inst-k8s-ansible/roles/prepare_all_the_cluster_nodes/tasks/load_kernel_parameters.yaml index 3ce1d16..bdf2284 100644 --- a/inst-k8s-ansible/roles/prepare_all_the_cluster_nodes/tasks/load_kernel_parameters.yaml +++ b/inst-k8s-ansible/roles/prepare_all_the_cluster_nodes/tasks/load_kernel_parameters.yaml @@ -1,4 +1,4 @@ -##Version : v2.2.6 +##Version : v2.2.7 - name: Load the required kernel parameters become: true ansible.posix.sysctl: diff --git a/inst-k8s-ansible/roles/prepare_all_the_cluster_nodes/tasks/main.yaml b/inst-k8s-ansible/roles/prepare_all_the_cluster_nodes/tasks/main.yaml index 89fb4d6..ea5d571 100644 --- a/inst-k8s-ansible/roles/prepare_all_the_cluster_nodes/tasks/main.yaml +++ b/inst-k8s-ansible/roles/prepare_all_the_cluster_nodes/tasks/main.yaml @@ -1,4 +1,4 @@ -##Version : v2.2.6 +##Version : v2.2.7 ###Tasks to upgrade the system packages - name: Include tasks to upgrade the system packages include_tasks: upgrade_os.yaml diff --git a/inst-k8s-ansible/roles/prepare_all_the_cluster_nodes/tasks/redhat_tasks.yaml b/inst-k8s-ansible/roles/prepare_all_the_cluster_nodes/tasks/redhat_tasks.yaml index 2fdd13b..2579fb5 100644 --- a/inst-k8s-ansible/roles/prepare_all_the_cluster_nodes/tasks/redhat_tasks.yaml +++ b/inst-k8s-ansible/roles/prepare_all_the_cluster_nodes/tasks/redhat_tasks.yaml @@ -1,4 +1,4 @@ -##Version : v2.2.6 +##Version : v2.2.7 - name: Add k8s rpm repository ( RedHat based systems ) become: true yum_repository: diff --git a/inst-k8s-ansible/roles/prepare_all_the_cluster_nodes/tasks/suse_tasks.yaml b/inst-k8s-ansible/roles/prepare_all_the_cluster_nodes/tasks/suse_tasks.yaml index afb9171..131d821 100644 --- a/inst-k8s-ansible/roles/prepare_all_the_cluster_nodes/tasks/suse_tasks.yaml +++ b/inst-k8s-ansible/roles/prepare_all_the_cluster_nodes/tasks/suse_tasks.yaml @@ -1,4 +1,4 @@ -##Version : v2.2.6 +##Version : v2.2.7 - name: Add k8s rpm repository ( Suse based systems ) become: true zypper_repository: diff --git a/inst-k8s-ansible/roles/prepare_all_the_cluster_nodes/tasks/upgrade_os.yaml b/inst-k8s-ansible/roles/prepare_all_the_cluster_nodes/tasks/upgrade_os.yaml index 67dcb53..8cb3840 100644 --- a/inst-k8s-ansible/roles/prepare_all_the_cluster_nodes/tasks/upgrade_os.yaml +++ b/inst-k8s-ansible/roles/prepare_all_the_cluster_nodes/tasks/upgrade_os.yaml @@ -1,4 +1,4 @@ -## Version : v2.2.6 +## Version : v2.2.7 - name: Upgrade the system packages (RedHat based systems) become: true when: ansible_os_family == "RedHat" diff --git a/inst-k8s-ansible/roles/prepare_all_the_cluster_nodes/vars/main.yaml b/inst-k8s-ansible/roles/prepare_all_the_cluster_nodes/vars/main.yaml index d654d89..18bce24 100644 --- a/inst-k8s-ansible/roles/prepare_all_the_cluster_nodes/vars/main.yaml +++ b/inst-k8s-ansible/roles/prepare_all_the_cluster_nodes/vars/main.yaml @@ -1,3 +1,3 @@ -##Version : v2.2.6 +##Version : v2.2.7 var_containerd_temp_binary_tarball: "/tmp/temp-containerd.tar.gz" var_runc_temp_binary: "/tmp/temp-runc" diff --git a/inst-k8s-ansible/setup.py b/inst-k8s-ansible/setup.py index 885c787..3b0e6e5 100644 --- a/inst-k8s-ansible/setup.py +++ b/inst-k8s-ansible/setup.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -##Version : v2.2.6 +##Version : v2.2.7 import os import re