When I helm install stable/hadoop
,it reports this error:
Failed to pull image "danisla/hadoop:2.9.0": rpc error: code = Unknown desc = Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
so, I manually docker pull danisla/hadoop:2.9.0
, but it didn't work.
The imagePullPolicy
is IfNotPresent
You need to pull the image on all nodes with your approach.
Ideally you need to setup the registry to work with your cluster. If you need to authenticate to your registry, you can can create a secret and use ImagePullSecret
.