.
├── 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
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
kubectl get all
or
kubectl get all --namespaces #To get every pods on every namespaces in your cluster
Content type
Image
Digest
Size
29.7 MB
Last updated
almost 7 years ago
docker pull jdelah/node-api-app