Krutrim Kubernetes System SDK

Create Cluster

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
namestringOptionalExample: deepak-cluster-nov-17
versionstringOptionalExample: 1.33
Responses
chevron-right
201

Created

No content

post
/v1/kks/clusters
201

Created

No content

Create Nodegroup

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
clusterKrnstringRequired
Body
namestringOptionalExample: kks-ng
instanceTypesstringOptionalExample: c8.16
diskSizeintegerOptionalExample: 100
subnetsKrnstringOptional
Responses
chevron-right
201

Created

No content

post
/v1/kks/clusters/{clusterKrn}/node-groups
201

Created

No content

List flavors

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
get
/v1/kks/flavors
200

Success

No content

Install Addon

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
clusterKrnstringRequired
Body
addonNamestringOptional
Responses
chevron-right
201

Installed

No content

post
/v1/kks/clusters/{clusterKrn}/addons
201

Installed

No content

List All addons

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
get
/v1/kks/addons
200

Success

No content

Retrieve kubeconfig

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
clusterKrnstringRequired
Responses
get
/v1/kks/clusters/{clusterKrn}/kubeconfig
200

kubeconfig file content

No content

Get ALL clusters

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
get
/v1/kks/clusters
200

Success

No content

Cluster by Cluster KRN

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
clusterKrnstringRequired
Responses
get
/v1/kks/clusters/{clusterKrn}
200

Success

No content

List All NodeGroups

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
clusterKrnstringRequired
Responses
get
/v1/kks/clusters/{clusterKrn}/node-groups
200

Success

No content

GET Nodegroup Details

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
clusterKrnstringRequired
nodegroupKrnstringRequired
Responses
get
/v1/kks/clusters/{clusterKrn}/node-groups/{nodegroupKrn}
200

Success

No content

List Cluster Addons

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
clusterKrnstringRequired
Responses
get
/v1/kks/clusters/{clusterKrn}/addons
200

Success

No content

Delete cluster

delete
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
clusterKrnstringRequired
Responses
delete
/v1/kks/clusters/{clusterKrn}
204

Deleted

No content

Delete Nodegroup

delete
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
clusterKrnstringRequired
nodegroupKrnstringRequired
Responses
delete
/v1/kks/clusters/{clusterKrn}/node-groups/{nodegroupKrn}
204

Deleted

No content

Delete Addon

delete
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
clusterKrnstringRequired
addonKrnstringRequired
Responses
delete
/v1/kks/clusters/{clusterKrn}/addons/{addonKrn}
204

Deleted

No content

Upgrade cluster

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
clusterKrnstringRequired
Body
versionstringOptional
Responses
post
/v1/kks/clusters/{clusterKrn}/updates
200

Upgrade initiated

No content

Upgrade nodegroup

put
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
clusterKrnstringRequired
nodegroupKrnstringRequired
Body
Responses
put
/v1/kks/clusters/{clusterKrn}/node-groups/{nodegroupKrn}
200

Updated

No content

Last updated

Was this helpful?