Use a valid address for swagger

This commit is contained in:
Tim Hockin 2015-08-08 13:41:56 -07:00
parent 86f4535871
commit 16a33318b7
4 changed files with 4 additions and 3 deletions

View File

@ -1,7 +1,7 @@
{ {
"swaggerVersion": "1.2", "swaggerVersion": "1.2",
"apiVersion": "", "apiVersion": "",
"basePath": "https://127.0.0.1:6443", "basePath": "https://10.10.10.10:6443",
"resourcePath": "/api", "resourcePath": "/api",
"apis": [ "apis": [
{ {

View File

@ -1,7 +1,7 @@
{ {
"swaggerVersion": "1.2", "swaggerVersion": "1.2",
"apiVersion": "v1", "apiVersion": "v1",
"basePath": "https://127.0.0.1:6443", "basePath": "https://10.10.10.10:6443",
"resourcePath": "/api/v1", "resourcePath": "/api/v1",
"apis": [ "apis": [
{ {

View File

@ -1,7 +1,7 @@
{ {
"swaggerVersion": "1.2", "swaggerVersion": "1.2",
"apiVersion": "", "apiVersion": "",
"basePath": "https://127.0.0.1:6443", "basePath": "https://10.10.10.10:6443",
"resourcePath": "/version", "resourcePath": "/version",
"apis": [ "apis": [
{ {

View File

@ -56,6 +56,7 @@ KUBE_API_VERSIONS="v1" "${KUBE_OUTPUT_HOSTBIN}/kube-apiserver" \
--port="${API_PORT}" \ --port="${API_PORT}" \
--etcd-servers="http://${ETCD_HOST}:${ETCD_PORT}" \ --etcd-servers="http://${ETCD_HOST}:${ETCD_PORT}" \
--public-address-override="127.0.0.1" \ --public-address-override="127.0.0.1" \
--advertise-address="10.10.10.10" \
--kubelet-port=${KUBELET_PORT} \ --kubelet-port=${KUBELET_PORT} \
--runtime-config=api/v1 \ --runtime-config=api/v1 \
--service-cluster-ip-range="10.0.0.0/24" >/dev/null 2>&1 & --service-cluster-ip-range="10.0.0.0/24" >/dev/null 2>&1 &