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

feat(agent): k8s deployment script #3190

Merged
merged 5 commits into from
Sep 27, 2023
Merged

feat(agent): k8s deployment script #3190

merged 5 commits into from
Sep 27, 2023

Conversation

mathnogueira
Copy link
Contributor

This PR adds the k8s manifest to deploy the agent in a cluster

Checklist

  • tested locally
  • added new dependencies
  • updated the docs
  • added a test

spec:
containers:
- name: tracetest-agent
image: kubeshop/tracetest-agent:v0.13.9
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we use latest here?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It may be a good idea. I believe that it is easy to forget to update this version.

spec:
containers:
- name: tracetest-agent
image: kubeshop/tracetest-agent:v0.13.9
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It may be a good idea. I believe that it is easy to forget to update this version.

spec:
containers:
- name: tracetest-agent
image: kubeshop/tracetest-agent:v0.13.9
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thinking also about the version: is there a way to make this version configurable? My idea is to think a way to install a specific version of the agent in a cluster.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

By default, kubeshop/tracetest-agent:latest will be used.

If the user provides a third option with the version, that version will be used instead:

curl <path> | bash -s -- <namespace> <api-key> (<version>?)

@mathnogueira mathnogueira merged commit 6844e5c into main Sep 27, 2023
@mathnogueira mathnogueira deleted the feat/k8s-agent-deploy branch September 27, 2023 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants