1. Stop Minikube
minikube stop
2. Command to Create Kubernetes Cluster on AWS.
kops create cluster --yes --state=s3://kops-bucket-a87654 --zones=ap-south-1a --node-size=t2.micro --master-size=t2.micro --name=level360degree.uk
Note: Please replace the Name and S3 Bucket as your own DNS and Bucket Name.
If you don't have the Domain:
kops create cluster --yes --state=s3://kops-bucket-a87654 --zones=ap-south-1a --node-size=t2.micro --master-size=t2.micro --name=test.k8s.local
3. Verify Kubernetes Cluster.
kops validate cluster --state=s3://kops-bucket-a87654kops validate cluster --state=s3://kops-bucket-a87654 -o jsonkops validate cluster --state=s3://kops-bucket-a87654 -o yaml
4. Create Storage Class
5. Create PersistentVolumeClaim
6. Create MySQL DB
7. Create MySQL DB Service
8. Create WordPress Deployment
9. Create WordPress Service
10. Create Route53 RecordSet
11. Delete Cluster
kops delete cluster --name=level360degree.uk --yes --state=s3://kops-bucket-a87654