-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Add makefile targets to automate development on k8s #32348
Labels
Comments
crobert-1
added
enhancement
New feature or request
comp:kubernetes
Kubernetes-related components
labels
Apr 12, 2024
Seems reasonable |
andrzej-stencel
pushed a commit
that referenced
this issue
May 22, 2024
**Description:** <Describe what has changed.> <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> First attempt for #32348. **Link to tracking Issue:** <Issue number if applicable> #32348 **Testing:** <Describe what testing was performed and which tests were added.> **Documentation:** <Describe the documentation added.> --------- Signed-off-by: ChrsMark <chrismarkou92@gmail.com>
andrzej-stencel
added a commit
that referenced
this issue
May 30, 2024
…yment (#33220) **Description:** <Describe what has changed.> <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> This PR adds a makefile target for installing a locally built collector image (on a local k8s kind cluster) in deployment mode. **Link to tracking Issue:** <Issue number if applicable> Fixes #32348 Follow up of #32349 **Testing:** <Describe what testing was performed and which tests were added.> **Documentation:** <Describe the documentation added.> Added /cc @andrzej-stencel who reviewed the daemonset target PR --------- Signed-off-by: ChrsMark <chrismarkou92@gmail.com> Co-authored-by: Andrzej Stencel <andrzej.stencel@elastic.co>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Component(s)
No response
Describe the issue you're reporting
I was wondering if there are any basic development tools/scripts that automate the development process on k8s.
For example, when I want to debug or edit the code of the
kubeletstats
receiver I need to manually build and load the image on the local cluster and use a very custom values file for the helm chart to be installed using the custom image.Specifically:
make docker-otelcontribcol && docker tag otelcontribcol otelcontribcol-dev:0.0.1 && kind load docker-image otelcontribcol-dev:0.0.1
and then I use the following values file:
and
helm install daemonset open-telemetry/opentelemetry-collector --values daemonset_local_k8smetrics.yaml
So I wonder if we could automate this with sth like:
This would help to encapsulate all this process and make it easier for new contributors to ramp up.
We can start with sth small and keep adding stuff while we use these targets with the time being.
@TylerHelmuth @jinja2 since you have been working on this area I would like to hear your opinions.
The text was updated successfully, but these errors were encountered: