maubot - more troubleshooting

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
This commit is contained in:
Ryan Lercho 2023-08-16 14:42:25 +10:00
parent 619a8a5273
commit f0e2da5ede
2 changed files with 8 additions and 8 deletions

View file

@ -2,14 +2,14 @@
apiVersion: apps.openshift.io/v1 apiVersion: apps.openshift.io/v1
kind: DeploymentConfig kind: DeploymentConfig
metadata: metadata:
name: web name: maubot
labels: labels:
app: maubot app: maubot
spec: spec:
replicas: 1 replicas: 1
selector: selector:
app: maubot app: maubot
deploymentconfig: web deploymentconfig: maubot
strategy: strategy:
type: Rolling type: Rolling
activeDeadlineSeconds: 21600 activeDeadlineSeconds: 21600
@ -24,7 +24,7 @@ spec:
creationTimestamp: null creationTimestamp: null
labels: labels:
app: maubot app: maubot
deploymentconfig: web deploymentconfig: maubot
spec: spec:
containers: containers:
- name: maubot - name: maubot
@ -32,11 +32,11 @@ spec:
ports: ports:
- containerPort: 8080 - containerPort: 8080
volumeMounts: volumeMounts:
- name: data
mountPath: /maubot
- name: config - name: config
mountPath: /config mountPath: /config
readOnly: true readOnly: true
- name: data
mountPath: /maubot
readinessProbe: readinessProbe:
timeoutSeconds: 1 timeoutSeconds: 1
initialDelaySeconds: 5 initialDelaySeconds: 5

View file

@ -2,14 +2,14 @@
apiVersion: v1 apiVersion: v1
kind: Service kind: Service
metadata: metadata:
name: web name: maubot
labels: labels:
app: maubot app: maubot
spec: spec:
ports: ports:
- name: web - name: maubot
port: 8080 port: 8080
targetPort: 8080 targetPort: 8080
selector: selector:
app: maubot app: maubot
deploymentconfig: web deploymentconfig: maubot