You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Deploying determined ai on premise kubernetes cluster with custom registry for the postgres db pod results in forbidden error while pulling image🐛[bug]
#7770
Open
humbleearth opened this issue
Aug 31, 2023
· 3 comments
hi @ioga . In a corporate environment, we have to route all container image requests through an on-prem Artifactory server that sits between the corporate network and the outside world. This includes even public images like postgres
Could you please consider updating the helm chart to provide a "global" imagePullSecret that is used for all image pulls?
Further, for all of the images (master, postgreSQL, kubeScheduler, kubeSchedulerPreemption, cpuImage, etc), please consider having the Helm chart break that up into 3 separate editable fields: registry, repository, tag.
Then in this scenario, we would only override the registry for each image to point to the Artifactory proxy server, and leave the repository and tag as defaults
Your request makes sense to me. I've added an internal tickets to address these two points.
if you end up forking the helm chart and implementing this, while keeping the backwards compatibility with the existing defaultImages & imageRegistry options, we'd be happy to take a PR.
Describe the bug
The postgres db pod image does not download with custom registry.
Reproduction Steps
imageRegistry: sample.registry.custom.com:5000/determinedai
PostgreSQL image
postgreSQL: "sample.registry.custom.com:5000/postgres:10.14"
4. helm install
The master image downloads but while downloading the postgresql image results in below error:
Error inside db pod:
Warning Failed 6s (x3 over 46s) kubelet Failed to pull image
"sample.registry.custom.com:5000/postgres:10.14": rpc error: code = Unknown desc = failed to pull and unpack image "sample.registry.custom.com:5000/postgres:10.14": failed to resolve reference "sample.registry.custom.com:5000/postgres:10.14": pulling from hostsample.registry.custom.com:5000 failed with status code [manifests
10.14]: 403 Forbidden
Expected Behavior
It should pull both the master and postgres images
Screenshot
Environment
Additional Context
No response
The text was updated successfully, but these errors were encountered: