Skip to content

List supported protocols for Service#12669

Merged
k8s-ci-robot merged 1 commit intokubernetes:masterfrom
sftim:service_protocol_support
Feb 28, 2019
Merged

List supported protocols for Service#12669
k8s-ci-robot merged 1 commit intokubernetes:masterfrom
sftim:service_protocol_support

Conversation

@sftim
Copy link
Copy Markdown
Contributor

@sftim sftim commented Feb 16, 2019

Tidy up Service concept to show that TCP and UDP are supported in stable, whereas SCTP support is in alpha.
Place protocol support information in one place on the page.

For HTTP, direct users to read up on Ingress as well.

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Feb 16, 2019
@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. language/en Issues or PRs related to English language labels Feb 16, 2019
@netlify
Copy link
Copy Markdown

netlify bot commented Feb 16, 2019

Deploy preview for kubernetes-io-master-staging ready!

Built with commit 2100b0d

https://deploy-preview-12669--kubernetes-io-master-staging.netlify.com

## Supported protocols {#protocol-support}

{{< note >}}
Layer 7 protocols such as HTTP are handed via the {{< glossary_tooltip term_id="ingress" >}}
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.

Is this true for services that need to communicate within the cluster? Services also can handle that right?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The Service object doesn't (at least in v1.13) set up anything that understands a particular application protocol, and that's what I'm trying to say here.

If you needed to expose a webserver in a way that relies on understanding TLS, or HTTP, then Service is not (yet?) for you. Ingress is your friend.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

If you want to expose something that talks HTTP, and the means of exposure is to publish a TCP port and IPv4 address, the fact it's HTTP isn't important or relevant to Service.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Maybe it's worth clarifying that you can still expose an HTTP service at the TCP layer?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Reworded (and meaning changed)

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.

Thanks!

Tidy up protocol support to show that TCP and UDP have support in
stable, whereas SCTP support is in alpha. For HTTP, direct users to
read up on Ingress instead.
@sftim sftim force-pushed the service_protocol_support branch from 38c97b5 to 2100b0d Compare February 19, 2019 07:57
@Rajakavitha1
Copy link
Copy Markdown
Contributor

@zparnold could you please take a look at the updates that @sftim has made to this PR based on your review comments.


{{< feature-state for_k8s_version="v1.1" state="stable" >}}

If your cloud provider supports it (eg, [AWS](https://kubernetes.io/docs/concepts/cluster-administration/cloud-providers/#aws)),
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.

nit: only cosmetic but i think you don't need extra space (> 1) after the comma and next word

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I can't see what I'd change to fix this, sorry.

@zparnold
Copy link
Copy Markdown
Contributor

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Feb 28, 2019
@k8s-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: zparnold

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

The pull request process is described 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

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 28, 2019
@k8s-ci-robot k8s-ci-robot merged commit b8ad490 into kubernetes:master Feb 28, 2019
@sftim sftim deleted the service_protocol_support branch February 28, 2019 09:06
kwiesmueller pushed a commit to kwiesmueller/website that referenced this pull request Feb 28, 2019
Tidy up protocol support to show that TCP and UDP have support in
stable, whereas SCTP support is in alpha. For HTTP, direct users to
read up on Ingress instead.
krmayankk pushed a commit to krmayankk/kubernetes.github.io that referenced this pull request Mar 11, 2019
Tidy up protocol support to show that TCP and UDP have support in
stable, whereas SCTP support is in alpha. For HTTP, direct users to
read up on Ingress instead.
yagonobre pushed a commit to yagonobre/website that referenced this pull request Mar 14, 2019
Tidy up protocol support to show that TCP and UDP have support in
stable, whereas SCTP support is in alpha. For HTTP, direct users to
read up on Ingress instead.
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. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants