From 45026f40d12f190d59bc18f3ba4ffc3da44d6a13 Mon Sep 17 00:00:00 2001 From: Eric Paris Date: Wed, 11 Mar 2015 14:07:39 -0400 Subject: [PATCH] update --api_servers to include the protocol Works: --api_servers=127.0.0.1:8080 --api_servers=http://127.0.0.1:8080 --api_servers=http://localhost:8080 Fails: --api_servers=localhost:8080 Include the http:// in the example, so users aren't likely to hit the problem --- contrib/init/systemd/environ/kubelet | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/init/systemd/environ/kubelet b/contrib/init/systemd/environ/kubelet index 303850be49..149b891e6b 100644 --- a/contrib/init/systemd/environ/kubelet +++ b/contrib/init/systemd/environ/kubelet @@ -11,7 +11,7 @@ KUBELET_PORT="--port=10250" KUBELET_HOSTNAME="--hostname_override=127.0.0.1" # location of the api-server -KUBELET_API_SERVER="--api_server=127.0.0.1:8080" +KUBELET_API_SERVER="--api_server=http://127.0.0.1:8080" # Add your own! KUBELET_ARGS=""