Skip to content

dankreiger/k8s-multi-service-app

Repository files navigation

k8s multi-service app

app is called "ticketing"

Prerequistes

To setup locally, add urls ticketing.dev to /etc/hosts

# /etc/hosts
127.0.0.1 ticketing.dev

Add JWT_KEY used in auth-depl.yaml

kubectl create secret generic jwt-secret --from-literal=JWT_KEY=somesecret

Add STRIPE_KEY used in payments-depl.yaml

kubectl create secret generic stripe-secret --from-literal=STRIPE_KEY=somesecret

Add STRIPE_PUBLISHABLE_KEY used in client-depl.yaml

kubectl create secret generic stripe-publishable-key --from-literal=STRIPE_PUBLISHABLE_KEY=somesecret

To bypass chrome security warning, type thisisunsafe in browser.


If changes in browser do not show, delete client pod and let it regenerate:

kubectl get pods # copy pod name
kubectl delete pod POD_NAME

If there is no connection, run kubectl get pods -n ingress-nginx to see if ingress nginx has a running pod.

If not, reinstall


Getting Started

# install happens in docker containers
npm run dev

Note

To cleanup all resources:

npm run clean

cleanup

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •