init
This commit is contained in:
46
deployment.yaml
Normal file
46
deployment.yaml
Normal 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
|
||||
|
||||
Reference in New Issue
Block a user