Deploying a Microservice Application to Kubernetes
Last updated
Last updated
Clone the Git repo that contains the pre-made descriptors:
Since this application has many components, it is a good idea to create a separate namespace for the app:
Deploy the app to the cluster:
Check the status of the application's pods:
You should be able to reach the robot shop app from your browser using the Kube master node's public IP:
Edit the deployment descriptor:
You should see some YAML describing the deployment object.
Under spec:
, look for the line that says replicas: 1
and change it to replicas: 2
.
Save and exit.
Check the status of the deployment with:
After a few moments, the number of available replicas should be 2.