mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Refactor maintenance mode
This commit is contained in:
parent
0645cbbaf0
commit
197f99b178
@ -13,7 +13,7 @@ We prepared sample configuration, so you can simply run:
|
||||
|
||||
```sh
|
||||
# in folder deployment/
|
||||
$ kubectl apply -f ocelotsocialnetwork/develop-maintenance
|
||||
$ kubectl apply -f ./ocelot-social/maintenance/
|
||||
```
|
||||
|
||||
This will fire up a maintenance service.
|
||||
@ -33,8 +33,8 @@ E.g. copy file [`deployment/digital-ocean/https/templates/ingress.template.yaml`
|
||||
paths:
|
||||
- path: /
|
||||
backend:
|
||||
# serviceName: develop-webapp
|
||||
serviceName: develop-maintenance
|
||||
# serviceName: web
|
||||
serviceName: maintenance
|
||||
# servicePort: 3000
|
||||
servicePort: 80
|
||||
```
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
apiVersion: extensions/v1beta1
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: maintenance
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user