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

Improve Kubernetes tutorial around explaining Services #43503

Merged
merged 8 commits into from
Apr 26, 2024

Conversation

javadebadi
Copy link
Contributor

In this tutorial section, it is assumed that the kubernetes-bootcamp service of type "LoadBalancer" exists. However, in previous section of the tutorial, a service of type "NodePort" is created and at end that section it is deleted. It can make users confused about what kind of service is currently created in this section of the document.

I added these lines to make it clear that we have to create a service of type "LoadBalancer" and I also added the command to make this happen.

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Oct 16, 2023

CLA Signed

The committers listed above are authorized under a signed CLA.

@k8s-ci-robot
Copy link
Contributor

Welcome @javadebadi!

It looks like this is your first PR to kubernetes/website 🎉. 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/website 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. 😃

@k8s-ci-robot k8s-ci-robot added cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Oct 16, 2023
@k8s-ci-robot k8s-ci-robot added the language/en Issues or PRs related to English language label Oct 16, 2023
@k8s-ci-robot k8s-ci-robot added the sig/docs Categorizes an issue or PR as relevant to SIG Docs. label Oct 16, 2023
@netlify
Copy link

netlify bot commented Oct 16, 2023

Pull request preview available for checking

Built without sensitive environment variables

Name Link
🔨 Latest commit 067b688
🔍 Latest deploy log https://app.netlify.com/sites/kubernetes-io-main-staging/deploys/660aaa733b1c540008c4d281
😎 Deploy Preview https://deploy-preview-43503--kubernetes-io-main-staging.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. and removed cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. labels Oct 16, 2023
Copy link
Member

@aj11anuj aj11anuj left a comment

Choose a reason for hiding this comment

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

(Some word replacements + Text wrapping + Cmd typo) needs to be fixed.

@javadebadi
Copy link
Contributor Author

@aj11anuj

I added new changes based on your recommondations. Do you have other suggestions?

Copy link
Member

@aj11anuj aj11anuj 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 Dec 7, 2023
@k8s-ci-robot
Copy link
Contributor

LGTM label has been added.

Git tree hash: 37ea4bd10eccc90417b04baf69cfff8891f64274

Copy link
Contributor

@sftim sftim left a comment

Choose a reason for hiding this comment

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

Try this?

@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jan 10, 2024
@javadebadi javadebadi requested a review from sftim January 10, 2024 06:33
@k8s-ci-robot k8s-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jan 16, 2024
@@ -31,7 +31,14 @@ <h3>Scaling an application</h3>
<p>If you haven't worked through the earlier sections, start from <a href="/docs/tutorials/kubernetes-basics/create-cluster/cluster-intro/">Using minikube to create a cluster</a>.</p>

<p><em>Scaling</em> is accomplished by changing the number of replicas in a Deployment</p>
<p> <b> NOTE </b> If you are trying this after <a href="/docs/tutorials/kubernetes-basics/expose/expose-intro/">the previous section </a>, you may need to start from <a href="/docs/tutorials/kubernetes-basics/create-cluster/cluster-intro/">creating a cluster</a> as the services may have been deleted </p>
<p><b>NOTE</b> If you are trying this after <a href="/docs/tutorials/kubernetes-basics/expose/expose-intro/">the previous section </a>, then you
may have deleted the Sservice you created, or have created a Service of <tt>type: NodePort</tt>.
Copy link
Contributor

@niranjandarshann niranjandarshann Feb 27, 2024

Choose a reason for hiding this comment

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

@javadebadi Did you mean service istaead of Sservice here.? If so please do the changes

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@niranjandarshann Fixed the type

@dipesh-rawat
Copy link
Member

@javadebadi Could you rebase this PR against the main branch when you get a chance?

@divya-mohan0209
Copy link
Contributor

@javadebadi : To proceed further, we need you to rebase the PR against the main branch. Please could you do that so that we can ready it for merge?

javadebadi and others added 5 commits April 1, 2024 06:34
… have created a kuberentes-bootcamp service with LoadBalancer type
…html

Co-authored-by: Anuj Tiwari <aj11anuj123@gmail.com>
…html

Co-authored-by: Anuj Tiwari <aj11anuj123@gmail.com>
…html

Co-authored-by: Anuj Tiwari <aj11anuj123@gmail.com>
…html

Co-authored-by: Tim Bannister <tim@scalefactory.com>
javadebadi and others added 3 commits April 1, 2024 06:34
…html

Co-authored-by: Tim Bannister <tim@scalefactory.com>
…html


Rephrase

Co-authored-by: Tim Bannister <tim@scalefactory.com>
Fixed typo: Sservice -> service
@k8s-ci-robot k8s-ci-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Apr 1, 2024
@javadebadi
Copy link
Contributor Author

@dipesh-rawat @divya-mohan0209
Rebased this PR againts main branch

@sftim
Copy link
Contributor

sftim commented Apr 2, 2024

/retitle Improve Kubernetes tutorial around explaining Services

@k8s-ci-robot k8s-ci-robot changed the title Adds new explanations to kuberentes tutorial expose section to make it clear what are the assumption about the service of the deployment Improve Kubernetes tutorial around explaining Services Apr 2, 2024
Copy link
Contributor

@sftim sftim left a comment

Choose a reason for hiding this comment

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

/lgtm

/label tide/merge-method-squash

@k8s-ci-robot k8s-ci-robot added the tide/merge-method-squash Denotes a PR that should be squashed by tide when it merges. label Apr 2, 2024
@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Apr 2, 2024
@k8s-ci-robot
Copy link
Contributor

LGTM label has been added.

Git tree hash: 2f44b954672837b6be6e02a442417931e86e1880

@reylejano
Copy link
Member

/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: reylejano

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 26, 2024
@k8s-ci-robot k8s-ci-robot merged commit f140892 into kubernetes:main Apr 26, 2024
6 checks passed
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. language/en Issues or PRs related to English language lgtm "Looks good to me", indicates that a PR is ready to be merged. sig/docs Categorizes an issue or PR as relevant to SIG Docs. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. tide/merge-method-squash Denotes a PR that should be squashed by tide when it merges.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants