website icon indicating copy to clipboard operation
website copied to clipboard

Update ports-and-protocols.md

Open ayushpatil2122 opened this issue 1 year ago • 3 comments

Description

The Ports and Protocols documentation currently describes the port range of 30000-32767 as being reserved only for TCP NodePort services. Kubernetes also uses this range for allocating UDP NodePort services, however this is undocumented

For a node port Service, Kubernetes additionally allocates a port (TCP, UDP or SCTP to match the protocol of the Service). this is mention here about UDP protocols:https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport

Issue

#47723

ayushpatil2122 avatar Sep 18 '24 17:09 ayushpatil2122

Pull request preview available for checking

Built without sensitive environment variables

Name Link
Latest commit 87cc62f6e4ef56f91e86abd2fe81d5d9d9379cef
Latest deploy log https://app.netlify.com/sites/kubernetes-io-main-staging/deploys/66eb08a5b6238d0008f1065d
Deploy Preview https://deploy-preview-47991--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.

netlify[bot] avatar Sep 18 '24 17:09 netlify[bot]

/sig network

sftim avatar Sep 20 '24 12:09 sftim

@kubernetes/sig-network-pr-reviews - is this technically correct?

sftim avatar Oct 18 '24 11:10 sftim

Hi, Tim, it looks valid. See below. https://github.com/kubernetes/website/blob/4c2a1c05c68f4dd7648c32ed37aab51b086544c1/content/en/docs/reference/networking/service-protocols.md#L53-L56

network-charles avatar Jan 11 '25 14:01 network-charles

This looks good to me based on what @network-charles has suggested.

/lgtm

nate-double-u avatar Feb 23 '25 00:02 nate-double-u

LGTM label has been added.

Git tree hash: 17691789125abe563e61d0a2f9fa66da69adbb2e

k8s-ci-robot avatar Feb 23 '25 00:02 k8s-ci-robot

https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport states

For a node port Service, Kubernetes additionally allocates a port (TCP, UDP or SCTP to match the protocol of the Service)

/approve

reylejano avatar May 12 '25 15:05 reylejano

[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 avatar May 12 '25 15:05 k8s-ci-robot