File tree Expand file tree Collapse file tree 12 files changed +46
-14
lines changed
onboarding-with-existing-aks-cluster
onboarding-with-existing-eks-cluster
onboarding-with-existing-gke-cluster
onboarding-with-new-eks-cluster Expand file tree Collapse file tree 12 files changed +46
-14
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ module "castai_omni_cluster" {
88
99 k8s_provider = " aks"
1010 api_url = var. castai_api_url
11+ kvisor_grpc_url = var. kvisor_grpc_url
1112 api_token = var. castai_api_token
1213 organization_id = var. organization_id
1314 cluster_id = var. cluster_id
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ aks_resource_group = "<place-holder>"
44gke_project_id = "<place-holder>"
55
66castai_api_url = "https://api.cast.ai"
7+ kvisor_grpc_url = "kvisor.prod-master.cast.ai:443"
78castai_api_token = "<place-holder>"
89cluster_id = "<place-holder>"
910organization_id = "<place-holder>"
Original file line number Diff line number Diff line change @@ -24,6 +24,12 @@ variable "castai_api_url" {
2424 default = " https://api.cast.ai"
2525}
2626
27+ variable "kvisor_grpc_url" {
28+ description = " Kvisor gRPC URL"
29+ type = string
30+ default = " kvisor.prod-master.cast.ai:443"
31+ }
32+
2733variable "castai_api_token" {
2834 description = " Cast AI API Token"
2935 type = string
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ module "castai_omni_cluster" {
1313
1414 k8s_provider = " eks"
1515 api_url = var. castai_api_url
16+ kvisor_grpc_url = var. kvisor_grpc_url
1617 api_token = var. castai_api_token
1718 organization_id = var. organization_id
1819 cluster_id = var. cluster_id
@@ -25,20 +26,20 @@ module "castai_omni_cluster" {
2526 skip_helm = var. skip_helm
2627}
2728
28- module "castai_omni_edge_location_aws" {
29- source = " castai/omni-edge-location-aws/castai"
30- version = " ~> 1.0"
29+ # module "castai_omni_edge_location_aws" {
30+ # source = "castai/omni-edge-location-aws/castai"
31+ # version = "~> 1.0"
3132
32- providers = {
33- aws = aws.eu_west_1
34- }
33+ # providers = {
34+ # aws = aws.eu_west_1
35+ # }
3536
36- cluster_id = module. castai_omni_cluster . cluster_id
37- organization_id = module. castai_omni_cluster . organization_id
38- region = " eu-west-1"
39- zones = [" eu-west-1a" , " eu-west-1b" , " eu-west-1c" ]
37+ # cluster_id = module.castai_omni_cluster.cluster_id
38+ # organization_id = module.castai_omni_cluster.organization_id
39+ # region = "eu-west-1"
40+ # zones = ["eu-west-1a", "eu-west-1b", "eu-west-1c"]
4041
41- tags = {
42- ManagedBy = " terraform"
43- }
44- }
42+ # tags = {
43+ # ManagedBy = "terraform"
44+ # }
45+ # }
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ eks_cluster_region = "<place-holder>"
22eks_cluster_name = "<place-holder>"
33
44castai_api_url = "https://api.cast.ai"
5+ kvisor_grpc_url = "kvisor.prod-master.cast.ai:443"
56castai_api_token = "<place-holder>"
67organization_id = "<place-holder>"
78cluster_id = "<place-holder>"
Original file line number Diff line number Diff line change @@ -14,6 +14,12 @@ variable "castai_api_url" {
1414 default = " https://api.cast.ai"
1515}
1616
17+ variable "kvisor_grpc_url" {
18+ description = " Kvisor gRPC URL"
19+ type = string
20+ default = " kvisor.prod-master.cast.ai:443"
21+ }
22+
1723variable "castai_api_token" {
1824 description = " Cast AI API Token"
1925 type = string
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ module "castai_omni_cluster" {
2828
2929 k8s_provider = " gke"
3030 api_url = var. castai_api_url
31+ kvisor_grpc_url = var. kvisor_grpc_url
3132 api_token = var. castai_api_token
3233 organization_id = var. organization_id
3334 cluster_id = var. cluster_id
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ gke_cluster_location = "<place-holder>"
33gke_cluster_name = "<place-holder>"
44
55castai_api_url = "https://api.cast.ai"
6+ kvisor_grpc_url = "kvisor.prod-master.cast.ai:443"
67castai_api_token = "<place-holder>"
78cluster_id = "<place-holder>"
89organization_id = "<place-holder>"
Original file line number Diff line number Diff line change @@ -19,6 +19,12 @@ variable "castai_api_url" {
1919 default = " https://api.cast.ai"
2020}
2121
22+ variable "kvisor_grpc_url" {
23+ description = " Kvisor gRPC URL"
24+ type = string
25+ default = " kvisor.prod-master.cast.ai:443"
26+ }
27+
2228variable "castai_api_token" {
2329 description = " Cast AI API Token"
2430 type = string
Original file line number Diff line number Diff line change @@ -71,6 +71,7 @@ module "castai_omni_cluster" {
7171
7272 k8s_provider = " eks"
7373 api_url = var. castai_api_url
74+ kvisor_grpc_url = var. kvisor_grpc_url
7475 api_token = var. castai_api_token
7576 organization_id = var. organization_id
7677 cluster_id = castai_eks_clusterid. cluster_id . id
You can’t perform that action at this time.
0 commit comments