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

📖 Cluster API State Metrics proposal #6404

Merged

Conversation

chrischdi
Copy link
Member

@chrischdi chrischdi commented Apr 11, 2022

Signed-off-by: Christian Schlotter [email protected]

What this PR does / why we need it:

Proposal to address parts of #1477.

This proposal outlines a new experimental component for exposing metrics specific to CAPI's CRs.

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Apr 11, 2022
@chrischdi chrischdi force-pushed the pr-proposal-capi-state-metrics branch from f308d8b to eab69bd Compare April 11, 2022 10:02
@killianmuldoon killianmuldoon mentioned this pull request Apr 11, 2022
@chrischdi
Copy link
Member Author

I checked the mentioned links and was able to reach them

/retest

@chrischdi
Copy link
Member Author

I checked the mentioned links and was able to reach them

/retest

This doesn't restart the gh action tests :-(

@killianmuldoon
Copy link
Contributor

This doesn't restart the gh action tests :-(

Yeah - it's a bother - we have an issue here: kubernetes/test-infra#25831

These can be restarted manually and will re-run on another push. The MD link checker is flaky so it's probably fine, so I don't think there's anything to worry about here 😄

Copy link
Contributor

@killianmuldoon killianmuldoon left a comment

Choose a reason for hiding this comment

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

/lgtm

Can't wait to get this into the repo!

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Apr 12, 2022
@fabriziopandini
Copy link
Member

/lgtm
Looking forward to getting this under /exp and in our tilt setup.
As this is accomplished I think we should consider

  • to document how to install this new component, so we can start getting feedback from the broader audience
  • providing some pre-defined Prometheus dashboard
    But can come as a follow up iteration

@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Apr 13, 2022
@chrischdi
Copy link
Member Author

I identified and fixed some small things:

@chrischdi
Copy link
Member Author

Also added already implemented capi_machineset_status_available_replicas metric

@chrischdi
Copy link
Member Author

/retest

@chrischdi chrischdi force-pushed the pr-proposal-capi-state-metrics branch from 4e94c0b to 2183d63 Compare April 13, 2022 16:58
@chrischdi
Copy link
Member Author

I squashed the commits :-)

@chrischdi
Copy link
Member Author

The test Check Markdown links / Broken Links (pull_request) looks again like a false positive :-(

@enxebre
Copy link
Member

enxebre commented Apr 14, 2022

thanks lgtm after squashing, we can always iterate later as we need it.

@chrischdi
Copy link
Member Author

Squashed the commits :-)

@fabriziopandini
Copy link
Member

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Apr 20, 2022
Copy link

@seanschneeweiss seanschneeweiss left a comment

Choose a reason for hiding this comment

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

Great work - so happy to see this being integrated into CAPI.

docs/proposals/20220411-cluster-api-state-metrics.md Outdated Show resolved Hide resolved
docs/proposals/20220411-cluster-api-state-metrics.md Outdated Show resolved Hide resolved
Signed-off-by: Christian Schlotter <[email protected]>
@chrischdi chrischdi force-pushed the pr-proposal-capi-state-metrics branch from 7b6b88b to 2a9d16a Compare April 26, 2022 18:10
@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Apr 26, 2022
@chrischdi
Copy link
Member Author

Great work - so happy to see this being integrated into CAPI.

Thanks for these (hopefully) last findings :-)

@chrischdi chrischdi changed the title 📖 Cluster API State Metrics proposal 📖 Cluster API State Metrics proposal Apr 27, 2022
@chrischdi chrischdi changed the title 📖 Cluster API State Metrics proposal 📖 Cluster API State Metrics proposal Apr 27, 2022
@chrischdi
Copy link
Member Author

Broken Links check has again false-positives:

FILE: ./docs/book/src/clusterctl/provider-contract.md
[✖] https://help.github.com/en/github/administering-a-repository/creating-releases

7 links checked.

ERROR: 1 dead links found!
[✖] https://help.github.com/en/github/administering-a-repository/creating-releases → Status: 403

Github Action issue: gaurav-nelson/github-action-markdown-link-check#136

@sbueringer
Copy link
Member

sbueringer commented Apr 27, 2022

Great work folks!

/lgtm

@fabriziopandini WDYT can we merge this proposal (or tomorrow :)) given that the lazy-consensus deadline is today? (#6404 (comment))

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Apr 27, 2022
@johannesfrey
Copy link
Contributor

Thanks again!

/lgtm

@tobiasgiese
Copy link
Member

/retest
/lgtm

Thanks @chrischdi 🙂

@seanschneeweiss
Copy link

/lgtm

Thank you @chrischdi

@fabriziopandini
Copy link
Member

/approve
/lgtm
🎉

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: fabriziopandini

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 27, 2022
@sbueringer
Copy link
Member

/hold cancel

@k8s-ci-robot k8s-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Apr 27, 2022
@sbueringer
Copy link
Member

sbueringer commented Apr 27, 2022

Looks like the linkchecker consistently fails since 2 days: https://github.com/kubernetes-sigs/cluster-api/actions/workflows/lint-docs.yaml
(the action is not run on every PR)

EDIT: trying to fix it here: #6451

@sbueringer
Copy link
Member

Markdown link checker fix can be found here: #6451

@chrischdi chrischdi changed the title 📖 Cluster API State Metrics proposal 📖 Cluster API State Metrics proposal Apr 27, 2022
@chrischdi chrischdi changed the title 📖 Cluster API State Metrics proposal 📖 Cluster API State Metrics proposal Apr 27, 2022
@chrischdi chrischdi changed the title 📖 Cluster API State Metrics proposal 📖 Cluster API State Metrics proposal Apr 27, 2022
@chrischdi chrischdi changed the title 📖 Cluster API State Metrics proposal 📖 Cluster API State Metrics proposal Apr 27, 2022
@k8s-ci-robot k8s-ci-robot merged commit a1122e2 into kubernetes-sigs:main Apr 27, 2022
@k8s-ci-robot k8s-ci-robot added this to the v1.2 milestone Apr 27, 2022
@chrischdi chrischdi deleted the pr-proposal-capi-state-metrics branch June 30, 2022 06:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.