update deployment for multi-environment setup

This commit is contained in:
2024-09-20 22:09:48 +02:00
parent c9df181256
commit d9d8aa8e8e
14 changed files with 78 additions and 32 deletions

View File

@@ -0,0 +1,22 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: memcached
spec:
replicas: 1
selector:
matchLabels:
app: memcached
template:
metadata:
labels:
app: memcached
spec:
containers:
- name: memcached
securityContext:
allowPrivilegeEscalation: false
image: memcached
imagePullPolicy: IfNotPresent
ports:
- containerPort: 11211