Minikube is a single-node Kubernetes cluster that can be installed on macOS, Linux and Windows. It lets you to try out Kubernetes locally on your personal computer or use it for daily development work. In this note i will show how to install Minikube & Kubectl on Ubuntu (with VirtualBox) and deploy a first “Hello […]
A kubectl exec command serves for executing commands in Docker containers running inside Kubernetes Pods. With this command it is also possible to get an interactive shell to a Docker container running inside a Pod. In this post i will show how to login to a Pod and execute an interactive shell session using the […]
A Context in Kubernetes is used to group access parameters under convenient names in a kubeconfig file. Each Context has three parameters: Cluster, Namespace and User. In this note i will show how to display and how to change Context in Kubernetes using the kubectl command.
A Pod is a group of one or more containers with shared storage, network and lifecycle and is the basic deployable unit in Kubernetes. Each Pod is scheduled on the same Node, and remains there until termination or deletion. In case of a Node failure, identical Pods are scheduled on other available Nodes in the […]
Kubernetes supports multiple virtual clusters backed by the same physical cluster. These virtual clusters in Kubernetes are called Namespaces. The Namespaces allow to partition physical resources into the logically named groups, allowing a Kubernetes cluster to share resources between multiple groups. In this note i will show how get the current Namespace and how to […]
A Node in Kubernetes is a worker machine (virtual or physical), managed by the control plane. Each Node contains the services necessary to run Pods: docker, kubelet and kube-proxy. This guide describes how list Nodes in Kubernetes and how to get extended information about them using the kubectl command.