-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: ChrsMark <chrismarkou92@gmail.com>
- Loading branch information
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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` |