Skip to content

Commit e2b0709

Browse files
author
Furkhat Kasymov Genii Uulu
committed
chore: clarify cluster_token expiration in gitops examples
1 parent f9fdf98 commit e2b0709

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

examples/aks/aks_cluster_gitops/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ After successful apply, CAST Console UI will be in `Connecting` state.
4848
terraform output cluster_id
4949
terraform output cluster_token
5050

51-
Obtained values are needed for next step
51+
Obtained values are needed for next step. Note that cluster_token must be used within few hours after creation or it gets expired. It is recommended to install at least castai-agent to keep cluster_token active.
5252

5353
### Step 4: Deploy Helm chart of CAST Components
5454
Coponents: `castai-cluster-controller`,`castai-evictor`, `castai-spot-handler`, `castai-kvisor`, `castai-workload-autoscaler`, `castai-pod-pinner` \
@@ -116,4 +116,4 @@ helm upgrade -i castai-kvisor castai-helm/castai-kvisor -n castai-agent \
116116

117117
This example can also be used to import AKS cluster to Terraform which is already onboarded to CAST AI console through [script](https://docs.cast.ai/docs/cluster-onboarding#how-it-works).
118118
For importing existing cluster follow steps 1-3 above and change `castai_node_configuration.default` Node Configuration name.
119-
This would allow to manage already onboarded clusters' CAST AI Node Configurations and Node Templates through IaC.
119+
This would allow to manage already onboarded clusters' CAST AI Node Configurations and Node Templates through IaC.

examples/eks/eks_cluster_gitops/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ Note generated 'CASTAI_CLUSTER_ID' from outputs
104104
terraform output cluster_id
105105
terraform output cluster_token
106106

107-
Obtained values are needed for next step
107+
Obtained values are needed for next step. Note that cluster_token must be used within few hours after creation or it gets expired. It is recommended to install at least castai-agent to keep cluster_token active.
108108

109109
### Step 6: Deploy Helm chart of CAST Components
110110
Coponents: `castai-cluster-controller`,`castai-evictor`, `castai-spot-handler`, `castai-kvisor`, `castai-workload-autoscaler`, `castai-pod-pinner` \
@@ -172,4 +172,4 @@ helm upgrade -i castai-kvisor castai-helm/castai-kvisor -n castai-agent \
172172

173173
This example can also be used to import EKS cluster to Terraform which is already onboarded to CAST AI console through [script](https://docs.cast.ai/docs/cluster-onboarding#how-it-works).
174174
For importing existing cluster follow steps 1-3 above and change `castai_node_configuration.default` Node Configuration name.
175-
This would allow to manage already onboarded clusters' CAST AI Node Configurations and Node Templates through IaC.
175+
This would allow to manage already onboarded clusters' CAST AI Node Configurations and Node Templates through IaC.

examples/gke/gke_cluster_gitops/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Note generated 'CASTAI_CLUSTER_ID' from outputs
4848
terraform output cluster_id
4949
terraform output cluster_token
5050

51-
Obtained values are needed for next step
51+
Obtained values are needed for next step. Note that cluster_token must be used within few hours after creation or it gets expired. It is recommended to install at least castai-agent to keep cluster_token active.
5252

5353
### Step 4: Deploy Helm chart of CAST Components
5454
Coponents: `castai-cluster-controller`,`castai-evictor`, `castai-spot-handler`, `castai-kvisor`, `castai-workload-autoscaler`, `castai-pod-pinner` \
@@ -115,4 +115,4 @@ helm upgrade -i castai-kvisor castai-helm/castai-kvisor -n castai-agent \
115115

116116
This example can also be used to import GKE cluster to Terraform which is already onboarded to CAST AI console through [script](https://docs.cast.ai/docs/cluster-onboarding#how-it-works).
117117
For importing existing cluster follow steps 1-3 above and change `castai_node_configuration.default` Node Configuration name.
118-
This would allow to manage already onboarded clusters' CAST AI Node Configurations and Node Templates through IaC.
118+
This would allow to manage already onboarded clusters' CAST AI Node Configurations and Node Templates through IaC.

0 commit comments

Comments
 (0)