2022-06-15 17:11:56 UTC - Jae Han Kim: Hello, I am trying to install OpenWhisk on Kubernetes using Kind. I have followed the official documentation from `openwhisk-deploy-kube` but all the install-package pods are failing with error
The log of the install-package pods display `error: Unable to get action 'routemgmt/deleteApi': Get <https://localhost:31001/api/v1/namespaces/whisk.system/actions/routemgmt/deleteApi?code=false>: dial tcp [::1]:31001: getsockopt: connection refused` Checking previous issues, I believe this is a problem with the pod(s) not being able to connect to my cluster. The trouble shooting doc suggests `If the install-packages-* pod Errors with a message like the below, ensure the apiHost you specify within cluster.yaml is resolvable within the cluster` , but I'm not sure how I could make sure the apiHost is resolvable within the cluster. I would appreciate any pointers `deploy/kind/mycluster.yaml` whisk: ingress: type: NodePort apiHostName: localhost apiHostPort: 31001 apiHostProto: "https" useInternally: false nginx: httpsNodePort: 31001 _# disable affinity_ affinity: enabled: false toleration: enabled: false invoker: options: "-Dwhisk.kubernetes.user-pod-node-affinity.enabled=false" _# must use KCF as kind uses containerd as its container runtime_ containerFactory: impl: "kubernetes" `kubectl get pods -n openwhisk --watch -o wide` NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES owdev-alarmprovider-5b86cb64ff-8jczt 1/1 Running 0 62m 10.244.2.9 kind-worker2 <none> <none> owdev-apigateway-56b8cc9dbf-ncqj9 1/1 Running 0 62m 10.244.1.2 kind-worker <none> <none> owdev-controller-0 1/1 Running 0 62m 10.244.1.7 kind-worker <none> <none> owdev-couchdb-87c76548-njbcl 1/1 Running 0 62m 10.244.1.10 kind-worker <none> <none> owdev-gen-certs-7xqkc 0/1 Completed 0 62m 10.244.2.6 kind-worker2 <none> <none> owdev-init-couchdb-qjhlp 0/1 Completed 0 62m 10.244.2.5 kind-worker2 <none> <none> owdev-install-packages-4z896 0/1 Error 0 52m 10.244.1.16 kind-worker <none> <none> owdev-install-packages-ltktj 0/1 Error 0 62m 10.244.1.6 kind-worker <none> <none> owdev-install-packages-przj8 0/1 Error 0 56m 10.244.1.14 kind-worker <none> <none> owdev-install-packages-q5f4r 0/1 Error 0 54m 10.244.1.15 kind-worker <none> <none> owdev-invoker-0 1/1 Running 0 62m 10.244.1.3 kind-worker <none> <none> owdev-kafka-0 1/1 Running 0 62m 10.244.2.8 kind-worker2 <none> <none> owdev-kafkaprovider-5574d4bf5f-ghq5s 1/1 Running 0 62m 10.244.2.3 kind-worker2 <none> <none> owdev-nginx-74fdfbf868-7shrs 1/1 Running 0 62m 10.244.2.10 kind-worker2 <none> <none> owdev-redis-59bf4984c-x4rnr 1/1 Running 0 62m 10.244.1.8 kind-worker <none> <none> owdev-wskadmin 1/1 Running 0 62m 10.244.2.2 kind-worker2 <none> <none> owdev-zookeeper-0 1/1 Running 0 62m 10.244.1.12 kind-worker <none> <none> wskowdev-invoker-00-1-prewarm-nodejs10 1/1 Running 0 59m 10.244.2.13 kind-worker2 <none> <none> wskowdev-invoker-00-2-prewarm-nodejs10 1/1 Running 0 59m 10.244.2.14 kind-worker2 <none> <none> `kubectl run --rm busybox-lookup -ti --image busybox -- nslookup localhost` • *** Can't find localhost.svc.cluster.local: No answer • *** Can't find localhost.cluster.local: No answer • *** Can't find localhost.hitronhub.home: No answer • *** Can't find localhost.default.svc.cluster.local: No answer • *** Can't find localhost.svc.cluster.local: No answer • *** Can't find localhost.cluster.local: No answer • *** Can't find localhost.hitronhub.home: No answer https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1655313116500649 ---- 2022-06-15 22:24:44 UTC - Brendan Doyle: Is there any documentation on how the function cache works? I think every cold start is not loading the function from the cache but having trouble understanding where the rules are for cache eviction or how long something is kept in the cache, max size of the cache, etc. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1655331884251959 ----