mirror of https://github.com/k3s-io/k3s
Use a valid address for swagger
parent
86f4535871
commit
16a33318b7
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"swaggerVersion": "1.2",
|
||||
"apiVersion": "",
|
||||
"basePath": "https://127.0.0.1:6443",
|
||||
"basePath": "https://10.10.10.10:6443",
|
||||
"resourcePath": "/api",
|
||||
"apis": [
|
||||
{
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"swaggerVersion": "1.2",
|
||||
"apiVersion": "v1",
|
||||
"basePath": "https://127.0.0.1:6443",
|
||||
"basePath": "https://10.10.10.10:6443",
|
||||
"resourcePath": "/api/v1",
|
||||
"apis": [
|
||||
{
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"swaggerVersion": "1.2",
|
||||
"apiVersion": "",
|
||||
"basePath": "https://127.0.0.1:6443",
|
||||
"basePath": "https://10.10.10.10:6443",
|
||||
"resourcePath": "/version",
|
||||
"apis": [
|
||||
{
|
||||
|
|
|
@ -56,6 +56,7 @@ KUBE_API_VERSIONS="v1" "${KUBE_OUTPUT_HOSTBIN}/kube-apiserver" \
|
|||
--port="${API_PORT}" \
|
||||
--etcd-servers="http://${ETCD_HOST}:${ETCD_PORT}" \
|
||||
--public-address-override="127.0.0.1" \
|
||||
--advertise-address="10.10.10.10" \
|
||||
--kubelet-port=${KUBELET_PORT} \
|
||||
--runtime-config=api/v1 \
|
||||
--service-cluster-ip-range="10.0.0.0/24" >/dev/null 2>&1 &
|
||||
|
|
Loading…
Reference in New Issue