apiVersion: v1
kind: Service
metadata:
  name: redis-slave
  labels:
    name: redis-service
    app: guestbook-app

spec:
  ports:
  - targetPort: 6379
    port: 6379
  selector:
    name: redis-pod
    app: guestbook-app
