I am trying to run OpenWhisk on top of KubeEdge.
While the installation works well on top of Kubernetes, on the edge the job gen-certs is failing me.
Looking at the logs, I get
The connection to the server localhost:8080 was refused - did you specify the right host or port?
Can't load /root/.rnd into RNG
139874024714688:error:2406F079:random number generator:RAND_load_file:Cannot open file:../crypto/rand/randfile.c:88:Filename=/root/.rnd
generating new owdev-nginx secret
generating server certificate request
generating self-signed password-less server certificate
Signature ok
subject=C = US, ST = NY, L = Yorktown, O = OpenWhisk, CN = *.192.168.122.10
Getting Private key
generate keystore
The connection to the server localhost:8080 was refused - did you specify the right host or port?
The important parts are the first and last line, where kubectl from the ow-utils image is telling me that it can not access the cluster (during the execution of this script).
I believe this is due to a missing cluster configuration.
This made me wonder: How is ow-utils able to access the cluster/get the cluster configuration? Looking at the helm-files of this project and the definition of ow-utils, it is not obvious to me how this happens.
I am trying to run OpenWhisk on top of KubeEdge.
While the installation works well on top of Kubernetes, on the edge the job gen-certs is failing me.
Looking at the logs, I get
The important parts are the first and last line, where
kubectl
from theow-utils
image is telling me that it can not access the cluster (during the execution of this script).I believe this is due to a missing cluster configuration.
This made me wonder: How is
ow-utils
able to access the cluster/get the cluster configuration? Looking at the helm-files of this project and the definition ofow-utils
, it is not obvious to me how this happens.