Refactor maintenance mode

This commit is contained in:
Wolfgang Huß 2020-12-15 16:17:30 +01:00
parent 0645cbbaf0
commit 197f99b178
2 changed files with 4 additions and 4 deletions

View File

@ -13,7 +13,7 @@ We prepared sample configuration, so you can simply run:
```sh ```sh
# in folder deployment/ # in folder deployment/
$ kubectl apply -f ocelotsocialnetwork/develop-maintenance $ kubectl apply -f ./ocelot-social/maintenance/
``` ```
This will fire up a maintenance service. This will fire up a maintenance service.
@ -33,8 +33,8 @@ E.g. copy file [`deployment/digital-ocean/https/templates/ingress.template.yaml`
paths: paths:
- path: / - path: /
backend: backend:
# serviceName: develop-webapp # serviceName: web
serviceName: develop-maintenance serviceName: maintenance
# servicePort: 3000 # servicePort: 3000
servicePort: 80 servicePort: 80
``` ```

View File

@ -1,4 +1,4 @@
apiVersion: extensions/v1beta1 apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
name: maintenance name: maintenance