This is an automated email from the ASF dual-hosted git repository.
ywkim pushed a commit to branch cnb
in repository https://gitbox.apache.org/repos/asf/bigtop.git
The following commit(s) were added to refs/heads/cnb by this push:
new 1511c90 BIGTOP-3242: Add instructions on configuring kubectl for
local k8s cluster
1511c90 is described below
commit 1511c907d039895d7d1ed25fc9e7b47a261dc727
Author: Youngwoo Kim <[email protected]>
AuthorDate: Mon Oct 14 12:15:44 2019 +0900
BIGTOP-3242: Add instructions on configuring kubectl for local k8s cluster
---
README.md | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/README.md b/README.md
index 0db5be6..5952ea0 100755
--- a/README.md
+++ b/README.md
@@ -35,6 +35,22 @@ $ cd dl/kubespray-2.11.0/ && cp
../../kubespray/vagrant/Vagrantfile .
$ vagrant up
```
+## Configuring ```kubectl``` for local cluster
+```
+$ vagrant ssh k8s-1
+
+k8s-1$ mkdir -p ~/.kube
+k8s-1$ sudo cp /etc/kubernetes/admin.conf .kube/config
+k8s-1$ sudo chown -R vagrant:vagrant .kube
+k8s-1$ kubectl cluster-info
+
+Kubernetes master is running at https://172.17.8.101:6443
+coredns is running at
https://172.17.8.101:6443/api/v1/namespaces/kube-system/services/coredns:dns/proxy
+kubernetes-dashboard is running at
https://172.17.8.101:6443/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy
+
+To further debug and diagnose cluster problems, use 'kubectl cluster-info
dump'.
+```
+
# Cloud Native Bigtop
This is the content for the talk given by jay vyas and sid mani @ apachecon
2019 in Las Vegas, you can watch it here
https://www.youtube.com/watch?v=LUCE63q !