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

25
service.yaml Normal file
View File

@@ -0,0 +1,25 @@
apiVersion: v1
kind: Service
metadata:
name: test-redis
spec:
type: ClusterIP
ports:
- name: redis
port: 6379
targetPort: 6379
selector:
app: test-redis
---
apiVersion: v1
kind: Service
metadata:
name: test-redis-http
spec:
type: ClusterIP
ports:
- name: http
port: 80
targetPort: 8000
selector:
app: test-redis-http