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 and lint discovery.kubelet to discovery.nomad #2432

Merged
merged 11 commits into from
Jan 23, 2025

Conversation

clayton-cornell
Copy link
Contributor

@clayton-cornell clayton-cornell commented Jan 16, 2025

PR Description

General cleanup, including things like:

  • Pretty print tables
  • Sort table rows alphabetically - required first, then all optional
  • Sort blocks alphabetically
  • Fix block heading hierarchy
  • Add badge for Required blocks
  • Remove block from heading text
  • Remove extra spaces and extra CR/LFs
  • Tidy markdown - spaces around lists, indentation, etc.

Which issue(s) this PR fixes

Notes to the Reviewer

PR Checklist

  • CHANGELOG.md updated
  • Documentation added
  • Tests updated
  • Config converters updated

@clayton-cornell clayton-cornell added the type/docs Docs Squad label across all Grafana Labs repos label Jan 16, 2025
@clayton-cornell
Copy link
Contributor Author

Related issue #2411

Copy link
Contributor

github-actions bot commented Jan 16, 2025

💻 Deploy preview deleted.

@clayton-cornell clayton-cornell requested a review from a team January 21, 2025 01:58
@clayton-cornell clayton-cornell marked this pull request as ready for review January 21, 2025 02:35
@clayton-cornell clayton-cornell changed the title Update and lint Discovery topics third group Update and lint discovery.kubelet to discovery.nomad Jan 21, 2025
@clayton-cornell clayton-cornell force-pushed the docs/update_discovery_component_docs_part_5 branch from faf40ac to 0fd7084 Compare January 21, 2025 17:24
they are not bound to an endpoint port.
The `endpoints` role discovers targets from listed endpoints of a service.
For each endpoint address one target is discovered per port.
If the endpoint is backed by a Pod, all container ports of a Pod are discovered as targets even if they aren't bound to an endpoint port.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why is it Pod instead of pod?

Copy link
Contributor Author

@clayton-cornell clayton-cornell Jan 23, 2025

Choose a reason for hiding this comment

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

Kubernetes refers to Pods with a capital P. So, we follow that guideline: https://kubernetes.io/docs/concepts/workloads/pods/

And I try to catch all the instances of K8s pod to swap to Pod

Co-authored-by: Paulin Todev <paulin.todev@gmail.com>
@clayton-cornell clayton-cornell merged commit c34284f into main Jan 23, 2025
20 checks passed
@clayton-cornell clayton-cornell deleted the docs/update_discovery_component_docs_part_5 branch January 23, 2025 17:48
github-actions bot pushed a commit that referenced this pull request Jan 23, 2025
* Update Kubernetes topic

* Update Kuma topic

* Update Lightsail topic

* Update linode topic

* Update marathon topic

* Update nerve topic

* Update nomad topic

* Update missing descriptions and fix layout

* Fix a couple sentences

* Add quotes in examples and stage metadata

* Update docs/sources/reference/components/discovery/discovery.linode.md

Co-authored-by: Paulin Todev <paulin.todev@gmail.com>

---------

Co-authored-by: Paulin Todev <paulin.todev@gmail.com>
(cherry picked from commit c34284f)
github-actions bot pushed a commit that referenced this pull request Jan 23, 2025
* Update Kubernetes topic

* Update Kuma topic

* Update Lightsail topic

* Update linode topic

* Update marathon topic

* Update nerve topic

* Update nomad topic

* Update missing descriptions and fix layout

* Fix a couple sentences

* Add quotes in examples and stage metadata

* Update docs/sources/reference/components/discovery/discovery.linode.md

Co-authored-by: Paulin Todev <paulin.todev@gmail.com>

---------

Co-authored-by: Paulin Todev <paulin.todev@gmail.com>
(cherry picked from commit c34284f)
github-actions bot pushed a commit that referenced this pull request Jan 23, 2025
* Update Kubernetes topic

* Update Kuma topic

* Update Lightsail topic

* Update linode topic

* Update marathon topic

* Update nerve topic

* Update nomad topic

* Update missing descriptions and fix layout

* Fix a couple sentences

* Add quotes in examples and stage metadata

* Update docs/sources/reference/components/discovery/discovery.linode.md

Co-authored-by: Paulin Todev <paulin.todev@gmail.com>

---------

Co-authored-by: Paulin Todev <paulin.todev@gmail.com>
(cherry picked from commit c34284f)
github-actions bot pushed a commit that referenced this pull request Jan 23, 2025
* Update Kubernetes topic

* Update Kuma topic

* Update Lightsail topic

* Update linode topic

* Update marathon topic

* Update nerve topic

* Update nomad topic

* Update missing descriptions and fix layout

* Fix a couple sentences

* Add quotes in examples and stage metadata

* Update docs/sources/reference/components/discovery/discovery.linode.md

Co-authored-by: Paulin Todev <paulin.todev@gmail.com>

---------

Co-authored-by: Paulin Todev <paulin.todev@gmail.com>
(cherry picked from commit c34284f)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants