Retrieve a Kubernetes cluster config
- Name
get
- Type
- /v1/kubernetes/:uuid
- Description
Send a
GET
request to get a kubernetes cluster config.
Request
Example
curl -X GET "https://api.simplystack.com/v1/kubernetes/236fa2a0-96d6-4c14-8dbc-08db28f3513b/kubeconfig" \
-H "Content-Type: application/json" \
-H "Authorization: Token d359ad9cc9422b5ff07aede0cd2707da4ff82be0"
Response
Example
yaml
apiVersion: v1
clusters:
- cluster:
certificate-authority-data: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUMvakNDQWVhZ0F3SUJBZ0lCQURBTkJna3Foa2lHOXcwQkFRc0ZBREFWTVJNd0VRWURWUVFERXdwcmRXSmwKY201bGRHVnpNQjRYRFRJME1ERXdPREE1TURjd01sb1hEVE0wTURFd05UQTVNRGN3TWxvd0ZURVRNQkVHQTFVRQpBeE1LYTNWaVpYSnVaWFJsY3pDQ0FTSXdEUVlKS29aSWh2Y05BUUVCQlFBRGdnRVBBRENDQVFvQ2dnRUJBTlU0CnRmQnR2VTZaWXd4b3lDNFZ4L3lqd1ZkWUNPcG1NbUZoTC9JSnJOVTdUSldZUm5OV0pYR0k4amhsM2pvUmt2bW4Ka1pHNVMyUVZmSGZwNnl2OGJSRkxwaUtDKzVkMlVNM1hKbXYyMkZYUjlVa2RtSndMcFJTVHZLaE1yNUtON2lrcQpHVDQ0VDhKcE05ZFEvdzN1cW1TcHlHUk5RSXM1ZGpRc0JVVDAzcDVJckU0Q3l1am5xV2JMWlhCY0xydkY0TGRCCjNkTWMra2YwUVlOdTV2VnYxVTErZ1ZWTWxOS0ZCWGhQa2dQMndSMUg1RS9uWXIzaUg1bGh5S0VNRkVaTG1EVmIKaUhKbzFuTGlwbGhHZkNMemFCNXFSaXQzbHdXQjdGU3ZIeGlyekxvYUpaVmQ5ZU9BdXV1VDFGbmQxQWNnSW84WQpHaWdib25CNlczTy91ZlJEcVVrQ0F3RUFBYU5aTUZjd0RnWURWUjBQQVFIL0JBUURBZ0trTUE4R0ExVWRFd0VCCi93UUZNQU1CQWY4d0hRWURWUjBPQkJZRUZKdlpxb3pxY0dZRjBhcm85ZVN5d1djdVQzdzZNQlVHQTFVZEVRUU8KTUF5Q0NtdDFZbVZ5Ym1WMFpYTXdEUVlKS29aSWh2Y05BUUVMQlFBRGdnRUJBTVhzQzdKYkNseURtd2l3bnIzbApjWWpzWkJHbW1BcHJvZytVMTgreEQ5WHdHVGxRajZOOE8xUTJLQjNHWnJPQlV2SUdFTHVpNm5MTnZKdFhlb2VJCmJJbjV1VUI2SmsybzdHQ1k2OWhvcExyUVNXN2llNGlMbXVzTjRpQzQ4VWFtZnR5a0tYVXFFU0hOTDV4Zm44eGgKQ1BNL3ZpT2duZ0QwTGJHMWhTSDFpN2JZN1p2TU0rclZ6Q1lPLys5UStsVkZuaUpaZURUcjRCeXZBcFdaUU9ZRgoyU2l2aS8wbzZIYW1JSnlzYnUrak5MampQNi9XOWwvZUtxdFk2N1VhczlvWDhnSENiTjV4NlZLTGx0SGVmR1F6Ci8ySXBlcDVBb1p0SnRKS2FXVzEvOHJOZEJ1dGxMbWQxaGNQQWEvWDlOT1A4OWhrRGVoM3RBY09XcWtWVHVrcmEKZ2ZVPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==
server: https://236fa2a0-96d6-4c14-8dbc-08db28f3513b.k8s.onhubgridcloud.com:6443
name: kubernetes
contexts:
- context:
cluster: kubernetes
user: kubernetes-admin
name: kubernetes-admin@kubernetes
current-context: kubernetes-admin@kubernetes
kind: Config
preferences: {}
users:
- name: kubernetes-admin
user:
client-certificate-data: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURJVENDQWdtZ0F3SUJBZ0lJS2RzYUpJMTljbzB3RFFZSktvWklodmNOQVFFTEJRQXdGVEVUTUJFR0ExVUUKQXhNS2EzVmlaWEp1WlhSbGN6QWVGdzB5TkRBeE1EZ3dPVEEzTURKYUZ3MHlOVEF4TURjd09UQTNNRFZhTURReApGekFWQmd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