You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by "lucasdk3 (via GitHub)" <gi...@apache.org> on 2026/02/24 21:09:29 UTC
[I] Create data get kubernetes cluster kubeconfig using terraform [cloudstack-terraform-provider]
lucasdk3 opened a new issue, #276:
URL: https://github.com/apache/cloudstack-terraform-provider/issues/276
I using the terraform to create cks, but the access not return to created kube_config to use in kubernetes and helm providers.
example:
hcl```
resource "cloudstack_kubernetes_cluster" "basic" {
name = "basic-cluster"
zone = "zone1"
kubernetes_version = "1.25.0"
service_offering = "Medium Instance"
size = 3
description = "Basic Kubernetes cluster"
}
data "cloudstack_kubernetes_cluster_config" "basic" {
cluster_id = cloudstack_kubernetes_cluster.basic.id
}
provider "kubernetes" {
host = cloudstack_kubernetes_cluster_config.basic.endpoint
cluster_ca_certificate = cloudstack_kubernetes_cluster_config.basic.basic.cluster_ca_certificate
client_certificate = cloudstack_kubernetes_cluster_config.basic.client_certificate
client_key = cloudstack_kubernetes_cluster_config.basic.client_key
}
```
the api has this endpoint and console too
endpoint = getKubernetesClusterConfig
doc = https://cloudstack.apache.org/api/apidocs-4.22/apis/getKubernetesClusterConfig.html
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@cloudstack.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Create data get kubernetes cluster kubeconfig using terraform [cloudstack-terraform-provider]
Posted by "sureshanaparti (via GitHub)" <gi...@apache.org>.
sureshanaparti closed issue #276: Create data get kubernetes cluster kubeconfig using terraform
URL: https://github.com/apache/cloudstack-terraform-provider/issues/276
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org