Skip to content

enix/ansible-kubeadm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Julien Girardin
Apr 17, 2024
80d7257 · Apr 17, 2024
Apr 27, 2023
Mar 14, 2023
Jan 18, 2024
Jan 18, 2024
Mar 2, 2023
Apr 17, 2024
Dec 8, 2023
Jan 11, 2024
Apr 11, 2022
Mar 14, 2023
Mar 14, 2023
Jul 3, 2020
Nov 20, 2023
Sep 10, 2021
Jul 24, 2023
Apr 25, 2023
Jan 18, 2024
Jan 18, 2024
Jul 3, 2020
Nov 20, 2023
Nov 20, 2023

Repository files navigation

ansible-kubeadm

Aims to manage kubeadm based cluster via ansible

What ansible-kubeadm can do:

  • Install kubeadm on a variety of linux distribution
  • lock kubeadm package to avoid upgrade
  • init a cluster and join node in a idempotent manner
  • upgrade a cluster in an indempotent maner (just add +1 to minor version config and your good to go !)

What ansible-kubeadm expect to be done and will not do:

  • Upgrading distro
  • Upgrade the kernel
  • install ntp
  • installing docker (or whatever CRI)
  • disable swap
  • remove unattented-upgrade
  • configure CNI

Quickstart

see Quickstart

Configuration

If you want a customized (ansible-)kubeadm experience there is a number of variables you can use:

Variables reference

Flow

If you're looking for what ansible-kubeadm is doing step-by-step, hooks && plugins is a good way to start.

Migration planning

Long term migration plan, [*] to indicate current phase

Reason Phase 1 Phase 2 Phase 3
Docker has been deprecated in kubernetes since 1.24+ [*] haproxy pkg used by default for proxy. Able to install compose-based proxy. Migration from compose to pkg possible Not able to install compose-based proxy. Migration possible Migration phased out

Tips and Tricks

Tips&Tricks