Giter VIP home page Giter VIP logo

lynx-tf's Introduction

tf-templates

Repository for managing sample terraform templates and scripts

Clone the Repo

git clone https://github.com/stacklynx/lynx-tf.git

cd lynx-tf

ONLY required if you need to remote desktop into the ubutu desktop for accessing the prroxy

install ubuntu desktop coponenets

sudo ./ubuntu-rd.sh

install tools required for the instalation. This will install terraform, kubectl, awscli and other components

cd eks-wfe
sudo ./tools/install-tools-linux.sh

Create an AWS Accoount with the following policy and create a Security. click here how to create keys (https://aws.amazon.com/premiumsupport/knowledge-center/create-access-key)

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "VisualEditor0",
            "Effect": "Allow",
            "Action": [
                "iam:*",
                "ec2:*",
                "autoscaling:*",
                "eks:*"
            ],
            "Resource": "*"
        }
    ]
}

Create the Custer. Make sure you have the aws keys and secret before you run the steps

Parameters
 -t : Module to install. ddefault installs the cluster and nodes
 -c : Cluster name
 -k : aws key for admin account that has permission to create a cluster
 -s : aws secret for admin account that has permission to create a cluster

./create-cluster.sh -k <aws_key> -s <aws_key> -c <clustername>

Verify if all the components are vcreated sucessfully

source cluster/output/<clustername>-auth-keys.sh

# List the nodes. make sure all the nodes are in ready state
 kubectl get nodes -o wide

#list all the services in the nginx namespace.. make sure EXTERNAL-IP is listed for load balancer
kubectl get svc -n ingress-nginx -o wide

#check if you are able to access the nginx controller through the load balancer. if successful you will see the response default backend - 404
curl -k < EXTERNAL-IP>

#check if the the test pod and service is running
kubectl get pods -n echoserver -o wide
kubectl get svc -n echoserver -o wide

Start Proxy to access Kubernetes Dashboard

./kubeproxy.sh <clustername>

lynx-tf's People

Contributors

sureshio avatar

Forkers

sainathh

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.