service.yaml 149 B

1234567891011
  1. apiVersion: v1
  2. kind: Service
  3. metadata:
  4. name: redis
  5. spec:
  6. selector:
  7. pod: redis
  8. ports:
  9. - protocol: TCP
  10. port: 6379
  11. targetPort: 6379