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 #2
Created 31 August 2023 09:59:54 by Kieran Mitchell Lane
Updated 31 August 2023 15:34:48 by Kieran Mitchell Lane