Skip to content

Instantly share code, notes, and snippets.

@kunthar
Created August 28, 2017 22:04
Show Gist options
  • Select an option

  • Save kunthar/27194837dd1a8ceadfe5947f6019481f to your computer and use it in GitHub Desktop.

Select an option

Save kunthar/27194837dd1a8ceadfe5947f6019481f to your computer and use it in GitHub Desktop.
root@kube01:~# cd sloop/
root@kube01:~/sloop# ./sloop-master.sh
Sloop - Reading settings from sloop.conf.
Sloop - Checking kube-deploy version
969086b076e8f6feb6e9d8c351e620d46bb0b65e
+++ [0828 22:02:36] Sloop - Sourced kube-deploy scripts
+++ [0828 22:02:36] K8S_VERSION is set to: v1.6.9
+++ [0828 22:02:36] ETCD_VERSION is set to: 2.2.5
+++ [0828 22:02:36] FLANNEL_VERSION is set to: 0.5.5
+++ [0828 22:02:36] FLANNEL_IPMASQ is set to: true
+++ [0828 22:02:36] FLANNEL_NETWORK is set to: 10.10.0.0/16
+++ [0828 22:02:36] FLANNEL_BACKEND is set to: udp
+++ [0828 22:02:36] RESTART_POLICY is set to: unless-stopped
+++ [0828 22:02:36] MASTER_IP is set to: localhost
+++ [0828 22:02:37] ARCH is set to: amd64
+++ [0828 22:02:37] NET_INTERFACE is set to: eth0
+++ [0828 22:02:37] IP_ADDRESS is set to: 10.4.34.137
+++ [0828 22:02:37] USE_CNI is set to: false
+++ [0828 22:02:37] --------------------------------------------
+++ [0828 22:02:37] Sloop - Ready
+++ [0828 22:02:37] Sloop - Kubernetes v1.6.9
+++ [0828 22:02:37] Sloop - Installing master
+++ [0828 22:02:37] Sloop - Installing kubelet service
+++ [0828 22:02:37] Sloop - Enabling kubelet service
+++ [0828 22:02:37] Sloop - Copying manifests from hyperkube image
+++ [0828 22:02:37] Sloop - Removing old manifests
hyperkube.5247
+++ [0828 22:02:38] Launching docker bootstrap...
+++ [0828 22:02:40] Launching etcd...
8d1ed4e70937674f57d733dbd29ab8189ac1cbc5f1c7215bbe13d6f2773d6344
{ "Network": "10.10.0.0/16", "Backend": {"Type": "udp"}}
+++ [0828 22:02:45] Launching flannel...
07cfbe7a96c0f00e86a320bd85fa1450479faa74eeffd35a9807f27d396c9370
+++ [0828 22:02:46] FLANNEL_SUBNET is set to: 10.10.31.1/24
+++ [0828 22:02:46] FLANNEL_MTU is set to: 1472
+++ [0828 22:02:46] Restarting main docker daemon...
+++ [0828 22:02:47] Restarted docker with the new flannel settings
+++ [0828 22:02:47] Sloop - Starting kubelet service
+++ [0828 22:02:47] Sloop - Done starting master node.
root@kube01:~/sloop# kubectl get nodes
The connection to the server localhost:8080 was refused - did you specify the right host or port?
root@kube01:~/sloop# kubectl get pods
The connection to the server localhost:8080 was refused - did you specify the right host or port?
root@kube01:~/sloop# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
root@kube01:~/sloop# kubectl get nodes
The connection to the server localhost:8080 was refused - did you specify the right host or port?
root@kube01:~/sloop#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment