diff --git a/CHANGES.md b/CHANGES.md index f994d4df..6978ee56 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -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) diff --git a/Documentation/img/kubernetes-dashboard.png b/Documentation/img/kubernetes-dashboard.png new file mode 100644 index 00000000..27c1d55d Binary files /dev/null and b/Documentation/img/kubernetes-dashboard.png differ diff --git a/Documentation/img/tectonic-console.png b/Documentation/img/tectonic-console.png index 13d0ab13..ea90c664 100644 Binary files a/Documentation/img/tectonic-console.png and b/Documentation/img/tectonic-console.png differ diff --git a/Documentation/kubernetes.md b/Documentation/kubernetes.md index 2ac97d6d..597bf24d 100644 --- a/Documentation/kubernetes.md +++ b/Documentation/kubernetes.md @@ -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/). + +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! diff --git a/examples/README.md b/examples/README.md index 05cbcc88..2656ed0e 100644 --- a/examples/README.md +++ b/examples/README.md @@ -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)