diff options
Diffstat (limited to 'kubernetes')
-rw-r--r-- | kubernetes/namespaces/bots/king-arthur/deployment.yaml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/kubernetes/namespaces/bots/king-arthur/deployment.yaml b/kubernetes/namespaces/bots/king-arthur/deployment.yaml index b5250ba..16f3a2c 100644 --- a/kubernetes/namespaces/bots/king-arthur/deployment.yaml +++ b/kubernetes/namespaces/bots/king-arthur/deployment.yaml @@ -5,6 +5,8 @@ metadata: namespace: bots spec: replicas: 1 + strategy: + type: Recreate selector: matchLabels: app: king-arthur @@ -30,7 +32,14 @@ spec: name: king-arthur-env securityContext: readOnlyRootFilesystem: true + volumeMounts: + - name: tmpfs + mountPath: /tmp securityContext: fsGroup: 2000 runAsUser: 1000 runAsNonRoot: true + volumes: + - name: tmpfs + emptyDir: + medium: Memory |