Kubectl: Port-Forward to Service – Kubernetes

kubectl port-forward is a Kubernetes command that allows to access internal cluster resources from outside the cluster. It tunnels a traffic from a specified port on a localhost to the specified port on the specified Pod. The kubectl port-forward command is useful for troubleshooting issues, setting up services locally without exposing them, and debugging applications […]

Install Kubectx & Kubens on Windows

kubectx and kubens are two command-line tools that can help to manage Kubernetes clusters and namespaces more efficiently. kubectx is used for switching between Kubernetes contexts (clusters) faster, while kubens is used for switching between Kubernetes namespaces more easily. This post shows how to install kubectx and kubens on Windows so they can be used […]

Install Kubectl on Windows

A kubectl is the official Kubernetes command-line tool, used to run commands on Kubernetes clusters. As the kubectl is distributed as a standalone binary it can be easily downloaded from official sources and installed on Windows. In this post I will show how to download and install the latest stable version of the kubectl on […]

Kubectl: Get Logs From All Pods

Pod logs are a vital component of any Kubernetes cluster as they contain a detailed record of activities and events that occur inside containers. During some maintenance or troubleshooting you might want to get logs from all Pods using a kubectl or to watch/follow them in a real-time. This note shows how to get the […]