meshery / meshery-operator

Meshery Operator is a Kubernetes Operator that deploys and manages the lifecycle of two Meshery components critical to Meshery's operations of Kubernetes clusters
https://meshery.io
Apache License 2.0
111 stars 80 forks source link

Operator Enhancement #560

Closed MUzairS15 closed 4 months ago

MUzairS15 commented 4 months ago

Description

This PR fixes #

  1. Initialise logging for meshery-operator.
  2. Ensures the operator redeploys the controllers, if they are deleted or their status isn't Running (k8s world status)
  3. Adds health check for MeshSync

Notes for Reviewers

Signed commits

MUzairS15 commented 4 months ago

TODO: Replace logging with meshkit logger, redefine errors to be meshkit-errors.

MUzairS15 commented 4 months ago

https://github.com/user-attachments/assets/575ebdd0-8593-4ea1-9165-4588d3bc51e7

leecalcote commented 4 months ago

@innocentrda, your feedback here is helpful.

leecalcote commented 4 months ago

Is there an adjoining addition to the https://docs.meshery.io/guides/troubleshooting/meshery-operator-meshsync guide?

innocentrda commented 4 months ago

As a user troubleshooting Meshery deployment, I'm not confident that I would know what to do when seeing these errors.

That's true. It's a good improvement to see those errors but being a bit detailed on why those errors and what to do can be helpful.