When building the operator (from within a container) with make setup-kind
I get:
Creating cluster "vault-secrets-operator" ...
β Ensuring node image (kindest/node:v1.29.0) πΌ
β Preparing nodes π¦
β Writing configuration π
β Starting control-plane πΉοΈ
β Installing CNI π
β Installing StorageClass πΎ
β Waiting β€ 5m0s for control-plane = Ready β³
β’ WARNING: Timed out waiting for Ready β οΈ
On the container vault-secrets-operator-control-plane
the kubectl describe node
reports:
Conditions:
Type Status LastHeartbeatTime LastTransitionTime Reason Message
---- ------ ----------------- ------------------ ------ -------
MemoryPressure False Fri, 08 Mar 2024 09:42:21 +0000 Fri, 08 Mar 2024 09:42:15 +0000 KubeletHasSufficientMemory kubelet has sufficient memory available
DiskPressure False Fri, 08 Mar 2024 09:42:21 +0000 Fri, 08 Mar 2024 09:42:15 +0000 KubeletHasNoDiskPressure kubelet has no disk pressure
PIDPressure False Fri, 08 Mar 2024 09:42:21 +0000 Fri, 08 Mar 2024 09:42:15 +0000 KubeletHasSufficientPID kubelet has sufficient PID available
Ready False Fri, 08 Mar 2024 09:42:21 +0000 Fri, 08 Mar 2024 09:42:15 +0000 KubeletNotReady container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:Network plugin returns error: cni plugin not initialized
The container I am running the make
from is started with:
docker run --rm -it --privileged -v /var/run/docker.sock:/var/run/docker.sock \
-v ${PWD}/output:/output operator:builder
Is this a valid means of building the operator or am I missing runtime options on the docker command?
TIA⦠Neale