Warning: THIS WIKI IS DEPRECATED. It is no longer being maintained, and contains outdated and incorrect information. Please refer to the Void Handbook, https://docs.voidlinux.org/, for the official documentation. If you can't find the information you're seeking, please raise an issue at https://github.com/void-linux/void-docs/issues

Kubernetes -

From Void Linux Wiki
Jump to navigation Jump to 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

To further debug and diagnose cluster problems, use

# kubectl cluster-info dump

External links