oracle-quickstart / oci-kubernetes-monitoring

Kubernetes Monitoring with OCI Observability & Management Platform
https://www.oracle.com/manageability/logging-analytics/
Universal Permissive License v1.0
42 stars 32 forks source link

Pod oci-onm-mgmt-agent-0 can't start #74

Open art102 opened 2 months ago

art102 commented 2 months ago

Hello.

Could tell me why oci-onm-mgmt-agent-0 pod cannot start without oci-onm-mgmt-agent-container-registry-key secret please?

I have installed chart like this

helm install oci-k8s-mon charts/oci-onm --values override_values.yaml

But I see a error in a pod: Unable to retrieve some image pull secrets (oci-onm-mgmt-agent-container-registry-key); attempting to pull the image may not succeed

I didn't see any requirements in README.md about building mgmt-agent image or enabling a secret value during chart installation.

Could you tell me please how can I fix it?

Thank you in advance.

santhoshkvuda commented 2 months ago

hi @art102 , Though this warning appears, the oci-onm-mgmt-agent-0 pod would start successfully. Could you cross check the pod status please ?

art102 commented 2 months ago

HI.

Unfortunately this pod doesn't start...

Also I would like to know what the right way to install OKE monitoring solution is? For instance I have pulled this repo and do this

cd oke_oci_monitoring/oci-kubernetes-monitoring helm install oci-onm-k8s --values ../override_values.yaml charts/oci-onm

and I get this error

Error: INSTALLATION FAILED: An error occurred while checking for chart dependencies. You may need to runhelm dependency buildto fetch missing dependencies: found in Chart.yaml, but missing in charts/ directory: oci-onm-common, oci-onm-logan, oci-onm-mgmt-agent

Can you change the README to have the right manual to use this solution please?

santhoshkvuda commented 2 months ago

@prasebha @niravg75 , could you help @art102 here w.r.t Management agent pod related issues ?

As mentioned in the README, please download the chart from releases page instead of using the source code, so that you do not need to run dependency update. Otherwise you need to run the helm dependency update in each of the folders before running the helm install.