equinix-labs / terraform-equinix-kubernetes-cluster

Kubernetes cluster deployment on Equinix Metal
https://registry.terraform.io/modules/equinix-labs/kubernetes-cluster/equinix/latest
Apache License 2.0
1 stars 5 forks source link

CI does not check all modules and examples for TF and K8s success #55

Open displague opened 7 months ago

displague commented 7 months ago

The examples demonstrate a working cluster. CI should validate against all of the examples and the root module. Today the CI is run against the cpem-add-on example: https://github.com/equinix-labs/terraform-equinix-kubernetes-cluster/blob/main/.github/workflows/integration.yml#L28-L30

Terraform apply success is verified but there is no check that the Kubernetes cluster is healthy (which could be evidenced by adding a kubectl get nodes or pods and looking for signs of health).

https://github.com/equinix-labs/terraform-equinix-kubernetes-cluster/blob/main/.github/workflows/integration.yml#L57-L64