Closed lyudmilalala closed 1 year ago
I don't think it is related, but after I changed the apiHostName
in mycluster.yaml
from localhost
to the InternalIP
of my docker desktop k8s node to solve some other api server problems, this issue does not occur again.
To find the InternalIP
of docker desktop k8s node, run kubectl describe node docker-desktop
and find something as below:
Addresses:
InternalIP: 192.168.65.4
Hostname: docker-desktop
I am trying to deploy Openwhisk on
but failed with the same issue.
My Environment
Windows Docker Desktop k8s docker desktop version 4.3.0 docker version 20.10 k8s version 1.22.4 helm version 3.4.2
Self-built k8s cluster two Ubuntu 22.04 Virtualbox VM docker desktop version 4.3.0 docker version 20.10 k8s version 1.21.14 helm version 3.4.2
My steps
Main follows Deploying from Git part of the README
git clone https://github.com/apache/openwhisk-deploy-kube.git
mycluster.yaml
as below in theopenwhisk-deploy-kube
foldernginx: httpsNodePort: 31001
try to disable presistence
k8s: persistence: enabled: false
A single node cluster; so disable affinity
affinity: enabled: false toleration: enabled: false invoker: options: "-Dwhisk.kubernetes.user-pod-node-affinity.enabled=false"
Type Reason Age From Message
Warning FailedScheduling 40s (x9 over 6m17s) default-scheduler 0/2 nodes are available: 2 pod has unbound immediate PersistentVolumeClaims.