Skip to content

Commit

Permalink
Bug Fix: Release v2.2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
Muthukumar-Subramaniam committed Nov 9, 2024
1 parent 05cda6f commit e80354e
Show file tree
Hide file tree
Showing 34 changed files with 33 additions and 50 deletions.
2 changes: 1 addition & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
github: [Muthukumar-Subramaniam]
github: [Muthukumar-Subramaniam]
Binary file modified inst-k8s-ansible.tar.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion inst-k8s-ansible/ansible.cfg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
##Version : v2.2.6
##Version : v2.2.7
[defaults]
interpreter_python=/usr/bin/python3
inventory=./inventory
Expand Down
2 changes: 1 addition & 1 deletion inst-k8s-ansible/inst-k8s-ansible.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
2 changes: 1 addition & 1 deletion inst-k8s-ansible/optional-install-metallb.yaml
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion inst-k8s-ansible/optional-k8s-csi-nfs-driver.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion inst-k8s-ansible/optional-k8s-csi-smb-driver.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion inst-k8s-ansible/playbook_version.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"schemaVersion": 1,
"label": "stable release",
"message": "v2.2.6",
"message": "v2.2.7",
"color": "brightgreen"
}
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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 }}"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
##Version : v2.2.6
##Version : v2.2.7
var_k8s_pod_network_cidr: "10.8.0.0/16"
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
##Version : v2.2.6
##Version : v2.2.7
- name: Check if swap is enabled
become: true
command: swapon --show
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
##Version : v2.2.6
##Version : v2.2.7
- name: Load the required kernel modules
become: true
modprobe:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
##Version : v2.2.6
##Version : v2.2.7
- name: Load the required kernel parameters
become: true
ansible.posix.sysctl:
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
##Version : v2.2.6
##Version : v2.2.7
- name: Add k8s rpm repository ( RedHat based systems )
become: true
yum_repository:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
##Version : v2.2.6
##Version : v2.2.7
- name: Add k8s rpm repository ( Suse based systems )
become: true
zypper_repository:
Expand Down
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
Original file line number Diff line number Diff line change
@@ -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"
2 changes: 1 addition & 1 deletion inst-k8s-ansible/setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
##Version : v2.2.6
##Version : v2.2.7

import os
import re
Expand Down

0 comments on commit e80354e

Please sign in to comment.