-
Notifications
You must be signed in to change notification settings - Fork 76
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
Conversation
k8s/agent/deploy-agent.yaml
Outdated
spec: | ||
containers: | ||
- name: tracetest-agent | ||
image: kubeshop/tracetest-agent:v0.13.9 |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
k8s/agent/deploy-agent.yaml
Outdated
spec: | ||
containers: | ||
- name: tracetest-agent | ||
image: kubeshop/tracetest-agent:v0.13.9 |
There was a problem hiding this comment.
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.
k8s/agent/deploy-agent.yaml
Outdated
spec: | ||
containers: | ||
- name: tracetest-agent | ||
image: kubeshop/tracetest-agent:v0.13.9 |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
There was a problem hiding this comment.
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>?)
This PR adds the k8s manifest to deploy the agent in a cluster
Checklist