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

Kubernetes With Kops On Aws - Clusters, Metrics Server

Profile Picture
By Author: Sanjay Chauhan
Total Articles: 1
Comment this article
Facebook ShareTwitter ShareGoogle+ ShareTwitter Share

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

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: 70Word Count: 223See All articles From Author

Add Comment

General Articles

1. How To Upgrade The Workforce Proficiency Of The Field Employee To Enhance The Sales Productivity?
Author: Travelize

2. Advantages Of Setting Up Manufacturing Units Around Hyderabad
Author: BK Vijay

3. Top Hotels In Manali
Author: jamessaint

4. Top 5 Things To See Before Booking Hotel
Author: EEfa hotel

5. 5 Most Basic Things That Every Hotel Must Provide
Author: eefa hotels

6. Three Reasons To Choose Plant Maintenance Services Philadelphia
Author: Michele Sokoloff

7. Taking Care Of Your Walking Stick
Author: Essentialaids

8. Key Market Dynamics In Building Information Modeling
Author: Marketsandmarkets

9. Industrial Refrigeration System Market Expected To Reach $24.8 Billion By 2025
Author: Marketsandmarkets

10. Growth Opportunities And Latent Adjacency In Probiotics Market
Author: Kerry Fido

11. How Railway Recruitment Competitive Exams After 12th Can Save You Time, Stress, And Money.
Author: indianacademics

12. Love My Swag Is Elite Among Vahan Jewelry Retailers
Author: Lisa Alfieri

13. Free Online Bingo No Deposit
Author: Ralph R. Robbins

14. The Place To Buy Apple Ipads
Author: Amato Cole

15. 6 Things To Look Out For When Selecting An Event Planner
Author: zzeeh

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