install-k8s-on-linux

Ansible playbook for a kubeadm-based Kubernetes cluster installation on Linux (Red Hat, Debian, and SUSE-based distributions) with a single control plane node and multiple worker nodes for development and testing purposes.

GPL-3.0 License

Stars
9

Bot releases are hidden (Show)

install-k8s-on-linux - v2.1.2 Latest Release

Published by Muthukumar-Subramaniam about 1 month ago

Bug fixes and improvements in stability.

Full Changelog: https://github.com/Muthukumar-Subramaniam/install-k8s-on-linux/compare/v2.1.1...v2.1.2

install-k8s-on-linux - v2.1.1

Published by Muthukumar-Subramaniam about 1 month ago

Bug Fix Release : v2.1.1

  1. Removed the workaround for kubelet dependency issue with conntrack-tools as the issue has been now fixed by the patch release of
    kubernetes version v1.31.1
    References :
    kubernetes/release#3711
    kubernetes/release#3714

  2. Migrated optional-k8s-csi-nfs-driver.yaml and optional-k8s-csi-smb-driver.yaml to utilize ansible roles.

Full Changelog: https://github.com/Muthukumar-Subramaniam/install-k8s-on-linux/compare/v2.1.0...v2.1.1

install-k8s-on-linux - v2.1.0

Published by Muthukumar-Subramaniam about 1 month ago

Many bug fixes.
Improved stability by incorporating roles.
Removed unwanted multiple ssh sessions from playbook run.
Added new feature setup.sh to ease up setting up the environment required for the playbook.
( No need to manually edit inventory or variables)

Have lots of fun!

Full Changelog: https://github.com/Muthukumar-Subramaniam/install-k8s-on-linux/compare/v2.0.1...v2.1.0

install-k8s-on-linux - v2.0.1

Published by Muthukumar-Subramaniam about 1 month ago

Bug fixes and stability improvements.
Added optional playbooks to install csi-nfs-driver and csi-smb-driver.

Full Changelog: https://github.com/Muthukumar-Subramaniam/install-k8s-on-linux/compare/v2.0.0...v2.0.1

install-k8s-on-linux - v2.0.0

Published by Muthukumar-Subramaniam about 1 month ago

Major Version Upgrade : Using Ansible template instead of old bash script based installation of k8s on linux nodes

Why Ansible?

Ansible offers several advantages over traditional Bash scripting for configuration management and automation tasks:  

  1. Declarative approach:

Ansible uses a declarative approach, where you describe the desired state of your systems. This makes your scripts more readable, maintainable, and easier to understand.  
Bash scripts, on the other hand, are imperative, requiring you to specify the exact steps to achieve the desired state.  
2. Idempotency:

Ansible is idempotent, meaning it can be safely run multiple times without causing unintended changes. If a configuration is already in the desired state, Ansible will do nothing.  
Bash scripts, unless carefully designed, may not be idempotent, leading to inconsistent results.
3. Modularity:

Ansible is built around the concept of modules, which encapsulate specific tasks. This promotes reusability and makes it easier to manage complex configurations.  
Bash scripts often require more manual effort to break down tasks into smaller, reusable components.
4. Inventory management:

Ansible provides a powerful inventory system for managing groups of hosts. This makes it easy to target specific systems or groups for configuration changes.  
Bash scripts typically require manual management of host lists.
5. Role-based configuration:

Ansible allows you to organize tasks into roles, which can be reused across different playbooks. This promotes modularity and reusability.  
Bash scripts often lack built-in support for roles and modularization.
6. Built-in features:

Ansible includes many built-in features and modules for common configuration tasks, such as managing packages, services, and files.  
Bash scripts may require you to write custom code for these tasks.
7. Community and ecosystem:

Ansible has a large and active community with extensive documentation, tutorials, and modules available.  
This makes it easier to learn and use Ansible effectively.
While Bash scripting can be useful for simple tasks, Ansible offers a more robust and efficient solution for complex configuration management and automation needs. By leveraging Ansible's declarative approach, idempotency, modularity, and other features, you can streamline your workflows and improve the reliability of your infrastructure.  

Full Changelog: https://github.com/Muthukumar-Subramaniam/install-k8s-on-linux/compare/v1.0.3...v2.0.0

install-k8s-on-linux - v1.0.3

Published by Muthukumar-Subramaniam about 1 month ago

install-k8s-on-linux - v1.0.2

Published by Muthukumar-Subramaniam about 1 month ago

Minor execution sequence change in install-k8s-on-linux.sh for SUSE based distributions required package installation.
No other changes since the below previous bug fix.
Bug fix : workaround for conntrack dependency issue during kubelet package installation on SUSE based distributions.
This workaround for SUSE based distributions will be removed after v1.31.1 k8s patch release.
Refer GitHub Issue : https://github.com/kubernetes/release/issues/3714

Full Changelog: https://github.com/Muthukumar-Subramaniam/install-k8s-on-linux/compare/v1.0.1...v1.0.2

install-k8s-on-linux -

Published by Muthukumar-Subramaniam about 1 month ago

Bug fix : workaround for conntrack dependency issue during kubelet package installation on SUSE based distributions.
This workaround for SUSE based distributions will be removed after v1.31.1 k8s patch release.
Refer GitHub Issue : https://github.com/kubernetes/release/issues/3714

Full Changelog: https://github.com/Muthukumar-Subramaniam/install-k8s-on-linux/compare/v1.0.0...v1.0.1

install-k8s-on-linux - v1.0.0

Published by Muthukumar-Subramaniam about 1 month ago

install-k8s-on-linux - v1.0.0-beta

Published by Muthukumar-Subramaniam about 1 month ago

install-k8s-on-linux - v1.0.0-alpha

Published by Muthukumar-Subramaniam about 1 month ago

Alpha release for testing install-k8s-on-linux.sh .

Badges
Extracted from project README's
stable release