How to integrate kubernetes with Terraform

0 votes

Hi Guys,

I am new in Terraform. I have my Minikube cluster. I want to integrate the Minikube cluster with Terraform. Can anyone help me, how can I do that?

Jun 16, 2020 in Terraform by akhtar
• 38,260 points
967 views

1 answer to this question.

0 votes

Hi@akhtar,

You can use Kubernetes as your Terraform provider. Terraform supports various providers like AWS, OpenStack, Kubernetes, etc. I have attached one example for your reference.

provider "kubernetes" {
  config_context_cluster   = "minikube"
}

I hope this will help you.

answered Jun 16, 2020 by MD
• 95,460 points

Related Questions In Terraform

0 votes
1 answer

How to connect to the Kubernetes cluster from Terraform?

Hi@akhtar, You need to install the plugins using ...READ MORE

answered Sep 14, 2020 in Terraform by MD
• 95,460 points
766 views
0 votes
1 answer

How to create a namespace in the Kubernetes cluster using Terraform?

Hi@akhtar, You can use kubernetes_namespace resource in your ...READ MORE

answered Sep 14, 2020 in Terraform by MD
• 95,460 points
8,679 views
0 votes
1 answer

How to expose a Pod in Kubernetes using Terraform?

Hi@MD, You can use kubernetes_service resource to expose ...READ MORE

answered Sep 28, 2020 in Terraform by akhtar
• 38,260 points
808 views
0 votes
1 answer

How to get LoadBalancer IP in Kubernetes using Terraform script?

Hi@akhtar, In your Terraform script, you can output ...READ MORE

answered Sep 28, 2020 in Terraform by MD
• 95,460 points
3,413 views
+1 vote
1 answer
0 votes
3 answers

Error while joining cluster with node

Hi Kalgi after following above steps it ...READ MORE

answered Jan 17, 2019 in Others by anonymous
15,477 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,036 views
0 votes
1 answer

How to launch EC2 windows instance with powershell script using terraform?

Hi, In your Terraform code, you have written ...READ MORE

answered Jul 21, 2020 in Terraform by MD
• 95,460 points
4,307 views
+2 votes
1 answer

How to attach an elastic load balancer with ec2 instance using Terraform?

Hi@akhtar, You can use aws_elb_attachment resource in Terraform. ...READ MORE

answered Aug 17, 2020 in Terraform by MD
• 95,460 points
2,895 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP