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
|
```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
|
||||||
```
|
```
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
apiVersion: extensions/v1beta1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: maintenance
|
name: maintenance
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user