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

Document supported component skew #7103

Closed
1 of 2 tasks
janetkuo opened this issue Jan 26, 2018 · 17 comments · Fixed by #11060
Closed
1 of 2 tasks

Document supported component skew #7103

janetkuo opened this issue Jan 26, 2018 · 17 comments · Fixed by #11060
Assignees
Labels
good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. sig/docs Categorizes an issue or PR as relevant to SIG Docs.

Comments

@janetkuo
Copy link
Member

janetkuo commented Jan 26, 2018

This is a...

  • Feature Request
  • Bug Report

Problem:
Forked from kubernetes/kubernetes#33212

Kubernetes only allows 2 minor version skew between nodes and master, and 1 minor version skew between kubectl and master. However, this is not mentioned anywhere in user-facing documents. This caused user confusion and may cause unexpected issues to users' clusters.

It's documented in contributors' doc: https://github.com/kubernetes/community/blob/master/contributors/design-proposals/release/versioning.md#supported-releases-and-component-skew

Different components are expected to be compatible across different amounts of skew, all relative to the master version. Nodes may lag masters components by up to two minor versions but should be at a version no newer than the master; a client should be skewed no more than one minor version from the master, but may lead the master by up to one minor version. For example, a v1.3 master should work with v1.1, v1.2, and v1.3 nodes, and should work with v1.2, v1.3, and v1.4 clients.

Proposed Solution:
Add some document(s) in http://kubernetes.io/ to include the above information.

Page to Update:
http://kubernetes.io/...

@zacharysarah
Copy link
Contributor

@janetkuo 👋 Thanks, this is helpful!

@zacharysarah zacharysarah added P2 good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. sig/docs Categorizes an issue or PR as relevant to SIG Docs. labels Feb 5, 2018
@pgadige
Copy link

pgadige commented Apr 3, 2018

I'm working on this.

hidekif added a commit to hidekif/website that referenced this issue Apr 20, 2018
A quick fix until the version skew is properly documented for master/node and master/kubectl, per kubernetes#7103.
hidekif added a commit to hidekif/website that referenced this issue Apr 20, 2018
A quick-fix until the version skew is properly documented, per kubernetes#7103.
@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jul 2, 2018
@fejta-bot
Copy link

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Aug 1, 2018
@fejta-bot
Copy link

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/close

@k8s-ci-robot
Copy link
Contributor

@fejta-bot: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/close

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/test-infra repository.

@liggitt
Copy link
Member

liggitt commented Nov 16, 2018

/reopen

@k8s-ci-robot
Copy link
Contributor

@liggitt: Reopened this issue.

In response to this:

/reopen

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/test-infra repository.

@k8s-ci-robot k8s-ci-robot reopened this Nov 16, 2018
@liggitt
Copy link
Member

liggitt commented Nov 16, 2018

/assign

@liggitt
Copy link
Member

liggitt commented Nov 16, 2018

we need clarity around the supported skew for the controller-manager, kube-scheduler, and kube-apiserver, to inform component upgrade order (especially in HA control planes)

@neolit123
Copy link
Member

not sure if this page is still maintained:
https://github.com/kubernetes/community/blob/master/contributors/design-proposals/release/versioning.md#supported-releases-and-component-skew

but a "node-local" fact that i encountered is that a X kubelet does not work with a X-1 api-server.
if that is supposed to be supported we broke it a few times.

@liggitt
Copy link
Member

liggitt commented Nov 16, 2018

but a "node-local" fact that i encountered is that a X kubelet does not work with a X-1 api-server.
if that is supposed to be supported we broke it a few times.

it is definitely not supported:

Nodes may lag masters components by up to two minor versions but should be at a version no newer than the master;

@liggitt
Copy link
Member

liggitt commented Nov 16, 2018

I am working on a canonical page for website to list supported version skews for:

  • kubectl <-> apiserver
  • kubelet <-> apiserver
  • apiserver <-> apiserver (for HA control planes)
  • controller-manager <-> apiserver
  • scheduler <-> apiserver

@liggitt
Copy link
Member

liggitt commented Nov 16, 2018

/lifecycle frozen
/remove-lifecycle rotten

@k8s-ci-robot k8s-ci-robot added lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. and removed lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. labels Nov 16, 2018
@liggitt
Copy link
Member

liggitt commented Nov 18, 2018

opened #11060

@roberthbailey
Copy link
Contributor

@liggitt
Copy link
Member

liggitt commented Nov 20, 2018

is the plan to remove https://github.com/kubernetes/community/blob/master/contributors/design-proposals/release/versioning.md#supported-releases-and-component-skew once your PR merges?

That's on my list to look at next, dropping misleading or incorrect data, deduplicating against #11060, and we'll see if anything useful remains. If not, yes, I'll drop it with a pointer to the website doc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. sig/docs Categorizes an issue or PR as relevant to SIG Docs.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants