openobserve-helm-chart
openobserve-helm-chart copied to clipboard
An error is reported when OpenObserve-Collector Helm is installed
helm --namespace openobserve-collector \
install o2c /apps/openobserve-collector
--set k8sCluster=cluster1
--set exporters."otlphttp/openobserve".endpoint=https://XXXXXXXXXXXXXXXX
--set exporters."otlphttp/openobserve".headers.Authorization="XXXXXXXXXXXXX"
--set exporters."otlphttp/openobserve_k8s_events".endpoint=https://XXXXXXXXXXXt
--set exporters."otlphttp/openobserve_k8s_events".headers.Authorization="XXXXXXXXXXXXXXXXXXXXX"
--debug install.go:173: [debug] Original chart version: "" install.go:190: [debug] CHART PATH: /apps/openobserve-collector
Error: unable to build kubernetes objects from release manifest: error validating "": error validating data: ValidationError(OpenTelemetryCollector.spec): missing required field "managementState" in io.opentelemetry.v1beta1.OpenTelemetryCollector.spec helm.go:81: [debug] error validating "": error validating data: ValidationError(OpenTelemetryCollector.spec): missing required field "managementState" in io.opentelemetry.v1beta1.OpenTelemetryCollector.spec helm.sh/helm/v3/pkg/kube.scrubValidationError helm.sh/helm/v3/pkg/kube/client.go:596 helm.sh/helm/v3/pkg/kube.(*Client).Build helm.sh/helm/v3/pkg/kube/client.go:189 helm.sh/helm/v3/pkg/action.(*Install).Run helm.sh/helm/v3/pkg/action/install.go:263 main.runInstall helm.sh/helm/v3/cmd/helm/install.go:242 main.newInstallCmd.func2 helm.sh/helm/v3/cmd/helm/install.go:120 github.com/spf13/cobra.(*Command).execute github.com/spf13/[email protected]/command.go:852 github.com/spf13/cobra.(*Command).ExecuteC github.com/spf13/[email protected]/command.go:960 github.com/spf13/cobra.(*Command).Execute github.com/spf13/[email protected]/command.go:897 main.main helm.sh/helm/v3/cmd/helm/helm.go:80 runtime.main runtime/proc.go:225 runtime.goexit runtime/asm_amd64.s:1371 unable to build kubernetes objects from release manifest helm.sh/helm/v3/pkg/action.(*Install).Run helm.sh/helm/v3/pkg/action/install.go:265 main.runInstall helm.sh/helm/v3/cmd/helm/install.go:242 main.newInstallCmd.func2 helm.sh/helm/v3/cmd/helm/install.go:120 github.com/spf13/cobra.(*Command).execute github.com/spf13/[email protected]/command.go:852 github.com/spf13/cobra.(*Command).ExecuteC github.com/spf13/[email protected]/command.go:960 github.com/spf13/cobra.(*Command).Execute github.com/spf13/[email protected]/command.go:897 main.main helm.sh/helm/v3/cmd/helm/helm.go:80 runtime.main runtime/proc.go:225 runtime.goexit runtime/asm_amd64.s:1371
Error: unable to build kubernetes objects from release manifest: error validating "": error validating data: ValidationError(OpenTelemetryCollector.spec): missing required field "managementState" in io.opentelemetry.v1beta1.OpenTelemetryCollector.spec
openobserve-collector version 0.3.22
@haerr I tried deploying O2 Collector on my single-node K8 cluster with v1.31.2 and helm version v3.16.2; it is working fine. Can you please share some details of your environment to help debug this issue for you?
NAME READY STATUS RESTARTS AGE
o2c-openobserve-collector-agent-collector-vrl52 1/1 Running 0 20m
o2c-openobserve-collector-gateway-collector-0 1/1 Running 0 20m
o2c-openobserve-collector-gateway-targetallocator-8987b456kmg2m 1/1 Running 0 20m
@haerr I tried deploying O2 Collector on my single-node K8 cluster with
v1.31.2and helm versionv3.16.2; it is working fine. Can you please share some details of your environment to help debug this issue for you?NAME READY STATUS RESTARTS AGE o2c-openobserve-collector-agent-collector-vrl52 1/1 Running 0 20m o2c-openobserve-collector-gateway-collector-0 1/1 Running 0 20m o2c-openobserve-collector-gateway-targetallocator-8987b456kmg2m 1/1 Running 0 20m
@Manazsharma I talked to @haerr , seems from the v0.82.0 operator add a new field called managementState in the OpenTelemetry Collector CRD, which is a required field. may be we should update agent.yaml