Skip to content

docs: clarify service example wording and localhost url - #24006

Open
08abhinav wants to merge 2 commits into
kubernetes:masterfrom
08abhinav:docs/fix-service-example-wording
Open

08abhinav wants to merge 2 commits into
kubernetes:masterfrom
08abhinav:docs/fix-service-example-wording

Conversation

@08abhinav

Copy link
Copy Markdown

Description

This PR makes two small improvements to the Service example in the Minikube Getting Started documentation.

  • Replaces the incorrect reference to "deployment" with "Service" to match the resource checked by the following kubectl get services command.
  • Changes the localhost URL from a clickable hyperlink to inline code formatting, making it clear that the URL is accessed locally after running the port-forward command.

Changes made

1. Corrected Service terminology

Changed:

It may take a moment, but your deployment will soon show up when you run:

To:

Verify that the Service has been created by running:

2. Updated localhost URL formatting

Changed:

Tada! Your application is now available at http://localhost:7080/.

To:

Tada! Your application is now available at http://localhost:7080/.

Testing

  • Reviewed the Markdown changes.
  • Ran git diff --check.
  • Documentation-only change; no application or runtime behavior was modified.

Related issue

Closes #24005

Signed-off-by: Abhinav Negi <abhinavnegi101@gmail.com>
@kubernetes-prow kubernetes-prow Bot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Nov 8, 2026
@kubernetes-prow

Copy link
Copy Markdown
Contributor

Welcome @08abhinav!

It looks like this is your first PR to kubernetes/minikube 🎉. Please refer to our pull request process documentation to help your PR have a smooth ride to approval.

You will be prompted by a bot to use commands during the review process. Do not be afraid to follow the prompts! It is okay to experiment. Here is the bot commands documentation.

You can also check if kubernetes/minikube has its own contribution guidelines.

You may want to refer to our testing guide if you run into trouble with your tests not passing.

If you are having difficulty getting your pull request seen, please follow the recommended escalation practices. Also, for tips and tricks in the contribution process you may want to read the Kubernetes contributor cheat sheet. We want to make sure your contribution gets all the attention it needs!

Thank you, and welcome to Kubernetes. 😃

@kubernetes-prow

Copy link
Copy Markdown
Contributor

Hi @08abhinav. Thanks for your PR.

I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work.

Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@kubernetes-prow kubernetes-prow Bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Nov 8, 2026
@minikube-bot

Copy link
Copy Markdown
Collaborator

Can one of the admins verify this patch?

@nirs
nirs requested review from Roslaan001 and bobsira November 8, 2026 14:53
@Roslaan001

Copy link
Copy Markdown
Contributor

Thanks for PR @08abhinav! The change to inline code for the local URL is a solid improvement, and fixing the Service/Deployment terminology is definitely needed.

A few suggestions to consider:

  1. Similar terminology in the LoadBalancer tab:
    Right below this in the LoadBalancer tab (lines ~555-575), there's a similar conflation:

    • "create a routable IP for the 'balanced' deployment" (it's actually for the Service).
    • "Your deployment is now available at :8080".
      Would you like to align the LoadBalancer tab in this PR as well?
  2. Capitalization consistency:
    In line 530 you use capitalized "Service", but line 538 uses lowercase "this service". It would be great to keep them consistent within the same tab.

  3. URL formatting:
    Since the link is no longer clickable, consider dropping the trailing slash (http://localhost:7080 instead of http://localhost:7080/) or mentioning a quick curl http://localhost:7080 check for CLI users.

Signed-off-by: Abhinav Negi <abhinavnegi101@gmail.com>
@kubernetes-prow kubernetes-prow Bot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Nov 12, 2026
@08abhinav

08abhinav commented Nov 12, 2026 •

Copy link
Copy Markdown
Author

Thanks for the review @Roslaan001 I have pushed the updates:

  1. LoadBalancer tab: aligned the terminology. "LoadBalancer deployment", "the 'balanced' deployment", and "Your deployment is now available at..." now say "Service", since that is the resource that gets the routable IP. I kept "Here is an example deployment" as is, because the example does create a Deployment and then exposes it as a Service.

  2. Capitalization: "this service" is now "this Service" in the Service tab, so it matches the rest of the tab.

  3. URL formatting: dropped the trailing slash, so it's now http://localhost:7080.

No commands or other sections were changed.

@Roslaan001

Copy link
Copy Markdown
Contributor

/ok-to-test

@kubernetes-prow kubernetes-prow Bot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Nov 17, 2026
@kubernetes-prow

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: 08abhinav, Roslaan001
Once this PR has been reviewed and has the lgtm label, please assign nirs for approval. For more information see the Code Review Process.

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

Details 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

@ayyYoSam ayyYoSam left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

lgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Docs] Make localhost URL non-clickable in the Service example

4 participants