[kubernetes/kubernetes] Deprecate kubelet "enable-controller-attach-detach" option (#55517)

12 views
Skip to first unread message

Michelle Au

unread,
Nov 10, 2017, 7:56:23 PM11/10/17
to kubernetes/kubernetes, k8s-mirror-storage-feature-requests, Team mention

Is this a BUG REPORT or FEATURE REQUEST?:
/kind feature
@kubernetes/sig-storage-feature-requests

What happened:
Are there any use cases where we still need to support kubelet doing the attach/detach? If not, let's deprecate this field and eventually remove it.


You are receiving this because you are on a team that was mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

fejta-bot

unread,
Feb 8, 2018, 8:03:52 PM2/8/18
to kubernetes/kubernetes, k8s-mirror-storage-feature-requests, Team mention

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

Michelle Au

unread,
Feb 26, 2018, 11:30:08 PM2/26/18
to kubernetes/kubernetes, k8s-mirror-storage-feature-requests, Team mention

/remove-lifecycle stale

fejta-bot

unread,
May 28, 2018, 1:00:02 AM5/28/18
to kubernetes/kubernetes, k8s-mirror-storage-feature-requests, Team mention

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

fejta-bot

unread,
Jun 27, 2018, 1:45:49 AM6/27/18
to kubernetes/kubernetes, k8s-mirror-storage-feature-requests, Team mention

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
/remove-lifecycle stale

XsWack

unread,
Jun 27, 2018, 2:44:29 AM6/27/18
to kubernetes/kubernetes, k8s-mirror-storage-feature-requests, Team mention

/remove-lifecycle stale

XsWack

unread,
Jun 27, 2018, 2:49:00 AM6/27/18
to kubernetes/kubernetes, k8s-mirror-storage-feature-requests, Team mention

according to #20262,

Since rolling upgrades are only supported for up to two Kubernetes releases, after two releases this rolling upgrade logic can be removed. That means the volume.temporary.kubernetes.io/controller-managed annotation can be retirered and the controller can operate on all nodes by default (ignore the annotation).

I think we can remove the logic for kubelet doing the attach/detach.

Jan Šafránek

unread,
Jun 27, 2018, 4:16:19 AM6/27/18
to kubernetes/kubernetes, k8s-mirror-storage-feature-requests, Team mention

It's lengthy process to deprecate something. https://kubernetes.io/docs/reference/using-api/deprecation-policy/

With the old policy (when we introduced the annotation), it would fall into

Rule #7: Deprecated behaviors must function for no less than 1 year after their announced deprecation.

But with the new one, it seems impossible to remove the annotation:

The following rules govern the deprecation of elements of the API. This includes:

  • Annotations on REST resources, including “beta” annotations but not including “alpha” annotations.

Could we get an exception in this case?

Michelle Au

unread,
Jun 27, 2018, 1:32:18 PM6/27/18
to kubernetes/kubernetes, k8s-mirror-storage-feature-requests, Team mention

Discussed with @saad-ali a little, he says there are users that still need this flag so I'm not sure if we can ever remove it. If we cannot remove it and need to support it forever, then maybe we need to at least document the limitations of using this, and test this configuration as well.

Zhuvikin

unread,
Jul 3, 2018, 12:35:48 PM7/3/18
to kubernetes/kubernetes, k8s-mirror-storage-feature-requests, Team mention

I think this flag is still needed at least for attach/detach operations in case when some static pod needs volume and controller isn't up yet. My case is to use cinder volume plugin in static pod definition like follows.

volumes:
  - cinder:
      fsType: "ext4"
      volumeID: "1234678-90-1234-5678-90123456789"
    name: data

fejta-bot

unread,
Aug 2, 2018, 1:05:45 PM8/2/18
to kubernetes/kubernetes, k8s-mirror-storage-feature-requests, Team mention

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

unread,
Aug 2, 2018, 1:05:52 PM8/2/18
to kubernetes/kubernetes, k8s-mirror-storage-feature-requests, Team mention

Closed #55517.

Michelle Au

unread,
Jul 1, 2019, 7:15:23 PM7/1/19
to kubernetes/kubernetes, k8s-mirror-storage-feature-requests, Team mention

/reopen
/lifecycle frozen

Kubernetes Prow Robot

unread,
Jul 1, 2019, 7:15:34 PM7/1/19
to kubernetes/kubernetes, k8s-mirror-storage-feature-requests, Team mention

Reopened #55517.

Kubernetes Prow Robot

unread,
Jul 1, 2019, 7:15:46 PM7/1/19
to kubernetes/kubernetes, k8s-mirror-storage-feature-requests, Team mention

@msau42: Reopened this issue.

In response to this:

/reopen
/lifecycle frozen

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.

Michelle Au

unread,
Jul 1, 2019, 7:19:03 PM7/1/19
to kubernetes/kubernetes, k8s-mirror-storage-feature-requests, Team mention

This is an untested configuration and as we're adding more features and designing around AD controller/kubelet coordination for things like migration, this functionality is bound to get broken.

We should think about how to support the static pod scenario outlined above considering the move towards CSI and eventually removing all in-tree plugin code. Many CSI features today depend on K8s api objects and won't work in a static pod/master bootstrapping scenario.

Fabio Bertinatto

unread,
Feb 21, 2022, 9:31:18 AM2/21/22
to kubernetes/kubernetes, k8s-mirror-storage-feature-requests, Team mention

@msau42 @jsafrane since we are migrating to CSI and this option is mandatory for that use case, is there a way we can deprecate this now?


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are on a team that was mentioned.Message ID: <kubernetes/kubernetes/issues/55517/1046940536@github.com>

Reply all
Reply to author
Forward
0 new messages