Deploy multi-tier application 2

Deploy voting application

  • These are the pods, deployments and services of voting application

  • When you run 31000 port you can vote
     
  • When you run 31001 port you can see the result

 

Task by trainer:

Deploy gogs and postgresql deployment on kubernetes.

        i) Images should be use:

                    For Gogs = gogs/gogs

                    For Postgresql = docker.io/postgres

        ii) Deployment names should be:

                     For Gogs =  gogs

                     For Postgresql = postdb2

        iii) Service name and type should be: 

                     For gogs:-

                          Name = gogs

                          Type = NodePort

                     For postdb2:-

                          Name = postdb2

                          Type = ClusterIP