devops bootcamp material that I have taught at previous companies
Deploy your packaged application locally using either a Vagrant cluster or a Minikube cluster, setting up one database server and one application server.
Choose Your Deployment Method Select either Vagrant or Minikube for your local deployment:
a. Create a Vagrantfile that defines two VMs:
b. Configure the Vagrantfile to:
c. Use vagrant up
to start your cluster
a. Start Minikube:
minikube start
b. Create Kubernetes manifests for:
c. Apply your Kubernetes manifests:
kubectl apply -f your-manifests.yaml
kubectl scale deployment your-app-deployment --replicas=3
vagrant destroy
minikube delete
Remember, the goal is to create a local environment that mimics a production setup. This exercise will help you understand the complexities of deploying and managing multi-service applications.