Skip to content
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

Fix for collector in k8s environment #266

Merged
merged 1 commit into from
Sep 16, 2024
Merged

Conversation

jt-dd
Copy link
Contributor

@jt-dd jt-dd commented Sep 14, 2024

When deploying the collector inside a k8s cluster, we need to configure one of the two variable:

  • KH_K8S_CLUSTER_NAME_ENV_PTR: variable indicating env var to use from the k8s cluster/pod to setup the name of the targetted k8s cluster
  • KH_K8S_CLUSTER_NAME: variable indicating the name of the targetted k8s cluster

Note:

  • KH_K8S_CLUSTER_NAME_ENV_PTR will overwrite the KH_K8S_CLUSTER_NAME env var.

@jt-dd jt-dd marked this pull request as ready for review September 16, 2024 08:04
@jt-dd jt-dd requested a review from a team as a code owner September 16, 2024 08:04
@jt-dd jt-dd merged commit 7b23ffd into main Sep 16, 2024
8 checks passed
@jt-dd jt-dd deleted the jt-dd/fix-collector-k8s-env branch September 16, 2024 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants