Skip to content

gregheffner/k8-patchNbounce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Kubernetes HA Reboot Playbook

This Ansible playbook is designed to safely reboot nodes in a Kubernetes cluster. Rebooting in this fashion will not have an outage. It performs the following tasks:

  1. Drains the node to ensure that all pods are safely evicted.
  2. Reboots the node.
  3. Waits for SSH to come back up on the node.
  4. Uncordons the node to allow new pods to be scheduled.

Additionally, it waits for the Kubernetes master node to restart and then runs the cloudflared tunnel.

Usage

To run this playbook, use the following command:

ansible-playbook k8reboot.yml

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published