apiVersion: v1
kind: Service
metadata:
  name: varnish-ingress
  namespace: varnish-ingress
  labels:
    app: varnish-ingress
  annotations:
    service.alpha.kubernetes.io/tolerate-unready-endpoints: "true"
spec:
  type: NodePort 
  ports:
  - port: 6081
    targetPort: 6081
    protocol: TCP
    name: varnishadm
  - port: 80
    targetPort: 80
    protocol: TCP
    name: http
  selector:
    app: varnish-ingress
  publishNotReadyAddresses: true
