Production-Grade Container Scheduling and Management
Go to file
Kubernetes Submit Queue 15f9572b8c Merge pull request #38613 from kargakis/do-not-adopt-when-deleted
Automatic merge from submit-queue

controller: adopt pods only when controller is not deleted

When a replica set is deleted it will continue adopting pods thus driving the worker that handles it in erroring out because the adoption is [always cancelled](59c313730c/pkg/controller/controller_ref_manager.go (L110)) in the controller reference manager.
```
E1212 14:40:31.245773    7964 replica_set.go:616] cancel the adopt attempt for pod e2e-tests-deployment-2rr3m_test-rollover-deployment-1981456318-73c3m_791e16cb-c070-11e6-a234-68f72840e7df because the controlller is being deleted
E1212 14:40:31.258462    7964 replica_set.go:616] cancel the adopt attempt for pod e2e-tests-deployment-2rr3m_test-rollover-deployment-1981456318-73c3m_791e16cb-c070-11e6-a234-68f72840e7df because the controlller is being deleted
E1212 14:40:31.259131    7964 replica_set.go:616] cancel the adopt attempt for pod e2e-tests-deployment-2rr3m_test-rollover-deployment-1981456318-73c3m_791e16cb-c070-11e6-a234-68f72840e7df because the controlller is being deleted
E1212 14:40:31.259149    7964 replica_set.go:616] cancel the adopt attempt for pod e2e-tests-deployment-2rr3m_test-rollover-deployment-1981456318-wrmt8_791e3d46-c070-11e6-a234-68f72840e7df because the controlller is being deleted
I1212 14:40:31.268012    7964 deployment_controller.go:314] Error syncing deployment e2e-tests-deployment-2rr3m/test-rollover-deployment: Operation cannot be fulfilled on deployments.extensions "test-rollover-deployment": the object has been modified; please apply your changes to the latest version and try again
E1212 14:40:31.277252    7964 replica_set.go:616] cancel the adopt attempt for pod e2e-tests-deployment-2rr3m_test-rollover-deployment-1981456318-73c3m_791e16cb-c070-11e6-a234-68f72840e7df because the controlller is being deleted
E1212 14:40:31.277276    7964 replica_set.go:616] cancel the adopt attempt for pod e2e-tests-deployment-2rr3m_test-rollover-deployment-1981456318-wrmt8_791e3d46-c070-11e6-a234-68f72840e7df because the controlller is being deleted
E1212 14:40:31.277287    7964 replica_set.go:616] cancel the adopt attempt for pod e2e-tests-deployment-2rr3m_test-rollover-deployment-1981456318-bmqpn_81482114-c070-11e6-a234-68f72840e7df because the controlller is being deleted
E1212 14:40:31.289148    7964 replica_set.go:616] cancel the adopt attempt for pod e2e-tests-deployment-2rr3m_test-rollover-deployment-1981456318-b6s4x_82fa8343-c070-11e6-a234-68f72840e7df because the controlller is being deleted
E1212 14:40:31.289169    7964 replica_set.go:616] cancel the adopt attempt for pod e2e-tests-deployment-2rr3m_test-rollover-deployment-1981456318-73c3m_791e16cb-c070-11e6-a234-68f72840e7df because the controlller is being deleted
E1212 14:40:31.289176    7964 replica_set.go:616] cancel the adopt attempt for pod e2e-tests-deployment-2rr3m_test-rollover-deployment-1981456318-wrmt8_791e3d46-c070-11e6-a234-68f72840e7df because the controlller is being deleted
E1212 14:40:31.289181    7964 replica_set.go:616] cancel the adopt attempt for pod e2e-tests-deployment-2rr3m_test-rollover-deployment-1981456318-bmqpn_81482114-c070-11e6-a234-68f72840e7df because the controlller is being deleted
```

