apache / apache/skywalking

[Feature] inject Python agent automatically in SWCK

Open
#7,682 18 comments 0 reactions 2 assignees Claimed by @rabajaj0509 View on GitHub
feature python
Dominant language
Java
Stars
25k
Forks
6.6k
Avg merge
10h 5m
Merged PRs (30d)
16

Description

### Search before asking

- [X] I had searched in the [issues](https://github.com/apache/skywalking/issues?q=is%3Aissue) and found no similar feature requirement.

### Description

Since https://github.com/apache/skywalking-python/pull/159 is merged, we have Docker image for SkyWalking Python agent and non-intrusive way to install the agent, it would be perfect if we can also enhance [SWCK](http://github.com/apache/skywalking-swck) to make it possible to inject the Python agent automatically when Kubernetes annotation is specified.

### Use case

When users label a Kubernetes Pod with a special annotation, for example, `swck-java-agent-injected=true`, SWCK can automatically inject the Python agent to the application Pod, hence the users don't even need to modify their Docker image.

### Related issues

Java agent injector: https://github.com/apache/skywalking-swck/pull/30

https://github.com/apache/skywalking-python/pull/159
https://github.com/apache/skywalking/issues/7461

### Are you willing to submit a PR?

- [ ] Yes I am willing to submit a PR!

### Code of Conduct

- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.