ngibanel opened a new issue #90: Unable to create action - connection timed out
URL: https://github.com/apache/incubator-openwhisk-deploy-kube/issues/90
 
 
   Hi,
   
   I have deployed openwhisk on a local kubernetes cluster (single node) 
following step-by-step the docs but I cannot reach the nginx service.
   
   The required pods are running :
   
   ```bash
   root@development:~# kubectl -n openwhisk get pods
   NAME                          READY     STATUS    RESTARTS   AGE
   apigateway-68f4db64cb-x25lm   1/1       Running   1          5h
   controller-0                  1/1       Running   7          5h
   controller-1                  1/1       Running   16         5h
   couchdb-654f4f74c6-vzk4j      1/1       Running   1          5h
   invoker-0                     1/1       Running   1          5h
   kafka-746798bbc9-qspxb        1/1       Running   5          5h
   nginx-7d9f45fcf4-k5nd6        1/1       Running   1          4h
   redis-7c8c49fdd5-9hh67        1/1       Running   1          5h
   zookeeper-84b6df89bc-w5k7t    1/1       Running   1          5h
   ```
   The IP of the Kubernetes Nginx service is **10.110.238.5** and the port 
**32589**
   ```bash
   root@development:~# kubectl -n openwhisk describe service nginx
   Name:                     nginx
   Namespace:                openwhisk
   Labels:                   name=nginx
   Annotations:              
kubectl.kubernetes.io/last-applied-configuration={"apiVersion":"v1","kind":"Service","metadata":{"annotations":{},"labels":{"name":"nginx"},"name":"nginx","namespace":"openwhisk"},"spec":{"ports":[{"n...
   Selector:                 name=nginx
   Type:                     NodePort
   IP:                       10.110.238.5
   Port:                     http  80/TCP
   TargetPort:               80/TCP
   NodePort:                 http  30849/TCP
   Endpoints:                10.32.0.14:80
   Port:                     https-api  443/TCP
   TargetPort:               443/TCP
   NodePort:                 https-api  32589/TCP
   Endpoints:                10.32.0.14:443
   Port:                     https-admin  8443/TCP
   TargetPort:               8443/TCP
   NodePort:                 https-admin  31981/TCP
   Endpoints:                10.32.0.14:8443
   Session Affinity:         None
   External Traffic Policy:  Cluster
   Events:                   <none>
   ```
   
   Finnaly, I setup the wsk cli
   
   ```bash
   wsk property set --auth 
23bc46b1-71f6-4ed5-8c54-816aa4f8c502:123zO3xZCLrMN6v2BKK1dXYFpXlPkccOFqm12CdAsMgRU4VrNZ9lyGVCGuMDGIwP
 --apihost https://10.110.238.5:32589
   ```
   
   However, when I try to create an action, I have a connection timed out error
   ```bash
   error: Unable to create action 'hello': Put 
https://10.110.238.5:32589/api/v1/namespaces/_/actions/hello?overwrite=false: 
dial tcp 10.110.238.5:32589: getsockopt: connection timed out
   ```
   
   Is the wsk cli correctly setup (with the correct IP) ?
   
   Thanks.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to