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,230 points
720 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,440 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,440 points
530 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,440 points
8,064 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,230 points
582 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,440 points
3,044 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
14,612 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,360 points

reshown Apr 12, 2019 by Kalgi 6,098 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,440 points
3,685 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,440 points
2,619 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