k8s-manifests/customers/base/redis-service.yml

19 lines
281 B
YAML
Raw Normal View History

2023-03-27 14:41:43 +00:00
apiVersion: v1
kind: Service
metadata:
annotations:
labels:
app: redis
name: redis
namespace: customer
spec:
ports:
- name: redis
nodePort: 30379
port: 6379
targetPort: redis
selector:
app: redis
app.kubernetes.io/name: redis
type: NodePort