feat: Add complete Redis cache example with multi-container pod and web interface
This commit is contained in:
15
examples/redis-cache/redis-cache-service.yaml
Normal file
15
examples/redis-cache/redis-cache-service.yaml
Normal file
@@ -0,0 +1,15 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: redis-cache-service
|
||||
spec:
|
||||
selector:
|
||||
app: redis-cache
|
||||
ports:
|
||||
- name: redis
|
||||
port: 6379
|
||||
targetPort: 6379
|
||||
- name: web
|
||||
port: 8080
|
||||
targetPort: 8080
|
||||
type: LoadBalancer
|
||||
Reference in New Issue
Block a user