# Install Kubernetes Dynatrace Operator Error

**URL:** <https://community.dynatrace.com/t/install-kubernetes-dynatrace-operator-error/54381>\
**Category:** Container platforms\
**Tags:** dynatrace-operator, kubernetes\
**Created:** [December 14, 2025, 11:34am UTC](https://community.dynatrace.com/t/install-kubernetes-dynatrace-operator-error/54381 "2025-12-14T11:34:59Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![MMM\_01](https://avatars.discourse-cdn.com/v4/letter/m/5fc32e/32.png) [@MMM\_01](https://community.dynatrace.com/u/MMM_01)\
**Post date:** [December 14, 2025, 11:34am UTC](https://community.dynatrace.com/t/install-kubernetes-dynatrace-operator-error/54381/1 "2025-12-14T11:34:59Z")

</div>

I am facing an issue when trying to install Dynatrace Operator by Script:

_ **helm install Dynatrace-operator oci://publick.ecr.aws/Dynatrace-operator --create-namespace --namespace dynatrace --atomic** _

following error received:

_**Error: INSTALLATION FAILED: GET&nbsp;[https://public.ecr.aws/v2/dynatrace/dynatrace-operator/tags/list:](https://public.ecr.aws/v2/dynatrace/dynatrace-operator/tags/list:) unable to retrieve credential.**_

Which credential is required & how to proceed with installation

Thank you

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [December 14, 2025, 7:57pm UTC](https://community.dynatrace.com/t/install-kubernetes-dynatrace-operator-error/54381/2 "2025-12-14T19:57:25Z")

</div>

You have typos (capital letters and incorrect domain name) in the helm command, it should be:  
helm install dynatrace-operator oci://public.ecr.aws/dynatrace/dynatrace-operator&nbsp;--create-namespace --namespace dynatrace --atomic

However, this does not explain the error. Do you use http proxy in your environment and is the cluster allowed to pull images from Internet (public.ecr.aws repository)?

---

<div class="post-metadata">

**Author:** ![gopher](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/gopher/32/5728_2.png) [@gopher](https://community.dynatrace.com/u/gopher)\
**Post date:** [December 15, 2025, 2:47am UTC](https://community.dynatrace.com/t/install-kubernetes-dynatrace-operator-error/54381/3 "2025-12-15T02:47:19Z")

</div>

As mentioned above - Try following these steps instead.

[Use a public registry — Dynatrace Docs](https://docs.dynatrace.com/docs/ingest-from/setup-on-k8s/guides/container-registries/use-public-registry)  
[Use a private registry — Dynatrace Docs](https://docs.dynatrace.com/docs/ingest-from/setup-on-k8s/guides/container-registries/use-private-registry)

They should resolve your issue.&nbsp; the above error is indicating that you have not passed the required registry credentials for accessing the image - this can happen if you are behind proxy.

Also, you can pass the no-proxy flag in your command which will prevent this as well.

---

<div class="post-metadata">

**Author:** ![MMM\_01](https://avatars.discourse-cdn.com/v4/letter/m/5fc32e/32.png) [@MMM\_01](https://community.dynatrace.com/u/MMM_01)\
**Post date:** [December 16, 2025, 2:10pm UTC](https://community.dynatrace.com/t/install-kubernetes-dynatrace-operator-error/54381/4 "2025-12-16T14:10:59Z")

</div>

Thanks Loman,

Yes, there is a proxy in the environment.

---

<div class="post-metadata">

**Author:** ![MMM\_01](https://avatars.discourse-cdn.com/v4/letter/m/5fc32e/32.png) [@MMM\_01](https://community.dynatrace.com/u/MMM_01)\
**Post date:** [December 16, 2025, 2:16pm UTC](https://community.dynatrace.com/t/install-kubernetes-dynatrace-operator-error/54381/5 "2025-12-16T14:16:42Z")

</div>

Thanks gopher.

How to&nbsp;pass the no-proxy flag in the command?

---

<div class="post-metadata">

**Author:** ![gopher](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/gopher/32/5728_2.png) [@gopher](https://community.dynatrace.com/u/gopher)\
**Post date:** [December 16, 2025, 10:07pm UTC](https://community.dynatrace.com/t/install-kubernetes-dynatrace-operator-error/54381/6 "2025-12-16T22:07:32Z")

</div>

[@MMM\_01](https://community.dynatrace.com/user/61193)&nbsp; these are passed In your CRD

[DynaKube feature flags for Dynatrace Operator — Dynatrace Docs](https://docs.dynatrace.com/docs/ingest-from/setup-on-k8s/reference/dynakube-feature-flags)

Where using a private registry, you need to pass the registry dns name in the no-proxy to disable asking credentials.

Example below,

```markup
apiVersion: ${API_VERSION}
kind: DynaKube
metadata:
  name: dynakube
  namespace: dynatrace
  annotations:
    feature.dynatrace.com/no-proxy: "${NO_PROXY}" #private repo

```
