By default, Kubernetes creates self-sign certificates for your machine and runs on localhost using the URL given at the time of installation. There’re many ways to set up the Kubernetes in the Linux machine.
If you face any issue like Kubernetes Repo Problem with the SSL CA certificate like below error. There must be a Kubernetes certificate expired or Kubernetes is not ready state.
Kubernetes Repo Problem with the SSL CA:
Error : Trying other mirror. https://packages.cloud.google.com/yum/repos/kubernetes-el7-x86_64/repodata/repomd.xml: [Errno 14] curl#77 - "Problem with the SSL CA cert (path? access rights?)"
If you don’t have a certificate to download the Kubernetes repository, So you can simply change the protocol type in the Kubernetes repository. so
Check Out: Install a Standalone Master Kubernetes
Download the Kubernetes Repository:
Step 1: As you can see I was trying to get Kubernetes Repository and I got this error and no packages are available.
Step 2: The Repository Code is here.
You may get this repository from official Kubernetes Sites.
Step 3: You just need to change https to http, then run yum repolist
Now you have Kubernetes repository and packages. so
You’re done kubernetes certificate expired ssl issue kubernetes kubernetes not ready state push notifications service