Skip to content

hirenapatel1109/Parsely-Coding-Challenge

Repository files navigation

Puzzle creater and anagram solver

How to deploy in Kubernetes

Install Minikube (if running locally)

Apply Kubernetes deployment file

run kubectl apply -f deployment_kubernetes.yaml This will deploy the kubernetes

  • Ingress
  • Service
  • Deployment
  • Pods (3 replicas)

Access the website

Keep in mind that the URL depends on how you set it up. If you use minikube and your minikube cluster runs on http://192.168.99.102/ locally, go to this website

You can try the following endpoints:

How to deploy in Docker

  • run docker build . -t pslytestcode
  • run docker run -dp 80:5000 pslytestcode
  • Then goto the URL where the docker-machine is ran. You can figure that out by running docker-machine env if you setup docker in a VM. For me it is http://192.168.99.100/ by default
  • Then you can use the above endpoints with this URL.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published