...
ONAP on Kubernetes#QuickstartInstallation
Kubernetes
Kubernetes API
follow https://kubernetes.io/docs/reference/kubectl/jsonpath/
Take the ~/.kube/config server and token and retrofit a rest call like the curl below
Code Block | ||
---|---|---|
| ||
curl -k -H "Authorization: Bearer $TOKEN" -H 'Accept: application/json' $K8S-server-and-6443-port/api/v1/pods | jq -r .items[0].metadata.name
heapster-7b48b696fc-67qv6 |
Kubernetes v11 Curl examples
...