mirror of
https://github.com/outbackdingo/matchbox.git
synced 2026-01-27 10:19:35 +00:00
Documentation: Add docs for Kubernetes v1.3.0 dashboard
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
* Add self-hosted Kubernetes example (PXE boot or install to disk)
|
||||
* Add CoreOS Torus distributed storage cluster example (PXE boot)
|
||||
* Add `create-uefi` subcommand to `scripts/libvirt` for UEFI/GRUB testing
|
||||
* Updated Kubernetes examples to v1.2.4
|
||||
* Upgrade Kubernetes examples to v1.3.0
|
||||
* Remove 8.8.8.8 from networkd example Ignition configs (#184)
|
||||
* Fix a bug in the k8s example k8s-certs@.service file check (#156)
|
||||
* Match machines by MAC address in examples to simplify networkd device matching (#209)
|
||||
|
||||
BIN
Documentation/img/kubernetes-dashboard.png
Normal file
BIN
Documentation/img/kubernetes-dashboard.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 118 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 330 KiB After Width: | Height: | Size: 172 KiB |
@@ -1,7 +1,7 @@
|
||||
|
||||
# Kubernetes
|
||||
|
||||
The Kubernetes examples provision a 3 node v1.2.4 Kubernetes cluster with one controller, two workers, and TLS authentication. An etcd cluster backs Kubernetes and coordinates CoreOS auto-updates (enabled for disk installs).
|
||||
The Kubernetes examples provision a 3 node v1.3.0 Kubernetes cluster with one controller, two workers, and TLS authentication. An etcd cluster backs Kubernetes and coordinates CoreOS auto-updates (enabled for disk installs).
|
||||
|
||||
## Requirements
|
||||
|
||||
@@ -47,8 +47,8 @@ Revisit [bootcfg with rkt](getting-started-rkt.md) or [bootcfg with Docker](gett
|
||||
|
||||
[Install kubectl](https://coreos.com/kubernetes/docs/latest/configure-kubectl.html) on your laptop. Use the generated kubeconfig to access the Kubernetes cluster created on rkt `metal0` or `docker0`.
|
||||
|
||||
cd /path/to/coreos-baremetal
|
||||
kubectl --kubeconfig=examples/assets/tls/kubeconfig get nodes
|
||||
$ cd /path/to/coreos-baremetal
|
||||
$ kubectl --kubeconfig=examples/assets/tls/kubeconfig get nodes
|
||||
NAME STATUS AGE
|
||||
172.15.0.21 Ready 6m
|
||||
172.15.0.22 Ready 5m
|
||||
@@ -56,19 +56,31 @@ Revisit [bootcfg with rkt](getting-started-rkt.md) or [bootcfg with Docker](gett
|
||||
|
||||
Get all pods.
|
||||
|
||||
kubectl --kubeconfig=examples/assets/tls/kubeconfig get pods --all-namespaces
|
||||
$ kubectl --kubeconfig=examples/assets/tls/kubeconfig get pods --all-namespaces
|
||||
NAMESPACE NAME READY STATUS RESTARTS AGE
|
||||
kube-system heapster-v1.0.2-808903792-yyyvw 2/2 Running 0 6m
|
||||
kube-system kube-apiserver-172.15.0.21 1/1 Running 0 5m
|
||||
kube-system kube-controller-manager-172.15.0.21 1/1 Running 0 5m
|
||||
kube-system kube-dns-v11-uaajz 4/4 Running 0 6m
|
||||
kube-system kube-proxy-172.15.0.21 1/1 Running 0 6m
|
||||
kube-system kube-proxy-172.15.0.22 1/1 Running 0 6m
|
||||
kube-system kube-proxy-172.15.0.23 1/1 Running 0 6m
|
||||
kube-system kube-scheduler-172.15.0.21 1/1 Running 0 6m
|
||||
kube-system heapster-v1.1.0-3647315203-tes6g 2/2 Running 0 14m
|
||||
kube-system kube-apiserver-172.15.0.21 1/1 Running 0 14m
|
||||
kube-system kube-controller-manager-172.15.0.21 1/1 Running 0 14m
|
||||
kube-system kube-dns-v15-nfbz4 3/3 Running 0 14m
|
||||
kube-system kube-proxy-172.15.0.21 1/1 Running 0 14m
|
||||
kube-system kube-proxy-172.15.0.22 1/1 Running 0 14m
|
||||
kube-system kube-proxy-172.15.0.23 1/1 Running 0 14m
|
||||
kube-system kube-scheduler-172.15.0.21 1/1 Running 0 13m
|
||||
kube-system kubernetes-dashboard-v1.1.0-m1gyy 1/1 Running 0 14m
|
||||
|
||||
Machines should download and network boot CoreOS in about a minute. It can take 2-3 minutes for the Kubernetes API to become available and for add-on pods to be scheduled.
|
||||
|
||||
## Kubernetes Dashboard
|
||||
|
||||
Access the Kubernetes Dashboard with `kubeconfig` credentials by port forwarding to the dashboard pod.
|
||||
|
||||
$ kubectl --kubeconfig=examples/assets/tls/kubeconfig port-forward kubernetes-dashboard-v1.1.0-SOME-ID 9090 --namespace=kube-system
|
||||
Forwarding from 127.0.0.1:9090 -> 9090
|
||||
|
||||
Then visit [http://127.0.0.1:9090](http://127.0.0.1:9090/).
|
||||
|
||||
<img src='img/kubernetes-dashboard.png' class="img-center" alt="Kubernetes Dashboard"/>
|
||||
|
||||
## Tectonic
|
||||
|
||||
Now sign up for [Tectonic Starter](https://tectonic.com/starter/) for free and deploy the [Tectonic Console](https://tectonic.com/enterprise/docs/latest/deployer/tectonic_console.html) with a few `kubectl` commands!
|
||||
|
||||
@@ -22,7 +22,7 @@ Get started running `bootcfg` on your Linux machine to network boot and provisio
|
||||
|
||||
* [bootcfg with rkt](../Documentation/getting-started-rkt.md)
|
||||
* [bootcfg with Docker](../Documentation/getting-started-docker.md)
|
||||
* [Static Kubernetes](../Documentation/kubernetes.md) v1.2.4
|
||||
* [Static Kubernetes](../Documentation/kubernetes.md) v1.3.0
|
||||
* [Self-hosted Kubernetes](../Documentation/bootkube.md) v1.3.0-beta.2
|
||||
* [Torus Storage](..Documentation/torus.md)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user