Kubernetes

From Void Linux Wiki
Jump to: navigation, search

According to Wikipedia-logo.png Wikipedia:

Kubernetes is an open source system for automating deployment, scaling and management of containerized applications that was originally designed by Google and donated to the Cloud Native Computing Foundation. It aims to provide a "platform for automating deployment, scaling, and operations of application containers across clusters of hosts". It supports a range of container tools, including Docker.

Installing Kubernetes via XBPS

# xbps-install kubernetes
# cd /var/service
# ln -sf /etc/sv/kube* .
# ls -l kube*
lrwxrwxrwx 1 root root 22 Jun 20 11:35 kube-apiserver -> /etc/sv/kube-apiserver
lrwxrwxrwx 1 root root 31 Jun 20 11:35 kube-controller-manager -> /etc/sv/kube-controller-manager
lrwxrwxrwx 1 root root 18 Jun 20 11:35 kube-proxy -> /etc/sv/kube-proxy
lrwxrwxrwx 1 root root 22 Jun 20 11:35 kube-scheduler -> /etc/sv/kube-scheduler
lrwxrwxrwx 1 root root 15 Jun 20 11:35 kubelet -> /etc/sv/kubelet
# kubectl cluster-info
Kubernetes master is running at https://172.16.0.174:8443

To further debug and diagnose cluster problems, use

# kubectl cluster-info dump

External links