Skip to content

Commit

Permalink
add dev docs part
Browse files Browse the repository at this point in the history
Signed-off-by: ChrsMark <chrismarkou92@gmail.com>
  • Loading branch information
ChrsMark committed May 22, 2024
1 parent 04919e4 commit cbefd21
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions examples/kubernetes/dev-docs.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Running OpenTelemetry Collector from source on k8s

Developing Collector's features that target to run on a Kubernetes environment require some special handling
for building and running the patches locally.


In order to build the Collector from source and deploy it on a local kind cluster
(a kind cluster is required to be installed already) use the following Makefile targets:

#### Build the Collector
`make kind-build`

#### Install the Collector as Daemonset
`make kind-install-daemonset`

This command will install the Collector using the [`daemonset-collector-dev.yaml`](./daemonset-collector-dev.yaml)
configuration sample.
This only stands as a sample configuration and users need to tune this according to their needs.

#### Uninstall the Daemonset
`make kind-uninstall-daemonset`

0 comments on commit cbefd21

Please sign in to comment.