Sign inSign up

jdelah/node-api-app

By jdelah

•Updated almost 7 years ago

Image
0

919

jdelah/node-api-app repository overview

⁠Files

.
├── app
│   ├── node-api
│   │   ├── node-api-app-service.yaml
│   │   ├── node-api-app.yml
│   │   └── node-api-configmap.yml
│   ├── postgres
│   │   ├── persistent-volume-claim.yml
│   │   ├── persistent-volume.yml
│   │   ├── postgres-app-service.yml
│   │   ├── postgres-app.yml
│   │   └── postgres-configmap.yml
│   └── redis
│       ├── redis-app-service.yml
│       └── redis-app.yml
├── ingress-nginx
│   ├── ingress-rules.yaml
│   └── nginx-ingress.yaml
└── README.md

⁠Installation & Configuration

This project expose a node-api app + postgres + redis behind an ingress nginx loadbalancer.

Minikube & Kubectl needs to be installed

Modify the configmap for every deployments to match the config you want.

Deploy every app with

kubectl create -f xxx-app.yml
kubectl create -f xxx-app.yml

Expose Service

kubectl apply -f persistent-volume-claim.yml
kubectl apply -f persistent-volume.yml

⁠See your deployments / services

kubectl get all
or
kubectl get all --namespaces #To get every pods on every namespaces in your cluster

Tag summary

Content type

Image

Digest

Size

29.7 MB

Last updated

almost 7 years ago

docker pull jdelah/node-api-app