Deploy Dynakube Using a YAML Configuration File

Summary: This post explains how to deploy Dynakube using YAML manifests. It covers the structure of dynakube.yaml, required fields, and how it controls OneAgent injection and ActiveGate behavior.

Hello, I’m trying to deploy the dynakube.yaml file downloaded from here:

but I’m getting the following error:

Error from server (InternalError): error when creating “dynakube.yaml”: Internal error occurred: failed calling webhook “webhook.dynatrace.com”: failed to call webhook: Post “https://dynatrace-webhook.dynatrace.svc:443/validate?timeout=10s”: context deadline exceeded

This is on GKE, the previous step was completed successfully, also the service is responding and webhook pods to.

One thing I notice is that when deploying dynakube.yaml webhook pods doesn’t show requests on logs.

Any help will be helpful.

Thank you in advance

This error looks like the one found in the Dynatrace Kubernetes Troubleshooting guide here: Troubleshooting — Dynatrace Docs

As suggested in the documentation: “To fix this, add a firewall rule to explicitly allow ingress to port 8443.”

Hii Rkdy ,

Facing the same issue on the AWS EKS could there be anyc hance we can add the 8443 there