Get a Kubernetes agent install script

All parameters are optional. If no parameters are provided, then the script will default to EKS configuration.

The returned install script can be run in your terminal to install the CASTAI Kubernetes agent. The script can also be used to update an already running agent in your cluster.

The agent supports automatic discovery of cluster properties. However, if you specify at least one of the properties, then all properties for that provider must be specified.

OpenShift (ROSA) supports autodiscovery so choosing it does not require any OpenShift parameters. However, autodiscovery can be turned off by providing the properties explicitly. When any of the OpenShift parameters are provided, then all OpenShift parameters must be provided, with the exception of openshift.runAsUser, openshift.runAsGroup and openshift.fsGroup, which are optional and can be specified without the other parameters.

Query Params
string

AWS region of your EKS cluster.

string

Your AWS account id. Can be retrieved by executing aws sts get-caller-identity.

string

The name of your EKS cluster.

string

GCP region of your GKE cluster.

string

GCP project id in which your GKE cluster is created.

string

The name of your GKE cluster.

string

Location of your GKE cluster.

boolean

Cluster to be connected via GCP Private Service Connect

string
enum
Defaults to invalid_provider

Provider of the cluster.

Allowed:
string
enum
Defaults to invalid

The Cloud Service Provider (CSP) of your kOps cluster.

Possible values are: aws, gcp.

  • invalid: Invalid.
  • aws: Amazon web services.
  • gcp: Google cloud provider.
  • azure: Microsoft Azure.
  • unknown: Unknown.
string

The region of your kOps cluster. Region is CSP specific.

string

The name of your kOps cluster.

string

The kOps cluster state store. Only remote S3 state is supported at the moment.

string

Azure location of your AKS cluster.

string

Azure resource group where AKS nodes are deployed.

string

Azure account subscription id.

string
enum
Defaults to invalid

The Cloud Service Provider (CSP) of your OpenShift cluster.

Possible values are: aws.

  • invalid: Invalid.
  • aws: Amazon web services.
  • gcp: Google cloud provider.
  • azure: Microsoft Azure.
  • unknown: Unknown.
string

The region of your OpenShift cluster. Region is CSP specific.

string

The name of your OpenShift cluster.

string

The OpenShift cluster ID. It can be found in the ClusterVersion object.

Link to docs.

string

The uid of the user that runs the agent pod.

string

The gid of the user that runs the agent pod.

string

The gid of the user that owns the agent pod's volumes.

string

The name of your cluster.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
text/plain
application/json