GitBook: [#2929] No subject
This commit is contained in:
parent
f9fec3fd5b
commit
3577c72d1a
@ -101,7 +101,7 @@ The following `kubectl` commands indicates just how to list the objects. If you
|
||||
From inside a pod you can use several env variables:
|
||||
|
||||
```bash
|
||||
export APISERVER=https://${KUBERNETES_SERVICE_HOST}:${KUBERNETES_SERVICE_PORT_HTTPS}
|
||||
export APISERVER=${KUBERNETES_SERVICE_HOST}:${KUBERNETES_SERVICE_PORT_HTTPS}
|
||||
export SERVICEACCOUNT=/var/run/secrets/kubernetes.io/serviceaccount
|
||||
export NAMESPACE=$(cat ${SERVICEACCOUNT}/namespace)
|
||||
export TOKEN=$(cat ${SERVICEACCOUNT}/token)
|
||||
|
Loading…
Reference in New Issue
Block a user