dse-assignment/kubernetes/redis-deployment.yaml

31 lines
579 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
creationTimestamp: null
labels:
io.kompose.service: redis
name: redis
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: redis
strategy: {}
template:
metadata:
creationTimestamp: null
labels:
io.kompose.service: redis
spec:
containers:
- image: redis
imagePullPolicy: ""
name: redis
ports:
- containerPort: 6379
resources: {}
restartPolicy: Always
serviceAccountName: ""
volumes: null
status: {}