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

Issue with k8s.io/docs/concepts/workloads/controllers/deployment/ #9505

Closed
1 of 2 tasks
tigran-a opened this issue Jul 13, 2018 · 3 comments
Closed
1 of 2 tasks

Issue with k8s.io/docs/concepts/workloads/controllers/deployment/ #9505

tigran-a opened this issue Jul 13, 2018 · 3 comments
Assignees
Labels
kind/bug Categorizes issue or PR as related to a bug. sig/apps Categorizes an issue or PR as relevant to SIG Apps. sig/cli Categorizes an issue or PR as relevant to SIG CLI.

Comments

@tigran-a
Copy link

This is a...

  • Feature Request
  • Bug Report

Problem:
In section "Rolling Back a Deployment" of https://kubernetes.io/docs/concepts/workloads/controllers/deployment/

It seems that nginx-deployment-3066724191 should have 0 READY, as its pods are in a failed state
(and nginx-deployment-1564180365 should have 2 READY)

$ kubectl get rs
NAME                          DESIRED   CURRENT   READY   AGE
nginx-deployment-1564180365   2         2         0       25s
nginx-deployment-2035384211   0         0         0       36s
nginx-deployment-3066724191   2         2         2       6s

Looking at the Pods created, you will see that the 2 Pods created by new ReplicaSet are stuck in an image pull loop.

$ kubectl get pods
NAME                                READY     STATUS             RESTARTS   AGE
nginx-deployment-1564180365-70iae   1/1       Running            0          25s
nginx-deployment-1564180365-jbqqo   1/1       Running            0          25s
nginx-deployment-3066724191-08mng   0/1       ImagePullBackOff   0          6s
nginx-deployment-3066724191-eocby   0/1       ImagePullBackOff   0          6s

Proposed Solution:
(described in the previous section)

$ kubectl get rs
NAME                          DESIRED   CURRENT   READY   AGE
nginx-deployment-1564180365   2         2         2       25s
nginx-deployment-2035384211   0         0         0       36s
nginx-deployment-3066724191   2         2         0       6s

Page to Update:
https://kubernetes.io/docs/concepts/workloads/controllers/deployment/

@neolit123
Copy link
Member

@kubernetes/sig-apps-bugs
@kubernetes/sig-cli-bugs

/kind bug

@k8s-ci-robot k8s-ci-robot added kind/bug Categorizes issue or PR as related to a bug. sig/apps Categorizes an issue or PR as relevant to SIG Apps. sig/cli Categorizes an issue or PR as relevant to SIG CLI. labels Jul 13, 2018
@caishan2018
Copy link
Contributor

related PR #9584

@mattfarina
Copy link
Contributor

This appears to be closed because of the merger of #9584. If there is still an issue we can re-open this.

/close

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. sig/apps Categorizes an issue or PR as relevant to SIG Apps. sig/cli Categorizes an issue or PR as relevant to SIG CLI.
Projects
None yet
Development

No branches or pull requests

5 participants