Giter VIP home page Giter VIP logo

learn-terraform-deploy-nginx-kubernetes-provider's Introduction

Learn Terraform - Deploy NGINX on Kubernetes

This repo is a companion repo to the Manage Kubernetes Resources via Terraform, containing Terraform configuration files to deploy and expose a NGINX service using the Terraform Kubernetes Provider.

This branch contains configuration for the generic Kubernetes provider.

Visit the following branches to see their respective Terraform Kubernetes configuration.

  1. AKS Kubernetes configuration - aks
  2. EKS Kubernetes configuration - eks
  3. GKE Kubernetes configuration - gke

learn-terraform-deploy-nginx-kubernetes-provider's People

Contributors

calebalbers avatar hashicorp-copywrite[bot] avatar im2nguyen avatar ritsok avatar robin-norwood avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

learn-terraform-deploy-nginx-kubernetes-provider's Issues

Error Reading EKS Cluster - Couldn't Find Resource

Error: reading EKS Cluster(cluster name here): couldn't find resource

I am using a remote back end here, so I have to change the back end to point to terraform cloud. I verified that the resource was running in AWS (I had just run the previous tutorial) but it still wouldn't work. I also verified that the region was correct.

Any help would be appreciated!

Error: Failed to configure client: tls: failed to find any PEM data in certificate input

Hi, I'm following this tutorial: https://learn.hashicorp.com/tutorials/terraform/kubernetes-provider?in=terraform/kubernetes

working from windows 10 with kind, and after I try terraform apply

I'm getting this error:
kubernetes_deployment.nginx: Creating...

│ Error: Failed to configure client: tls: failed to find any PEM data in certificate input

│ with kubernetes_deployment.nginx,
│ on kubernetes.tf line 32, in resource "kubernetes_deployment" "nginx":
│ 32: resource "kubernetes_deployment" "nginx" {

I have already checked the box on Docker desktop to "Expose daemon on tcp://localhost:2375 without TLS"

any advice?

Thanks,

Error: Waiting for rollout to finish: 2 replicas wanted; 0 replicas Ready

I keep getting the following error:


│ Error: Waiting for rollout to finish: 2 replicas wanted; 0 replicas Ready

│ with kubernetes_deployment.nginx1,
│ on kubernetes.tf line 33, in resource "kubernetes_deployment" "nginx1":
│ 33: resource "kubernetes_deployment" "nginx1" {

I'm following the tutorial here for the "kind" tab tutorial:

https://learn.hashicorp.com/tutorials/terraform/kubernetes-provider?in=terraform/use-case

Any ideas why this is happening?

Trying to learn with this tutorial but I have no idea why this keeps happening.

Thanks in advance!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.