openscanhub: clean up redis deployment configs
Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
This commit is contained in:
parent
8529fc787f
commit
78623f3d7b
1 changed files with 1 additions and 26 deletions
|
@ -1,14 +1,6 @@
|
|||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
annotations:
|
||||
alpha.image.policy.openshift.io/resolve-names: '*'
|
||||
app.openshift.io/route-disabled: "false"
|
||||
deployment.kubernetes.io/revision: "1"
|
||||
image.openshift.io/triggers: '[{"from":{"kind":"ImageStreamTag","name":"redis:c9s","namespace":"openscanhub"},"fieldPath":"spec.template.spec.containers[?(@.name==\"redis\")].image","pause":"false"}]'
|
||||
openshift.io/generated-by: OpenShiftWebConsole
|
||||
creationTimestamp: "2024-03-07T13:22:42Z"
|
||||
generation: 1
|
||||
labels:
|
||||
app: redis
|
||||
app.kubernetes.io/component: redis
|
||||
|
@ -18,25 +10,15 @@ metadata:
|
|||
app.openshift.io/runtime-namespace: openscanhub
|
||||
name: redis
|
||||
namespace: openscanhub
|
||||
resourceVersion: "772873714"
|
||||
uid: 1cb2c91a-fa3d-4d27-8911-d66254fb9881
|
||||
spec:
|
||||
progressDeadlineSeconds: 600
|
||||
replicas: 1
|
||||
revisionHistoryLimit: 10
|
||||
selector:
|
||||
matchLabels:
|
||||
app: redis
|
||||
strategy:
|
||||
rollingUpdate:
|
||||
maxSurge: 25%
|
||||
maxUnavailable: 25%
|
||||
type: RollingUpdate
|
||||
type: Recreate
|
||||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
openshift.io/generated-by: OpenShiftWebConsole
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
app: redis
|
||||
deployment: redis
|
||||
|
@ -48,17 +30,10 @@ spec:
|
|||
ports:
|
||||
- containerPort: 6379
|
||||
protocol: TCP
|
||||
resources: {}
|
||||
terminationMessagePath: /dev/termination-log
|
||||
terminationMessagePolicy: File
|
||||
volumeMounts:
|
||||
- mountPath: /var/lib/redis/data
|
||||
name: pvc-var-lib-redis-data
|
||||
dnsPolicy: ClusterFirst
|
||||
restartPolicy: Always
|
||||
schedulerName: default-scheduler
|
||||
securityContext: {}
|
||||
terminationGracePeriodSeconds: 30
|
||||
volumes:
|
||||
- name: pvc-var-lib-redis-data
|
||||
persistentVolumeClaim:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue