Sonntd271 / kube-app

A project in the course "DevOps Beginners to Advanced with Projects" by Imran Teli on Udemy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vprofile Deployment in Kubernetes

First: Create a kubernetes cluster with kOps
kops create cluster --name=your-cluster-name --state=s3://your-s3-bucket --zones=us-east-1a --node-count=2 --node-size=t3.small --control-plane-size=t3.medium --dns-zone=your-dns-hosted-zone --node-volume-size=8 --control-plane-colume-size=8
kops update cluster --name=your-cluster-name --state=s3://your-s3-bucket --yes
Then validate your cluster creation with
kops validate cluster --state=s3://your-s3-bucket
Your cluster should be ready before proceeding

Second: Create an EBS volume
aws ec2 create-volume --availability-zone=us-east-1a --size=3 --volume-type=gp2
This volume will be used to store MySQL data. Tag the volume with KubernetesCluster=your-cluster-name so the volume will be able to connect

Third: Create a secret object
kubectl create -f app-secret.yaml

About

A project in the course "DevOps Beginners to Advanced with Projects" by Imran Teli on Udemy