Skip to content

veekrum/renew-k8s-cert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

renew-k8s-cert

This script renews certs for kubernetes that expires anually. This script will work for all the cluster that is hosted in the HA, multi-master cluster, single master cluster.

requirement

  • script is assuming containerd as CRI. So circtl command is used to stop the services. Find what CRI is used [container runtime interfaces] in your cluster, to export for containerd. eg: -> export CONTAINER_RUNTIME_ENDPOINT=unix:///var/run/containerd/containerd.sock

Steps

  • clone the script to respective servers.
  • run the script
    • cd renew-k8s-cert
    • chmod +x renew.sh
    • bash renew.sh

About

script for renewing the kubernetes certs yearly

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages