k2tf
tfk8s
Our great sponsors
k2tf | tfk8s | |
---|---|---|
4 | 1 | |
1,142 | 921 | |
- | - | |
2.7 | 1.0 | |
5 months ago | 3 months ago | |
Go | Go | |
Mozilla Public License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
k2tf
-
Tool to convert set of yaml ( kustomize generated ) to terraform ?
This might be what you are looking for: https://github.com/sl1pm4t/k2tf
-
HELM vs KUSTOMIZE
... and if you're an opinionated person, like me, and you value consolidated infrastructure atomicity as a whole along side locks for everything. You'd port cherry-picked helm charts as terraform modules with k2tf, and build every docker container from scratch, with forced layer invalidation to perform security updates for every image, using the docker and kubernetes providers respectively.
-
Share a GPU between pods on AWS EKS
Pro tip: If you want to convert k8s yaml files to .tf, you can use k2tf (repo) that is able to convert the resource types of the yaml top their appropriated counterparts of the k8s provider for terraform. To install it, just:
-
Does anyone use terraform to manage Kubernetes objects as opposed to using plain yamls/helm charts/kustomize?
Almost all is created as manifest/helm in K8S world, too much toil to convert (tool like https://github.com/sl1pm4t/k2tf help but exists corners cases)
tfk8s
-
Is it normal to get by Terraform's Local Exec?
You can use tfk8s to autogenerate hcl from k8s yaml. It's not a random project, it's by a Hashicorp employee, one of the maintainers of the k8s provider.
What are some alternatives?
terraformer - CLI tool to generate terraform files from existing infrastructure (reverse Terraform). Infrastructure to Code
terraform-kubernetes-manifests - Terraform modules for managing Kubernetes manifests
hcl - HCL is the HashiCorp configuration language.
amazon-cloudwatch-container-insights - CloudWatch Agent Dockerfile and K8s YAML templates for CloudWatch Container Insights.
aws-virtual-gpu-device-plugin - AWS virtual gpu device plugin provides capability to use smaller virtual gpus for your machine learning inference workloads
lingon - Lingon is a collection of libraries and tools for building platforms using Go.
terraform-provider-flux - Terraform and OpenTofu provider for bootstrapping Flux
terraform-provider-kubernetes - Terraform Kubernetes provider
jk - Configuration as Code with ECMAScript
asdf-awscli
k8s-device-plugin - NVIDIA device plugin for Kubernetes