Metrics server is a component that allows you to view the metrics of your cluster. If you would like to experiment with Horizontal Pod Autoscaling (HPA), metrics server is a necessary component in Minikube.

Within minikube, metrics-server is available as a add-on. If it is not enabled already, you can…

--

--

A quick post to showcase how to print environment variables of a running pod.

A quick way to print the environment variables of a running pod is to use the following command.

kubectl exec <pod-name> -- env

For example, take a look at the sample nginx pod with few additional (MY_POD and PORT) environment variables.

apiVersion: v1
kind: Pod
metadata:
name: my-pod
spec:
containers…

--

--

Utkarsh Shigihalli

Utkarsh Shigihalli

36 Followers

Microsoft MVP | Developer | Passionate about Cloud, .NET and DevOps