You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to deploy otel using terraform (see below). However, I'm facing 2 problems:
right after deployment (successful):
kubectl -n monitoring logs opentelemetry-kube-stack-daemon-collector-nzj9f
2024-07-11T16:25:18.091Z warn [email protected]/expand.go:102 Variable substitution using $VAR will be deprecated in favor of ${VAR} and ${env:VAR}, please update $OTEL_K8S_NODE_NAME {"variable": "OTEL_K8S_NODE_NAME"}
2024-07-11T16:25:18.091Z warn [email protected]/expand.go:102 Variable substitution using $VAR will be deprecated in favor of ${VAR} and ${env:VAR}, please update $1 {"variable": "1"}
Error: failed to resolve config: cannot resolve the configuration: cannot convert the confmap.Conf: environment variable "1" has invalid name: must match regex ^[a-zA-Z_][a-zA-Z0-9_]*$
2024/07/11 16:25:18 collector server run finished with error: failed to resolve config: cannot resolve the configuration: cannot convert the confmap.Conf: environment variable "1" has invalid name: must match regex ^[a-zA-Z_][a-zA-Z0-9_]*$
I can't find where a variable with a name of "1" is specified...
I can't cleanly uninstall the helmchart. Pods, services, configmaps, secrets, CRDs -- they all remain there. I managed to begin removing CRDs after kubectl patch crd/opentelemetrycollectors.opentelemetry.io -p '{"metadata":{"finalizers":[]}}' --type=merge. After this patch I can then remove it all, manually.
For some reason, helm fails to uninstall it completely, even if it says that the release has been uninstalled.
P.S. I'm planning to inject otel into applications running applications in various namespaces. I understand that annotating respective namespaces should be enough? Will it be able to instrument across multiple namespaces?
For the opentelemetry-kube-stack chart specifically, the issue is fixed in #1255. But also the chart is still under development and using it right now isn't recommended.
I am going to close this since we have a fix and since the chart is still under developement. Once we have our first minor release (v0.1.0) if the issue persists please ping me
Hi,
I'm trying to deploy otel using terraform (see below). However, I'm facing 2 problems:
I can't find where a variable with a name of "1" is specified...
I can't cleanly uninstall the helmchart. Pods, services, configmaps, secrets, CRDs -- they all remain there. I managed to begin removing CRDs after
kubectl patch crd/opentelemetrycollectors.opentelemetry.io -p '{"metadata":{"finalizers":[]}}' --type=merge
. After this patch I can then remove it all, manually.For some reason, helm fails to uninstall it completely, even if it says that the release has been uninstalled.
P.S. I'm planning to inject otel into applications running applications in various namespaces. I understand that annotating respective namespaces should be enough? Will it be able to instrument across multiple namespaces?
The text was updated successfully, but these errors were encountered: