Hi!
We don't have imagePullSecrets as part of the FlinkDeplyomentSpec at the
moment, however you can simply use the following built in Flink
configuration:
https://nightlies.apache.org/flink/flink-docs-release-1.16/docs/deployment/config/#kubernetes-container-image-pull-secrets
kubernetes.container.image.pull-secrets: secrets

Cheers,
Gyula

On Fri, Jul 21, 2023 at 10:05 AM Rajat Ahuja <ahujarajat...@gmail.com>
wrote:

> Hi Flink Experts,
>
> When I need to fetch a customer Docker image (built on top of Flink 1.17
> to add connectors or SQL code) from our organization's private registry
> using *K8s operator, it fails with the error. Although image is present
> on repo, and able to pull on my local machine after pushing to
> artifactory. *
>
> *Warning  Failed     45s (x4 over 2m11s)  kubelet            Failed to
> pull image
> "artifactory.us.bank-dns.com:5000/runner/flink-sql-runner-example:latest
> <http://artifactory.us.bank-dns.com:5000/runner/flink-sql-runner-example:latest>":
> rpc error: code = Unknown desc = Error response from daemon: manifest for
> artifactory.us.bank-dns.com:5000/runner/flink-sql-runner-example:latest
> <http://artifactory.us.bank-dns.com:5000/runner/flink-sql-runner-example:latest>
> not found: manifest unknown: The named manifest is not known to the
> registry."*
>
>
> If i use normal deployment, and pull image i use it with imagePullSecrets
> but i was not able to find the similar placeholder to define in Flink
> deployment kubernetes operator. Any help how to get pass this issue ?
>
> Thanks
>
>
>

Reply via email to