Step 9: Deploy yaml code in a sequence on the master nodes.
Step 9.1: Go to the Kubernetes directory
Step 9.2: Deploy persistent volume for MySQL
Step 9.3: Deploy persistent volume claim for MySQL
Step 9.4: Deploy service for MySQL
Step 9.5: Deploy secrets
Step 9.6: Deploy Deployment of mysql
Step 9.7: Deploy persistent volume for WordPress
Step 9.8: Deploy persistent volume claim for WordPress
Step 9.9: Deploy service for WordPress
Step 9.10: Deploy Deployment of WordPress
Step 10: Access the WordPress application in the browser.
http://<master/worker instance public Ip address>:30050
Kubeadm is the right tool to bootstrap the Kubernetes cluster on your virtual machines. Kubeadm sets up a minimal viable cluster. It is designed to have all the components you need in one place in one cluster regardless of where you are running them. An advantage of kubeadm is that it can be used anywhere —even Raspberry Pi— to set up a cluster and try it out before committing to something like kops
8. About CloudThat
CloudThatis the official AWS Advanced Consulting Partner, Microsoft Gold Partner, and Google Cloud Partner, helping people develop knowledge on the cloud and help their businesses aim for higher goals using best in industry cloud computing practices and expertise. We are on a mission to build a robust cloud computing ecosystem by disseminating knowledge on technological intricacies within the cloud space. Our blogs, webinars, case studies, and white papers enable all the stakeholders in the cloud computing sphere.
Feel free to drop a comment or any queries that you have regarding AWS services, Kubernetes Engine, or consulting requirements and we will get back to you quickly. To get started, go through our Expert Advisory page and Managed Services Packagethat is CloudThat’s offerings.
What is the difference between minikube and kubeadm?
ANS: Both are Designed for testing, research, and learning. Minikube is a fast and straightforward solution for deploying a single-node Kubernetes cluster, but it is not a minimum viable solution and production-ready cluster. According to Kubeadm, it is a minimum viable and production-ready cluster and allows us to choose the runtime environment, although it has a docker by default.
Why is it needed to disable the memory swapping while installing the Kubernetes cluster?
ANS: It is highly necessary to disable memory swap before creating a kubeadm cluster. Because the scheduler in Kubernetes chooses the best node to deploy the newly provisioned resources like pods. If the swapping is allowed that leads to stability and performance issues in the Kubernetes cluster.
WRITTEN BY Karthik Kumar P V
Karthik Kumar Patro Voona is a Research Associate (Kubernetes) at CloudThat Technologies. He Holds Bachelor's degree in Information and Technology and has good programming knowledge of Python. He has experience in both AWS and Azure. He has a passion for Cloud-computing and DevOps. He has good working experience in Kubernetes and DevOps Tools like Terraform, Ansible, and Jenkins. He is a very good Team player, Adaptive and interested in exploring new technologies.