maubot: simplify deployment config
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
This commit is contained in:
parent
2396ca1fcf
commit
b104d81747
3 changed files with 8 additions and 17 deletions
|
@ -2,29 +2,20 @@
|
|||
apiVersion: apps.openshift.io/v1
|
||||
kind: DeploymentConfig
|
||||
metadata:
|
||||
name: web
|
||||
name: maubot
|
||||
labels:
|
||||
app: maubot
|
||||
service: maubot
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
app: maubot
|
||||
deploymentconfig: web
|
||||
strategy:
|
||||
type: Rolling
|
||||
activeDeadlineSeconds: 21600
|
||||
rollingParams:
|
||||
intervalSeconds: 1
|
||||
maxSurge: 25%
|
||||
maxUnavailable: 25%
|
||||
timeoutSeconds: 600
|
||||
updatePeriodSeconds: 1
|
||||
service: maubot
|
||||
template:
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
app: maubot
|
||||
deploymentconfig: web
|
||||
service: maubot
|
||||
spec:
|
||||
containers:
|
||||
- name: maubot
|
||||
|
|
|
@ -2,14 +2,14 @@
|
|||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: web
|
||||
name: maubot
|
||||
labels:
|
||||
app: maubot
|
||||
spec:
|
||||
ports:
|
||||
- name: web
|
||||
- name: maubot
|
||||
port: 8080
|
||||
targetPort: 8080
|
||||
selector:
|
||||
app: maubot
|
||||
deploymentconfig: web
|
||||
deploymentconfig: maubot
|
||||
|
|
|
@ -73,7 +73,7 @@ logging:
|
|||
mau:
|
||||
level: INFO
|
||||
aiohttp:
|
||||
level: INFO
|
||||
level: WARN
|
||||
root:
|
||||
level: DEBUG
|
||||
handlers: [file, console]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue