Skip to content

Unable to run an app on kubernetes #43

Description

@denismakogon

Steps to reproduce:

  1. Create and publish the container to the registry.
  2. Create a deployment:
kubectl run viz-ui --image=<whoami>/vizceral-example:latest --replicas=1 --port=8080
kubectl expose deployment viz-ui --port=8080 --type=LoadBalancer

curl -v http://192.168.99.100:<exposed-port>
*   Trying 192.168.99.100...
* TCP_NODELAY set
* Connected to 192.168.99.100 (192.168.99.100) port 31865 (#0)
> GET / HTTP/1.1
> Host: 192.168.99.100:31865
> User-Agent: curl/7.54.0
> Accept: */*
> 
< HTTP/1.1 200 OK
< X-Powered-By: Express
< Content-Type: text/html; charset=utf-8
< Content-Length: 19
< ETag: W/"13-OxsTL6IB85fkJxv9HO8uum0slCI"
< Date: Mon, 16 Apr 2018 11:56:43 GMT
< Connection: keep-alive
< 
* Connection #0 to host 192.168.99.100 left intact
Invalid Host header

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions