apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: "microblog-ingress"
  # annotations:
    # nginx.ingress.kubernetes.io/rewrite-target: /$1
spec:
  rules:
  - host: k8s.com # CHANGE ME!
    http:
      paths:
      - path: /
        pathType: Prefix
        backend:
            service:
                name: microblog
                port:
                    number: 5000