Adds zulip app.
This commit is contained in:
46
zulip/versions/9/deployment-memcached.yaml
Normal file
46
zulip/versions/9/deployment-memcached.yaml
Normal file
@@ -0,0 +1,46 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: zulip-memcached
|
||||
namespace: {{ .namespace }}
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
component: memcached
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
component: memcached
|
||||
spec:
|
||||
securityContext:
|
||||
runAsNonRoot: true
|
||||
runAsUser: 11211
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
containers:
|
||||
- name: memcached
|
||||
image: memcached:1.6.32-alpine
|
||||
args:
|
||||
- -m
|
||||
- "64m"
|
||||
- -c
|
||||
- "1024"
|
||||
- -p
|
||||
- "11211"
|
||||
ports:
|
||||
- containerPort: 11211
|
||||
name: memcached
|
||||
resources:
|
||||
requests:
|
||||
cpu: 50m
|
||||
memory: 64Mi
|
||||
limits:
|
||||
cpu: "200m"
|
||||
memory: 128Mi
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
capabilities:
|
||||
drop:
|
||||
- ALL
|
||||
readOnlyRootFilesystem: true
|
||||
Reference in New Issue
Block a user