K8s API Proxy
Platform9's unique SaaS Managed approach enables secure remote access to Kubernetes clusters running in private, edge and public clouds. The SaaS management plane enables unique cluster management actions that enable you to query and take action against any managed cluster using the Qbert K8s API Proxy.
The Qbert API enables programatic access to managed infrastructure, executing https://pmkft-demo-18238.platform9.io/qbert/v3/c89ed4aa436f46d09d532c467961dbee/clusters
will return a list of clusters in the identified tenant.
Platform9 built an extension to Qbert that is the K8s API Proxy which enables Kubernetes API requests to be sent directly to the cluster.
For example, executing https://pmkft-demo-18238.platform9.io/qbert/v1/clusters/aa09f04f-14a2-4012-8df3-f0ef3943af88/k8sapi/api/v1/namespaces/pf9-monitoring/pods/prometheus-system-0
will return the Kubernetes data from a Pods API request scoped to a named Pod.
K8s API Proxy Explained
To access the K8s API Proxy a Cluster UUID is required this can be found on the Infrastructure Dashboard Clusters tab by adding the UUID column to the table. The K8s API Proxy can be accessed through a variety of languages, below is an example HTTPS request.
https://<platform9-instance>/qbert/v1/clusters/<cluster_uuid>/k8sapi/<k8s_api_version>/<api>
The API could also be accessed using a CURL command
The K8s API Proxy is able to execute Kubernetes API Commands the full reference can be found here.
For more examples visit https://platform9.com/learn/k8s-api-proxy