REST API Access¶
The REST APIs provide programmatic access to the StarlingX.
The StarlingX Platform related public REST API Endpoints can be listed by running the following command:
$ openstack endpoint list | grep public
Use these URLs as the prefix for the URL target of StarlingX Platform services REST API messages documented here:
Starlingx – https://docs.starlingx.io/api-ref/index.html
Kubernetes¶
Access the Kubernetes REST API with the URL prefix of https://<oam-floating-ip-address>:6443 and using the API syntax described at the following site: https://kubernetes.io/docs/concepts/overview/kubernetes-api/.
Note
The StarlingX REST API/GUI and web server certificate is used by the proxy to access the StarlingX REST APIs and Kubernetes API server. The REST API client needs to trust the issuer of this certificate, which is system-local-ca’s RCA certificate. To retrieve this certificate, use the following command:
~(keystone_admin)]$ kubectl get secret system-local-ca -n cert-manager -o=jsonpath='{.data.ca\.crt}' | base64 --decode