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

update rule for monitoring.coreos.com #812

Merged
merged 3 commits into from
May 29, 2024
Merged

update rule for monitoring.coreos.com #812

merged 3 commits into from
May 29, 2024

Conversation

ChuckHend
Copy link
Collaborator

@ChuckHend ChuckHend commented May 29, 2024

To resolve

2024-05-29T13:22:46.060830Z ERROR reconciling object:reconcile:reconcile: controller::app_service::manager:669: ns: reportedly-hot-falconet, failed to apply PodMonitor for AppService: reportedly-hot-falconet-embeddings, error: Kube Error: ApiError: podmonitors.monitoring.coreos.com "reportedly-hot-falconet-embeddings" is forbidden: : Forbidden (ErrorResponse { status: "Failure", message: "podmonitors.monitoring.coreos.com \"reportedly-hot-falconet-embeddings\" is forbidden: ", reason: "Forbidden", code: 403 }) object.ref=CoreDB.v1alpha1.coredb.io/reportedly-hot-falconet.reportedly-hot-falconet object.reason=object updated trace_id=00000000000000000000000000000000

@ChuckHend ChuckHend marked this pull request as ready for review May 29, 2024 13:31
Copy link
Contributor

@sjmiller609 sjmiller609 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this is the right policy, normally it's like this:

items:
# first part before the slash is the API group, after the slash is the API version
- apiVersion: monitoring.coreos.com/v1
# resource name
  kind: PodMonitor
  metadata:

@ChuckHend ChuckHend changed the title add rule for podmonitors.monitoring.coreos.com update rule for monitoring.coreos.com May 29, 2024
@ChuckHend ChuckHend merged commit 8148ea5 into main May 29, 2024
9 checks passed
@ChuckHend ChuckHend deleted the SPAE-192-2 branch May 29, 2024 13:53
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.

None yet

3 participants