imfreedom/k8s-cluster
Clone
Summary
Browse
Changes
Graph
Update PodDisruptionBudget from v1beta1 to v1
2022-04-09, Gary Kramlich
5b41605ec1ca
Update PodDisruptionBudget from v1beta1 to v1
---
apiVersion
:
batch/v1
kind
:
CronJob
metadata
:
name
:
reviews-reviewboard-update-search-index
spec
:
schedule
:
"*/10
*
*
*
*"
concurrencyPolicy
:
Forbid
jobTemplate
:
spec
:
template
:
spec
:
containers
:
-
name
:
update-search-index
image
:
rwgrim/reviewboard-app:latest
imagePullPolicy
:
Always
command
:
-
"/venv/bin/python"
-
"/venv/bin/rb-site"
-
"manage"
-
"/site"
-
"update_index"
-
"--"
-
"--age"
-
"1"
volumeMounts
:
-
mountPath
:
/site
name
:
reviews-reviewboard
readOnly
:
false
subPath
:
reviewboard
restartPolicy
:
OnFailure
securityContext
:
runAsUser
:
1001
runAsGroup
:
1001
volumes
:
-
name
:
reviews-reviewboard
persistentVolumeClaim
:
claimName
:
reviews-reviewboard
---
apiVersion
:
batch/v1
kind
:
CronJob
metadata
:
name
:
reviews-reviewboard-clear-expired-sessions
spec
:
schedule
:
"0
6
*
*
*"
concurrencyPolicy
:
Forbid
jobTemplate
:
spec
:
template
:
spec
:
containers
:
-
name
:
clear-expired-sessions
image
:
rwgrim/reviewboard-app:latest
imagePullPolicy
:
Always
command
:
-
"/venv/bin/python"
-
"/venv/bin/rb-site"
-
"manage"
-
"/site"
-
"clearsessions"
volumeMounts
:
-
mountPath
:
/site
name
:
reviews-reviewboard
readOnly
:
false
subPath
:
reviewboard
restartPolicy
:
OnFailure
securityContext
:
runAsUser
:
1001
runAsGroup
:
1001
volumes
:
-
name
:
reviews-reviewboard
persistentVolumeClaim
:
claimName
:
reviews-reviewboard
---