kubernetes-the-hard-way-terraform | Terraform-defined implementation | Infrastructure Automation library

 by   aidanSoles Shell Version: Current License: MPL-2.0

kandi X-RAY | kubernetes-the-hard-way-terraform Summary

kandi X-RAY | kubernetes-the-hard-way-terraform Summary

kubernetes-the-hard-way-terraform is a Shell library typically used in Devops, Infrastructure Automation, Terraform applications. kubernetes-the-hard-way-terraform has no bugs, it has no vulnerabilities, it has a Weak Copyleft License and it has low support. You can download it from GitHub.

Terraform-defined implementation of Kelsey Hightower's "Kubernetes The Hard Way" tutorial.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              kubernetes-the-hard-way-terraform has a low active ecosystem.
              It has 60 star(s) with 33 fork(s). There are 3 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 1 open issues and 1 have been closed. On average issues are closed in 5 days. There are 2 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of kubernetes-the-hard-way-terraform is current.

            kandi-Quality Quality

              kubernetes-the-hard-way-terraform has 0 bugs and 0 code smells.

            kandi-Security Security

              kubernetes-the-hard-way-terraform has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              kubernetes-the-hard-way-terraform code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              kubernetes-the-hard-way-terraform is licensed under the MPL-2.0 License. This license is Weak Copyleft.
              Weak Copyleft licenses have some restrictions, but you can use them in commercial projects.

            kandi-Reuse Reuse

              kubernetes-the-hard-way-terraform releases are not available. You will need to build from source code and install.
              Installation instructions are available. Examples and code snippets are not available.
              It has 562 lines of code, 0 functions and 5 files.
              It has low code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of kubernetes-the-hard-way-terraform
            Get all kandi verified functions for this library.

            kubernetes-the-hard-way-terraform Key Features

            No Key Features are available at this moment for kubernetes-the-hard-way-terraform.

            kubernetes-the-hard-way-terraform Examples and Code Snippets

            No Code Snippets are available at this moment for kubernetes-the-hard-way-terraform.

            Community Discussions

            Trending Discussions on kubernetes-the-hard-way-terraform

            QUESTION

            Terraform 0.11 google_compute_instance file provisionner ssh authentication failure
            Asked 2019-Dec-02 at 14:09

            I'm attempting to deploy k8s "the hard way" using a terraform deployment. Please find the repo here: https://github.com/aidanSoles/kubernetes-the-hard-way-terraform

            It was written using Terraform 0.11 so I elected not to upgrade the code to 0.12.

            The deployment creates Google Cloud Platform virtual machines and attempts to run scripts on them.

            The error message I get when applying the configuration is:

            ...

            ANSWER

            Answered 2019-Dec-02 at 14:09

            Regarding the documentation:

            I have followed that guide and confirm that it's working.

            I have attempted that with terraform-0.11.14 . It appeared that the config files aren't compatible with terraform 0.12 at the moment.

            Regarding the error:

            Source https://stackoverflow.com/questions/58972470

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install kubernetes-the-hard-way-terraform

            If you don't already have one, sign up for a Google Cloud Platform account.
            Download the gcloud command-line tool.
            Create a project in GCP named k8s-the-hard-way-tf.
            On the command line, run: gcloud init to set up your account credentials/project details to point at the newly created project.
            Create a service account (IAM & admin > Service accounts > + CREATE SERVICE ACCOUNT) in the k8s-the-hard-way-tf project with Owner permissions, create/download the *.json credentials generated by the service account, and place them in a safe location on your local machine.
            Set your Google Application credentials using: export GOOGLE_APPLICATION_CREDENTIALS=<path-to-your-credentials-json>.
            Go to the certs directory, and run the create-ca.sh script, followed by the gen-certs.sh script. This will create a self-signed CA, and create/sign all of the generated certs with that CA.
            Go to the configs directory, and run the gen-config.sh script. This will create the encryption configuration for the new Kubernetes cluster.
            Add a public ssh key to your project metadata (Compute Engine > Metadata > SSH Keys) using the format <protocol> <key-blob> <username@example.com>. The virtual machines you spin up will inherit this public key and allow the remote-exec provisioners to work.
            Fill in the variables in variables.tf that have TODO next to them.
            OPTIONAL: Edit the GitHub usernames in scripts/add-ssh-keys.sh to give trusted colleagues/friends access to the machines in your Kubernetes cluster (see the Motivation section for more details).
            Run: terraform init to initialize Terraform.
            Run: terraform plan to see the planned changes that Terraform will make.
            Run: terraform apply to create your Kubernetes cluster. NOTE: The first terraform apply might fail because the Compute Engine API has not been used in project before. Follow the link provided in the error message (should be something like https://console.developers.google.com/apis/api/compute.googleapis.com/overview?project=0123456789) and click ENABLE. After the API is enabled, rerun terraform apply.
            Configure kubectl to use the new cluster by running the configure-kubectl script.
            Run kubectl get cs (or another related command) to test the cluster's component statuses.

            Support

            Make a PR and we'll go from there!.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/aidanSoles/kubernetes-the-hard-way-terraform.git

          • CLI

            gh repo clone aidanSoles/kubernetes-the-hard-way-terraform

          • sshUrl

            git@github.com:aidanSoles/kubernetes-the-hard-way-terraform.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Consider Popular Infrastructure Automation Libraries

            terraform

            by hashicorp

            salt

            by saltstack

            pulumi

            by pulumi

            terraformer

            by GoogleCloudPlatform

            Try Top Libraries by aidanSoles

            dotfiles

            by aidanSolesShell