Skip to content
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

Use upstream's manifest to deploy agent on k8s for tests #328

Closed
ChrsMark opened this issue Apr 20, 2021 · 3 comments · Fixed by #452
Closed

Use upstream's manifest to deploy agent on k8s for tests #328

ChrsMark opened this issue Apr 20, 2021 · 3 comments · Fixed by #452
Labels
enhancement New feature or request

Comments

@ChrsMark
Copy link
Member

Using upstream's manifests to deploy Agent on k8s for testing will keep testing process up to date with the proposed way of deploying agent on k8s. We will avoid hitting issues like #326.

Manifests: https://github.com/elastic/beats/blob/master/deploy/kubernetes/elastic-agent-standalone-kubernetes.yaml

Note: The above manifests are for standalone version so version for far so we need a way to use them with managed version too for testing.

@MichaelKatsoulis
Copy link
Contributor

After merging of elastic/beats#26756 we have proposed manifests for fleet managed agent.
It would be nice for testing with elastic package to support multi node kubernetes cluster (maybe have it as default kind config link) and deploy agent as Daemonset . This approach resembles more to real world scenarios and helps test PRs like elastic/integrations#1321

@ChrsMark
Copy link
Member Author

++ on this.

@mtojek thoughts on this?

@mtojek
Copy link
Contributor

mtojek commented Jul 13, 2021

👍

But we need to make sure that all required ENVs are present. See: https://github.com/elastic/elastic-package/blob/master/internal/install/static_kubernetes_elastic_agent_yml.go#L39

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
3 participants