apache / openwhisk-deploy-kube

The Apache OpenWhisk Kubernetes Deployment repository supports deploying the Apache OpenWhisk system on Kubernetes and OpenShift clusters.
https://openwhisk.apache.org/
Apache License 2.0
301 stars 231 forks source link

OpenWhisk pods can't access internet #724

Open shakshisinghai opened 2 years ago

shakshisinghai commented 2 years ago

Hello, I am installing OpenWhisk using Helm but, open whisk deployment is failing. image

I am unable to access the internet inside openwhisk pods. image

image

I am not sure where exactly do I need to change to resolve this issue. Can anyone please help me? @dgrove-oss

spramod49 commented 2 years ago

I'm having the exact same issue. This was happening in #596 as well, but that seems to be closed.

vasKatevas commented 2 years ago

same issue but only when I use vagrant cluster with kind it runs ok. It seems like a node to pod assignment issue

NAME                                       READY   STATUS      RESTARTS   AGE   IP             NODE      NOMINATED NODE   READINESS GATES
pod/owdev-alarmprovider-5b86cb64ff-4kkd4   0/1     Pending     0          26m   <none>         <none>    <none>           <none>
pod/owdev-apigateway-bccbbcd67-9jhrz       1/1     Running     0          26m   192.168.1.46   node-01   <none>           <none>
pod/owdev-controller-0                     0/1     Init:0/2    0          26m   192.168.1.51   node-01   <none>           <none>
pod/owdev-couchdb-584676b956-ppbnc         0/1     Pending     0          26m   <none>         <none>    <none>           <none>
pod/owdev-gen-certs-qw2db                  0/1     Completed   0          26m   192.168.1.49   node-01   <none>           <none>
pod/owdev-init-couchdb-b97w4               0/1     Error       0          25m   192.168.1.55   node-01   <none>           <none>
pod/owdev-init-couchdb-drmgw               0/1     Error       0          25m   192.168.1.54   node-01   <none>           <none>
pod/owdev-init-couchdb-ngmng               0/1     Error       0          25m   192.168.1.56   node-01   <none>           <none>
pod/owdev-init-couchdb-x2thj               0/1     Error       0          26m   192.168.1.50   node-01   <none>           <none>
pod/owdev-install-packages-9vhft           0/1     Init:0/1    0          26m   192.168.1.48   node-01   <none>           <none>
pod/owdev-invoker-0                        0/1     Init:0/1    0          26m   192.168.1.53   node-01   <none>           <none>
pod/owdev-kafka-0                          0/1     Pending     0          26m   <none>         <none>    <none>           <none>
pod/owdev-kafkaprovider-5574d4bf5f-hlklj   0/1     Init:0/1    0          26m   192.168.1.47   node-01   <none>           <none>
pod/owdev-nginx-86749d59cb-gct77           0/1     Init:0/1    0          26m   192.168.1.52   node-01   <none>           <none>
pod/owdev-redis-d65649c5b-mzrq6            0/1     Pending     0          26m   <none>         <none>    <none>           <none>
pod/owdev-wskadmin                         1/1     Running     0          26m   192.168.1.45   node-01   <none>           <none>
pod/owdev-zookeeper-0                      0/1     Pending     0          26m   <none>         <none>    <none>           <none>

nodes are labeled properly

style95 commented 2 years ago

It's not easy to analyze the reason without information about your kubernetes environment. So generally a pod running on your k8s has access to the internet but the openwhisk pods don't have it?

pearPLUS commented 1 year ago

I have the same issue too