Kubernetes

Prerequisites

Use the Kubernetes command-line tool, kubectl, to deploy and manage applications on Kubernetes. Using kubectl, you can inspect cluster resources; create, delete, and update components; look at your new cluster; and bring up apps.

For development and practice you can use a Minikube cluster, but it only intended for testing without pay for a cluster in a provider.

Useful commands

Deployments and status

Start deployment:

Check the status of a deployment:

Then check the status of pod:

Clean up cluster

You might need to clean up it when you work with it.

Delete all pods:

Delete all services:

Delete all deployments:

Delete all replicasets:

Delete all:

Last updated