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
951 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
744 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,642 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
785 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,391 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,415 views
+4 votes
1 answer

Installing Web UI (Dashboard):kubernetes-dashboard on main Ubuntu 16.04.6 LTS (Xenial Xerus) server

Follow these steps: $ kubeadm reset $ kubeadm init ...READ MORE

answered Apr 12, 2019 in Kubernetes by Kalgi
• 52,350 points

reshown Apr 12, 2019 by Kalgi 7,033 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,270 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,865 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