@kubernetes/deployment @caesarxuchao
2016-12-13 04:57:49 -08:00
.github Fix PR template 2016-11-11 14:48:58 -08:00
api refactor: update swagger specs 2016-12-10 18:05:57 -05:00
build-tools Merge pull request #38584 from luxas/fix_vendored_azuredep 2016-12-12 14:16:23 -08:00
cluster Merge pull request #38617 from jszczepkowski/multizone-fix 2016-12-13 02:54:32 -08:00
cmd Merge pull request #38624 from deads2k/fed-10-proxy 2016-12-12 19:42:33 -08:00
docs refactor: update swagger specs 2016-12-10 18:05:57 -05:00
examples fix examples/ compilation so that test/ also compiles 2016-12-12 15:14:49 -08:00
federation autoupdate BUILD files 2016-12-12 13:30:07 -08:00
Godeps Merge pull request #38625 from smarterclayton/bump_gorestful 2016-12-12 22:24:37 -08:00
hack Merge pull request #38620 from wojtek-t/increase_wait_for_nodes_timeout 2016-12-13 03:46:29 -08:00
hooks remove hack/verify-munge-docs.sh from pre-commit hooks 2016-12-09 15:17:18 -08:00
logo
pkg Merge pull request #38613 from kargakis/do-not-adopt-when-deleted 2016-12-13 04:57:49 -08:00
plugin Merge pull request #38572 from hongchaodeng/sr 2016-12-12 19:42:35 -08:00
staging Fix staging/copy.sh to work on mac and linux 2016-12-12 17:47:39 +01:00
test Merge pull request #38620 from wojtek-t/increase_wait_for_nodes_timeout 2016-12-13 03:46:29 -08:00
third_party autoupdate BUILD files 2016-12-12 13:30:07 -08:00
vendor Merge pull request #38625 from smarterclayton/bump_gorestful 2016-12-12 22:24:37 -08:00
.gazelcfg.json fix examples/ compilation so that test/ also compiles 2016-12-12 15:14:49 -08:00
.generated_docs kubectl: generated changes for new pdb command 2016-12-02 18:42:25 +01:00
.generated_files List generated files for the github size munger 2016-11-15 15:47:22 -08:00
.gitattributes Move .gitattributes annotation to the root, so GitHub will respect them. 2016-11-02 09:48:45 -07:00
.gitignore
BUILD
CHANGELOG.md Update CHANGELOG.md to warn about anon auth flag 2016-12-12 23:57:37 -08:00
code-of-conduct.md
CONTRIBUTING.md updated munge-docs 2016-11-29 01:35:11 -08:00
labels.yaml
LICENSE LICENSE: revert modifications to Apache license 2016-11-22 11:44:46 -08:00
Makefile Add "make help" to list all make targets and help info 2016-12-05 02:00:46 -05:00
Makefile.generated_files
OWNERS
OWNERS_ALIASES
README.md Additional cleanups and addressing review 2016-11-15 20:55:42 +01:00
Vagrantfile Customizable vagrant rsync args and excludes 2016-11-14 11:18:44 +01:00
WORKSPACE bump go rules 2016-12-12 13:30:07 -08:00

Kubernetes

Submit Queue Widget GoDoc Widget Coverage Status Widget

Introduction

Kubernetes is an open source system for managing containerized applications across multiple hosts, providing basic mechanisms for deployment, maintenance, and scaling of applications. Kubernetes is hosted by the Cloud Native Computing Foundation (CNCF)

Kubernetes builds upon a decade and a half of experience at Google running production workloads at scale using a system called Borg, combined with best-of-breed ideas and practices from the community.


Are you ...

Code of Conduct

The Kubernetes community abides by the CNCF code of conduct. Here is an excerpt:

As contributors and maintainers of this project, and in the interest of fostering an open and welcoming community, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.

Community

Do you want to help "shape the evolution of technologies that are container-packaged, dynamically-scheduled and microservices-oriented? ". If you are a company, you should consider joining the CNCF. For details about who's involved in CNCF and how Kubernetes plays a role, read the announcement. For general information about our community see the website community page.

Join us on social media (Twitter, Google+) and read our blog

Ask questions and help answer them on Slack or Stack Overflow

Attend our key events (kubecon, cloudnativecon, weekly community meeting)

Join a Special Interest Group (SIG)

Contribute

If you're interested in being a contributor and want to get involved in developing Kubernetes, get started with with this reading:

You will then most certainly gain a lot from joining a SIG, attending the regular hangouts as well as the community meeting.

If you have an idea for a new feature, see the Kubernetes Features repository for a list of features that are coming in new releases as well as details on how to propose one.

Support

While there are many different channels that you can use to get hold of us (Slack, Stack Overflow, Issues, Forums/Mailing lists), you can help make sure that we are efficient in getting you the help that you need.

If you need support, start with the troubleshooting guide and work your way through the process that we've outlined.

That said, if you have questions, reach out to us one way or another. We don't bite!

Analytics