Kubernetes internal certificates have expired

Issue

Environment

Resolution

Run the following commands to refresh your internal certificates:

  1. sudo microk8s.refresh-certs -e server.crt
  2. sudo microk8s.refresh-certs -e front-proxy-client.crt
  3. sudo snap restart microk8s

Root Cause

Most likely caused by an open issue with microk8s regarding auto-renewing of certificates, see Issue 2489.


Revision #3
Created 31 August 2023 09:59:54 by Kieran Mitchell Lane
Updated 6 November 2024 12:49:46 by Kieran Mitchell Lane