title: Failing to reach my app locally (route doesn't work)
body: <p>I've built a deployment, service and ingress however I fail to reach it on my local web (using minikube).</p>
  <p>I've just uploaded a random HTML to my github user, and this &quot;app&quot; is just cloning my git repo containing the HTML file to the container and I try to reach it locally..</p>
  <p><strong>My Deployment file: (My container is working well 100%).</strong></p>
  <pre><code>apiVersion: apps/v1
  kind: Deployment
  metadata: 
    name: test-deployment
    labels: 
      app: nginx
  spec: 
    replicas: 1
    selector: 
      matchLabels:
        app: nginx
    template: 
      metadata: 
        labels: 
          app: nginx
      spec:
        containers: 
        - name: ourapp
          image: nginx:latest
          ports:
          - containerPort: 80
          volumeMounts:
          - name: cdn
            mountPath: /usr/share/nginx/html
        initContainers:
        - name: init
          image: alpine/git:latest
          volumeMounts:
          - name: cdn
            mountPath: /home/cdn
          command: [&quot;/bin/sh&quot;, &quot;-c&quot;]
          args: ['git clone $GIT_CLONE /home/cdn']
          env:
            - name: GIT_CLONE
              valueFrom:
                configMapKeyRef:
                  name: config-map
                  key: kvsource
        volumes:
        - name: cdn
          emptyDir: {}
  </code></pre>
  <p><strong>My service file:</strong></p>
  <pre><code>apiVersion: v1
  kind: Service
  metadata:
    name: my-cip-service
  spec:
    selector:
      app: nginx
    type: ClusterIP
    ports:
      - protocol: TCP
        port: 80
        targetPort: 8080
  </code></pre>
  <p><strong>I've applied the ingress addon on Minikube and generated the following ingress file:</strong></p>
  <pre><code>apiVersion: networking.k8s.io/v1
  kind: Ingress
  metadata:
    name: ingress
  spec:
    rules:
    - host: localhost
      http:
        paths:
        - path: /
          pathType: Prefix
          backend:
            service: 
              name: my-cip-service
              port:
                number: 80 
  </code></pre>
  <p><strong>However I still unable to reach my app at localhost/    address..
  I'm stuck on it for a long time.. Do you see anything wrong here?</strong></p>