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

docs: edits to customization guide #1436

Merged

Conversation

marquiz
Copy link
Contributor

@marquiz marquiz commented Oct 24, 2023

This PR comprises of a few changes to the customization guide, in an attempt to make it slightly more consistent and readable

  • rename heading in customization guide
    "Feature rule format" is more appropriate as we now support extended
    resources and taints in addition to labels.
  • note that extended resources are not supported by custom source
  • slightly rework how tainting is documented
    Small edit to how tainting is documented in the customization guide.
    First, make the heading shorter. Then, move the detailed example yaml
    and its description further down in the document to the section that
    describes the "taints" field - this is now similar how extended
    resources are documented.
  • rename fields sub-headings in customization guide
    Rename the sub-section headings of the "Fields" section (describing the
    fields of NodeFeatureRule) to match the actual field names (as in YAML).

@netlify
Copy link

netlify bot commented Oct 24, 2023

Deploy Preview for kubernetes-sigs-nfd ready!

Name Link
🔨 Latest commit 0a30cf9
🔍 Latest deploy log https://app.netlify.com/sites/kubernetes-sigs-nfd/deploys/653a6a6a2e92200008009dab
😎 Deploy Preview https://deploy-preview-1436--kubernetes-sigs-nfd.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. approved Indicates a PR has been approved by an approver from all required OWNERS files. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Oct 24, 2023
@marquiz
Copy link
Contributor Author

marquiz commented Oct 25, 2023

Requires #1437 for the verify-docs job to pass muster

Copy link
Contributor

@ArangoGutierrez ArangoGutierrez left a comment

Choose a reason for hiding this comment

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

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Oct 25, 2023
@k8s-ci-robot
Copy link
Contributor

LGTM label has been added.

Git tree hash: 2dd466727ea0bfc0851021e8843f96e06f0b55d9

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ArangoGutierrez, marquiz

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:
  • OWNERS [ArangoGutierrez,marquiz]

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

@marquiz marquiz force-pushed the devel/docs-customization-guide branch from d4ae422 to 882e1db Compare October 26, 2023 08:18
@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Oct 26, 2023
@marquiz marquiz force-pushed the devel/docs-customization-guide branch from 882e1db to 3561be4 Compare October 26, 2023 11:45
@marquiz
Copy link
Contributor Author

marquiz commented Oct 26, 2023

ping @ArangoGutierrez now the test results are green

@ArangoGutierrez
Copy link
Contributor

ping @ArangoGutierrez now the test results are green

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Oct 26, 2023
@k8s-ci-robot
Copy link
Contributor

LGTM label has been added.

Git tree hash: e47ab98b80e2e37c8c56db03bd4465e96f663c2b

"Feature rule format" is more appropriate as we now support extended
resources and taints in addition to labels.
Small edit to how tainting is documented in the customization guide.
First, make the heading shorter. Then, move the detailed example yaml
and its description further down in the document to the section that
describes the "taints" field - this is now similar how extended
resources are documented.
Rename the sub-section headings of the "Fields" section (describing the
fields of NodeFeatureRule) to match the actual field names (as in YAML).
@marquiz marquiz force-pushed the devel/docs-customization-guide branch from 3561be4 to 0a30cf9 Compare October 26, 2023 13:32
@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Oct 26, 2023
@marquiz
Copy link
Contributor Author

marquiz commented Oct 26, 2023

Rebased

@ArangoGutierrez
Copy link
Contributor

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Oct 26, 2023
@k8s-ci-robot
Copy link
Contributor

LGTM label has been added.

Git tree hash: 51b68d46f7086cef3403b62bbd77abf173b80929

@k8s-ci-robot k8s-ci-robot merged commit dabd766 into kubernetes-sigs:master Oct 26, 2023
8 checks passed
@marquiz marquiz deleted the devel/docs-customization-guide branch October 26, 2023 14:12
@marquiz marquiz mentioned this pull request Dec 20, 2023
24 tasks
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.

None yet

3 participants