To follow this exercise use following oreilly sandbox.
git clone https://github.com/philips-labs/k8s-software-concepts-day.git
cd k8s-software-concepts-day/beginner
In this exercise, you will have to fix the CPU/Memory request & limit.
- Deploy the nginx deployment from the given yaml in this folder.
- Fix the deployment issues.
- Make sure pod status should be "Running" in the cluster.
In this exercise we are exposing application via service. We should be able to access application via service
- Deploy nginx service
- curl request to the service
- Figure out the external nodeport
- To get your sandbox url click the url as shown in the picture.
- First click the
+
- Then choose
Select port to view on Host 1
- First click the
- Now fill in the port number -- Do you see the server response and what does it show ?
- To get your sandbox url click the url as shown in the picture.