Created
March 23, 2017 13:04
-
-
Save vidhill/ff2898753dabec9c42a66b0886a58552 to your computer and use it in GitHub Desktop.
Minikube STDOUT error starting up
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I0323 12:51:28.766196 11604 notify.go:112] Checking for updates... | |
Starting local Kubernetes cluster... | |
Starting VM... | |
I0323 12:51:28.998922 11604 downloader.go:56] Not caching ISO, using https://storage.googleapis.com/minikube/iso/minikube-v1.0.7.iso | |
SSH-ing files into VM... | |
Setting up certs... | |
I0323 12:52:10.089394 11604 cluster.go:241] Setting up certificates for IP: %s 192.168.99.103 | |
Starting cluster components... | |
I0323 12:52:10.593043 11604 cluster.go:174] | |
if which systemctl 2>&1 1>/dev/null; then | |
printf %s "[Unit] | |
Description=Localkube | |
Documentation=https://github.com/kubernetes/minikube/tree/master/pkg/localkube | |
Wants=network-online.target | |
After=network-online.target | |
[Service] | |
Type=notify | |
Restart=always | |
RestartSec=3 | |
ExecStart=/usr/local/bin/localkube --generate-certs=false --logtostderr=true --enable-dns=false --node-ip=192.168.99.103 --apiserver-name=minikubeCA | |
ExecReload=/bin/kill -s HUP $MAINPID | |
[Install] | |
WantedBy=multi-user.target | |
" | sudo tee /usr/lib/systemd/system/localkube.service | |
sudo systemctl daemon-reload | |
sudo systemctl enable localkube.service | |
sudo systemctl restart localkube.service || true | |
else | |
sudo killall localkube || true | |
# Run with nohup so it stays up. Redirect logs to useful places. | |
sudo sh -c 'PATH=/usr/local/sbin:$PATH nohup /usr/local/bin/localkube --generate-certs=false --logtostderr=true --enable-dns=false --node-ip=192.168.99.103 --apiserver-name=minikubeCA > /var/lib/localkube/localkube.out 2> /var/lib/localkube/localkube.err < /dev/null & echo $! > /var/run/localkube.pid &' | |
fi | |
I0323 12:54:10.994692 11604 cluster.go:176] [Unit] | |
Description=Localkube | |
Documentation=https://github.com/kubernetes/minikube/tree/master/pkg/localkube | |
Wants=network-online.target | |
After=network-online.target | |
[Service] | |
Type=notify | |
Restart=always | |
RestartSec=3 | |
ExecStart=/usr/local/bin/localkube --generate-certs=false --logtostderr=true --enable-dns=false --node-ip=192.168.99.103 --apiserver-name=minikubeCA | |
ExecReload=/bin/kill -s HUP | |
[Install] | |
WantedBy=multi-user.target | |
Created symlink /etc/systemd/system/multi-user.target.wants/localkube.service → /lib/systemd/system/localkube.service. | |
Job for localkube.service failed because the control process exited with error code. | |
See "systemctl status localkube.service" and "journalctl -xe" for details. | |
Connecting to cluster... | |
Setting up kubeconfig... | |
I0323 12:54:11.213403 11604 config.go:68] Using kubeconfig: /home/dhill/.kube/config | |
Kubectl is now configured to use the cluster. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment