Deploying a containerized Docker web app solution to Kubernetes

In my earlier post we talked about creating a Kubernetes cluster, deploying an NGINX deployment and then exposing as a service. Lets take a step further by actually deploying a customized solution. For that here’s what we are going to do -

  1. Create a simple Java Web application that runs in Tomcat.
  2. Deploy this application to a Tomcat Container, Save and Tag container to Container Repository.
  3. Deploy this container using Kubernetes yaml as a Deployment/Service.