Client-go: "create-update-delete-deployment" example outdated

Created on 18 Dec 2017  路  12Comments  路  Source: kubernetes/client-go

The "create-update-delete-deployment" example seems to be outdated because
RollbackTo of v1beta1.DeploymentSpec is deprecated.

There example should be updated using Rollback of v1beta1.DeploymentExpansion.

lifecyclstale

All 12 comments

@mactr0n good catch. I'll get that updated

@sttts @jekohk I would like to work on this issue

@anubhakushwaha feel free to pick this up. Let me know if you have any questions but it should be pretty straightforward.

apps/v1 deployments are GA so the example should be updated to it.

/help

oops

/remove-help

since already assigned to @anubhakushwaha

@anubhakushwaha When deployments are updated to use apps/v1, we should probably end up documenting this as well (see https://github.com/kubernetes/kubernetes/pull/59104).

Hi @anubhakushwaha
I believe you need to use the Rollback function from the DeploymentExpansion interface in extensions/v1beta1

/assign @k8s-external-contributor

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

This is already done by @anubhakushwaha in https://github.com/kubernetes/kubernetes/pull/59970 馃帀

Closing this issue. If you have comments about the rollback option using client-go, please comment in https://github.com/kubernetes/client-go/issues/398.

/close

Was this page helpful?
0 / 5 - 0 ratings

Related issues

strugglingyouth picture strugglingyouth  路  5Comments

h0tbird picture h0tbird  路  3Comments

jgrobbel picture jgrobbel  路  3Comments

jharshman picture jharshman  路  4Comments

mheese picture mheese  路  5Comments