Prerequisite – This guide assumes that you already have a kubernetes cluster running on IBM cloud. If not you can create one following this guide.

1. Click on create new resource on your Kubernetes dashboard.

create-resource-ibmcloud

2. While in the create from input section, click on Learn More.

learn-more-nginx

3. Copy the yaml file code for the nginx deployment.

copy-nginx-yaml

4. Go back to the kubernetes dashboard tab, paste the deployment code and click on upload.

deploy-nginx-ibmcloud

That is all! The nginx application is now successfully deployed in a matter of seconds.

nginx-ready-ibmcloud

From the right hand side, click any of the pod menus and click on exec.

nginx-container-exec-ibmcloud

You will be dropped inside the container shell, run “service nginx status” inside the container to verify that the nginx service is running.

nginx-container-shell-ibmcloud
nginx service-ibmcloud

*All technologies mentioned are trademarks of their respective owners.