Categories
Kubernetes

A Journey of Troubleshooting K8s

We have a k8s cluster setup but noticed that a few of our pods were in Error, Terminating or ContainerCreating states. How do we figure out what caused these error and how to we correct the errors to make sure our status is Running. We are running this on k8s version 1.17 $ kubectl version […]

Categories
Kubernetes

How to connect to your remote kuberenetes cluster with kubectl from you local?

You’ve just set up your kubernetes cluster. Excellent, now you want to start deploying your specs…but they are on a repo on your local machine. All good let’s setup your kubeconfig file so you can connect to your k8s api with kubectl. Log into your server Create a service account spec: kind: ServiceAccount metadata: name: […]