123ArticleOnline Logo
Welcome to 123ArticleOnline.com!
ALL >> General >> View Article

Kubernetes With Kops On Aws - Clusters, Metrics Server

By Author: Sanjay Chauhan
Total Articles: 1
Comment this article

Kubernetes is an open-source platform for managing cloud workloads , security and comfort of the Cloud infrastructure with the powerful container deployment, management and scaling capabilities .

It is very easy to use and maintain the Kubernetes clusters using kops.

Here, we are going to describe how to use kops to install & manage the Kubernetes Cluster on AWS.

Installation & Configuration

Install kops :-

Go to the ec2 instance > launch the ec2 instance > ssh into the ec2 instance

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-linux-amd64

sudo chmod +x ./kops

sudo mv ./kops /usr/local/bin/

Install kubectl :-

curl -Lo kubectl https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl

sudo chmod +x ./kubectl

sudo mv ./kubectl /usr/local/bin/kubectl

Setup am IAM user called kops(programmatic user) and grp called kops > give him required access such as like ec2,s3 and VPC.

Login into ec2 instance again :

aws configure

Enter the access key and enter secret access key , enter the region which you using

Setup env variable

export AWS_ACCESS_KEY_ID=$(aws configure get aws_access_key_id)

export AWS_SECRET_ACCESS_KEY=$(aws configure get
aws_secret_access_key)

Configure DNS if needed — In case if you don’t want to setup DNS append the name of your cluster with “k8s.local”

Create the s3 bucket — Here it is created with name “youbucketname”
Creating your first cluster

Prepare environment

In this stage, one is ready to start creating his first cluster. Make this process straightforward by setting up a few environment variables.

export NAME=myfirstcluster.example.com
export KOPS_STATE_STORE=s3://prefix-example-com-state-store

Know More: https://medium.com/@sanjay.chauhan164/https-medium-com-sanjay-chauhan164-kubernetes-with-kops-on-aws-20debcf3e1db

Total Views: 27Word Count: 223See All articles From Author

Add Comment

General Articles

1. Best Outdoor Flood Lights Ledbest Flood Lights
Author: Unknown Member

2. Led Grow Light Reviews
Author: Led grow light reviews

3. Fantasy Cricket- Paradise Of Fantasy Sports
Author: Mehnaz Rangwala

4. Best Waist Trainer For Weight Loss
Author: Unknown Member

5. Maximum Number Of Money Can Be Win In Single Fantasy League
Author: Mehnaz Rangwala

6. On Mobile Apps, Who Can See Your Personal Data?
Author: Smith jacob

7. Tips To Plan Your Nri Wedding Successfully At Matrimonial Websites
Author: apnahumsafar

8. Rocket League Association Is Ample
Author: XIN

9. Digital Marketing Company - Sathya Technosoft
Author: Sathya Technosoft

10. Manual Testing |selenium Training | Software Testing - Tech Trainers Online
Author: jams23

11. Astrological Combination For Late Marriage
Author: ajatt oberoi

12. Online Shopping For Weed: The Right Option
Author: Get Weed Online

13. Why Cheap Hosting Is Expensive In The Long Run
Author: Andrew Stevenson

14. How Losing Weight Is Easier With The Help Of Supplements?
Author: nancy smith

15. Love Problem In Bronx | Specialist In Bringing Loved Ones Back In Bronx
Author: Surya Bhagwan

Login To Account
Login Email:
Password:
Forgot Password?
New User?
Sign Up Newsletter
Email Address: