Hi there,
I'm struggling to connect to the nginx apiserver using `kubectl proxy ...`.

It seems that it's struggling to proxy the https traffic. I'm not sure if the 
proxy command just doesn't proxy https traffic, or if I'm doing something 
wrong. Can you recommend how to do this? Thanks.

For example:
```bash
$ kubectl get svc -n openwhisk nginx
NAME      TYPE       CLUSTER-IP       EXTERNAL-IP   PORT(S)                     
                AGE
nginx     NodePort   172.20.242.181   <none>        
80:32040/TCP,443:31005/TCP,8443:31201/TCP   34m

$ kubectl proxy --port=31005 &
[1] 86814
Starting to serve on 127.0.0.1:31005

$curl localhost:31005
{
  "paths": [
    "/api",
    "/api/v1",
    "/apis",
    "/apis/",
...

$ curl https://localhost:31005
curl: (35) error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol


$ wsk property set --apihost localhost:31005
ok: whisk API host set to localhost:31005

$ wsk --insecure action get /whisk.system/samples/greeting
error: Unable to get action 'samples/greeting': Get 
https://localhost:31005/api/v1/namespaces/whisk.system/actions/samples/greeting?code=false:
 http: server gave HTTP response to HTTPS client
Run 'wsk --help' for usage.
```

[ Full content available at: 
https://github.com/apache/incubator-openwhisk-deploy-kube/issues/291 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to