get Kubernetes API Endpoint from OKE
GET https://containerengine.{{region}}.oci.oraclecloud.com/20180222/clusters/:clusterId
Get the details of a cluster.
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
opc-request-id | string | Unique Oracle-assigned identifier for the request. If you need to contact | |
Oracle about a particular request, please provide the request ID. | |||
Date | string | (Required) Current Date | |
Authorization | string | (Required) Signature Authentication on Authorization header |
RESPONSES
status: OK
{"availableKubernetesUpgrades":["v1.9.4","v1.9.4"],"compartmentId":"ocid1.compartment.oc1..aaaaaaaafqm2df7ckwmmbtdsl2bgxsw4fcpvkoojytxrqst24yww2tdmtqcq","endpointConfig":{"isPublicIpEnabled":false,"nsgIds":["Excepteur proident","anim nostrud aliqua magna laborum"],"subnetId":"veniam fugiat ex exercitation culpa"},"endpoints":{"kubernetes":"https://yourkubernetes","privateEndpoint":"https://yourPrivateEndpoint","publicEndpoint":"https://yourPublicEndpoint"},"id":"ocid1.cluster.oc1.iad.aaaaaaaaga3tombrmq3wgyrvmi3gcn3bmfsdizjwgy4wgyldmy3dcmtcmmyw","imagePolicyConfig":{"isPolicyEnabled":false,"keyDetails":[{"kmsKeyId":"consectetur"},{"kmsKeyId":"labore officia"}]},"kmsKeyId":"reprehenderit s","kubernetesVersion":"v1.9.4","lifecycleDetails":"waiting for node pools","lifecycleState":"UPDATING","metadata":{"createdByUserId":"ocid1.user.oc1..aaaaaaaanifpelnyzmkvnepohbz4ntswkpl35syzzsugdxceth3oihe8hcfq","createdByWorkRequestId":"ocid1.clustersworkrequest.oc1.iad.aaaaaaaanifpelnyzmkvnepohbz4ntswkpl35syzzsugdxceth3oihe8hcfq","deletedByUserId":"ocid1.user.oc1..aaaaaaaanifpelnyzmkvnepohbz4ntswkpl35syzzsugdxceth3oihe8hcfq","deletedByWorkRequestId":"ocid1.clustersworkrequest.oc1.iad.aaaaaaaanifpelnyzmkvnepohbz4ntswkpl35syzzsugdxceth3oihe8hcfq","timeCreated":"1997-10-01T01:50:22.179Z","timeDeleted":"2021-05-11T06:58:14.374Z","timeUpdated":"1963-04-19T16:31:07.885Z","updatedByUserId":"ocid1.user.oc1..aaaaaaaanifpelnyzmkvnepohbz4ntswkpl35syzzsugdxceth3oihe8hcfq","updatedByWorkRequestId":"ocid1.clustersworkrequest.oc1.iad.aaaaaaaanifpelnyzmkvnepohbz4ntswkpl35syzzsugdxceth3oihe8hcfq"},"name":"My Cluster","options":{"addOns":{"isKubernetesDashboardEnabled":true,"isTillerEnabled":true},"admissionControllerOptions":{"isPodSecurityPolicyEnabled":false},"kubernetesNetworkConfig":{"podsCidr":"10.244.0.0/16","servicesCidr":"10.96.0.0/16"},"serviceLbSubnetIds":["ocid1.subnet.oc1.iad.aaaaaaaanifpelnyzmkvnepohbz4ntswkpl35syzzsugdxceth3ofzxtlyit","ocid1.subnet.oc1.iad.aaaaaaaanifpelnyzmkvnepohbz4ntswkpl35syzzsugdxceth3ofzxtlyit"]},"vcnId":"ocid1.vcn.oc1.iad.aaaaaaaa5e3hn7hk6y63awlhbvlhsumkn5p3ficbjcevbnoylvptcpkxtsaa"}