New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kubernetes Daemonset manifest does not work on clusters < 1.7 #1465
Comments
I used I'm on kubernetes 1.6.8 |
I tried using
Where |
Actually, I think the issue is that the |
@jonmoter Thats correct. It becomes available in 1.7.x. We are currently digging into making 6.x work with k8s 1.3, 1.4, 1.5, 1.6 via older APIs |
Okay, thanks for the verification. Any idea what the approximate timeframe is for support of the earlier versions? I don't need a commitment, but an idea of O(weeks) or O(months) would be helpful. |
@jonmoter We're actively working on this at the moment. You should start to see some open PRs in the next week or two. Our goal is to have something available to test later in April. |
Hey, any word on this? Any PRs that I could follow along on, to support earlier versions of k8s? |
Hi @jonmoter The two main parts of 1.3+ support are already merged in
The testing image |
Legacy Kubernetes versions are documented in https://github.com/DataDog/datadog-agent/blob/master/Dockerfiles/agent/README.md#legacy-kubernetes-versions |
Kubernetes manifest files don't work on Kubernetes clusters < 1.7
In your example manifests, there's this line:
datadog-agent/Dockerfiles/manifests/agent.yaml
Lines 34 to 37 in ea79825
Support for using
status.hostIP
was added in kubernetes/kubernetes#42717, which was part of the 1.7 release.If I try deploying with your manifest, I get an error like:
I'm running Kubernetes 1.5.7. (Yes, it's an old release, and we're working on upgrading.)
Is the
DD_KUBERNETES_KUBELET_HOST
environment variable necessary for the kubernetes integration to work?If you only support Kubernetes 1.7 or higher, please document this. If not, please offer an alternative to how to make this work on earlier versions.
The text was updated successfully, but these errors were encountered: