maubot: simplify deployment config

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
This commit is contained in:
Ryan Lercho 2023-08-17 15:04:44 +10:00
parent 2396ca1fcf
commit b104d81747
3 changed files with 8 additions and 17 deletions

View file

@ -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

View file

@ -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

View file

@ -73,7 +73,7 @@ logging:
mau:
level: INFO
aiohttp:
level: INFO
level: WARN
root:
level: DEBUG
handlers: [file, console]