Make sure that you have the following installed:
cd client
npm install
npm start
cd ../backend
npm install
npm start
In order to do this project install Vagrant and ansible on your local machine
vagrant box add ubuntu/focal64
vagrant init ubuntu/focal64
This is a link to a working app
vagrant up
vagrant ssh
The vagrantfile created is edited to include ansible configurations then a playbook.yaml
file is created.It includes hosts, tasks and variables
In order to run the playbook on our VM we use vagrant provision
Make sure you have the following
-
google sdk is installed
-
and kubernetes
- Create a folder called
k8s
in order to perform kubernetes operations. - Create a deployment and service file that you'll use to manage a cluster
kubectl apply -f .
kubectl get pods
Link to this task