This commit is contained in:
Jon
2020-09-29 22:08:20 +00:00
commit 3b91f7ee26
9 changed files with 161 additions and 0 deletions

46
deployment.yaml Normal file
View File

@@ -0,0 +1,46 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: test-redis
labels:
app: test-redis
spec:
replicas: 1
selector:
matchLabels:
app: test-redis
template:
metadata:
labels:
app: test-redis
spec:
containers:
- name: test-redis
image: aarch64/redis
ports:
- containerPort: 6379
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: test-redis-http
labels:
app: test-redis-http
spec:
replicas: 2
selector:
matchLabels:
app: test-redis-http
template:
metadata:
labels:
app: test-redis-http
spec:
containers:
- name: test-redis-http
image: docker.endofeternity.ca/test-redis-http:v2
ports:
- containerPort: 80
name: test-redis-http
protocol: TCP