Giter Site home page Giter Site logo

kubernetes-cluster-aws's Introduction

Installing Kubernetes with kops

This quickstart shows you how to easily install a Kubernetes cluster on AWS. It uses a tool called kops.

kops is an automated provisioning system:

Fully automated installation Uses DNS to identify clusters Self-healing: everything runs in Auto-Scaling Groups Multiple OS support (Debian, Ubuntu 16.04 supported, CentOS & RHEL, Amazon Linux and CoreOS) - see the images.md High-Availability support - see the high_availability.md Can directly provision, or generate terraform manifests - see the terraform.md Before you begin

You must have kubectl installed.
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/darwin/amd64/kubectl"

Then follow
mkdir -p bin; mv kubectl bin/.; chmod +x bin/kubectl; export PATH=$PATH:${PWD}/bin; kubectl version --client

You must install kops on a 64-bit (AMD64 and Intel 64) device architecture.
curl -Lo kops https://github.com/kubernetes/kops/releases/download/$(curl -s https://api.github.com/repos/kubernetes/kops/releases/latest | grep tag_name | cut -d '"' -f 4)/kops-darwin-amd64; mv kops bin/kops; chmod +x ./bin/kops

You must have an AWS account, generate IAM keys and configure them. The IAM user will need adequate permissions.
pip install awscli

CREATE CLUSTER
kops create cluster --cloud aws --name=kube.april.aws --state=s3://aks-aprilaws --zones=eu-west-1a --node-count=2 --node-size=t2.micro --master-size=t2.micro --dns-zone=ccdpharmaedu.com

That’s it. This command is used for creating the configuration of the cluster. To launch the cluster you can use the command:

kops update cluster kube.april.aws --yes --state=s3://aks-aprilaws --yes



kops validate cluster --wait 10m --state=s3://aks-aprilaws export KOPS_STATE_STORE=s3://aks-aprilaws kops validate cluster --wait 10m

kops delete cluster kube.april.aws --yes

kubernetes-cluster-aws's People

Contributors

superriya avatar er-sumit avatar

Watchers

 avatar

kubernetes-cluster-aws's Issues

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.