Skip to content

Manage resources deployed on a Kubernetes cluster with plain YAML manifests and/or terraform resources.

License

Notifications You must be signed in to change notification settings

cycloid-community-catalog/stack-k8s-runner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stack-k8s-runner

This stack is designed to manage resources deployed on a Kubernetes cluster using YAML manifests and/or Terraform resources.

Details

Pipeline

Note The pipeline contains manual approvals between kubernetes plan & kubernetes apply and terraform plan & terraform apply. That means if you trigger a plan job, to apply it, you have to go on the associated apply job and click on the + button to trigger it. The kubernetes delete and terraform destroy jobs are also manually triggered.

Jobs description

  • kubernetes-plan: Kubernetes job that will simply make a diff and dry-run of the kubernetes manifests.
  • kubernetes-apply: Kubernetes job that will apply the kubernetes manifests. Please see the plan diff for a better understanding.
  • kubernetes-delete: ⚠️ Kubernetes job meant to delete the whole kubernetes manifests - NO CONFIRMATION ASKED. If triggered, the full project WILL be destroyed. Use with caution.
  • terraform-plan: Terraform job that will simply make a plan of the stack.
  • terraform-apply: Terraform job similar to the plan one, but will actually create/update everything that needs to. Please see the plan diff for a better understanding.
  • terraform-destroy: ⚠️ Terraform job meant to destroy the whole stack - NO CONFIRMATION ASKED. If triggered, the full project WILL be destroyed. Use with caution.

Variations

There are multiple versions of the pipeline supported in this stack:

  • Classic Kubernetes: pipeline.yml + variables.sample.yml
  • Classic Kubernetes + Terraform: pipeline-terraform.yml + variables-terraform.sample.yml
  • Amazon EKS: pipeline-eks.yml + variables-eks.sample.yml
  • Amazon EKS + Terraform: pipeline-eks-terraform.yml + variables-eks-terraform.sample.yml
  • Google GKE: pipeline-gke.yml + variables-gke.sample.yml
  • Google GKE + Terraform: pipeline-gke-terraform.yml + variables-gke-terraform.sample.yml

About

Manage resources deployed on a Kubernetes cluster with plain YAML manifests and/or terraform resources.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published