Logo

Kops setups cloud clusters (in GCP, AWS, Digital Ocean, etc)

[kops] can:

  • Create, destroy, upgrade
  • And maintain production-grade, highly available, Kubernetes cluster
  • Also provision the necessary cloud infrastructure.

It is used for configuration, but not replace Kubectl

Example: Create Orchestration using Kops in AWS

  1. Create config for cluster:
kops create cluster --name=kubevpro.groophy.in --state=s3://bucket-name 
--zones=ap-south-1a,ap-south-1b  --node-count=2 --node-size=t3.small --master-size=t3.medium  --dns-zone=<dns-domain> --node-volume-size=8 --master-volume-size=12

Creates a [configuration] for setting up cluster. It uses AWS CLI, to do the following:

  • Domain (example): kubevpro.groophy.in
  • Use S3 for states (etcd)
  • Create 1 master node (12 GB - t3.medium) & 2 worker nodes (8 GB - t3.small)
  1. Run the Cluster from config
kops update cluster --name kubevpro.groophy.in --state=s3://vprofile-kop-states --yes --admin

Runs the cluster as admin (AWS Admin) and use S3 as etcd state.

  1. Stop & Delete Clusters
kops delete cluster --name kubevpro.groophy.in --state=s3://vprofile-kop-states --yes --admin

Delete the cluster created

© 2025 All rights reservedBuilt with DataHub Cloud

Built with LogoDataHub Cloud