[genar@localhost ~]$ kubectl get pods
Kubernetes is an open-source system for automating deployment, scaling, and management of containerized applications.
The kubernetes objects are grouped by the next hight level types of resources:
- Discovery & LB
- Config & Storage
- ResourceSpec: Filled by the user. Describes the desired state of system.
- ResourceStatus: Filled by the server. Reports the current state of the system.
- Resource ObjectMeta: This is metadatada about the resource, such as its name, type, api veresion, annotations, and labels. May be updated both by the end user and the system.
- Containers: A single application container that you want to run within a pod.
- CronJob: CronJob represents the configuration of a single cron job.
- DaemonSet: Represents the configuration of a daemon set.
- Deployments: for stateless persistent apps (e.g. http servers)
- Jobs: for run-to-completion apps (e.g. batch jobs)
- Pod: Collection of containers that can run on a host. This resource is created by clients and scheduled onto hosts.
- ReplicaSet: ReplicaSet ensures that a specified number of pod replicas are running at any given time.
- ReplicationController: Represents the configuration of a replication controller.
- StatefulSets: for stateful persistent apps (e.g. databases)
To access your kubernetes dashboard just open a proxy typing
kubectl proxy and open http://localhost:8001/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy/
- kubectl - kubectl is a command line interface for running commands against Kubernetes clusters.
kubectl describe pods
The package manager for Kubernetes
Helm is the best way to find, share, and use software built for Kubernetes.
- charts - Curated applications for Kubernetes
- Packing a Kubernetes Microservices App with Helm
- skaffold - Easy and Repeatable Kubernetes Development
- kind - Kubernetes-in-Docker - A single node cluster to run your CI tests against thats ready in 30 seconds
Run Kubernetes locally
systemctl stop localkube