Skip to content

m01344/NasaApp

Repository files navigation

Deploying using docker-compose:

  1. Create an environment variable API_KEY for NASA API token in .env file in the root directory of the repository.
    Eg: API_KEY=<your nasa api token>
  2. Run the command: docker-compose -f docker-compose.yaml up

Use the APIs:

Deploying in kubernetes:

  1. Run the following commands from the root directory of the repository:
kubectl apply -f k8-deployment/pv-volume.yaml 
kubectl apply -f k8-deployment/pv-claim.yaml
kubectl apply -f k8-deployment/server-secret.yaml
kubectl apply -f k8-deployment/server-deployment.yaml
  1. Run the command: minikube service flask-service to access the APIs.

Use the APIs:

Deployment using helm chart:

  1. Run the command from root directory of the repo: helm install < deployment name > helm
  2. Run the command: minikube service flask-service to access the APIs.

Note: The images are pulled from a private repository. So deployment using helm will fail

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published