k3s/pkg/controller
Kubernetes Submit Queue f75f49e7a0 Merge pull request #49915 from caesarxuchao/controller-ignore-initialize-timeout
Automatic merge from submit-queue (batch tested with PRs 49855, 49915)

Let controllers ignore initialization timeout when creating pods

Partially address https://github.com/kubernetes/kubernetes/issues/48893#issuecomment-318540129.

This only updates the controllers that create pods with `GenerateName`.

The controllers ignore the timeout error when creating the pods, depending on how the initialization progress:
* If the initialization is successful in less than 5 mins, the controller will observe the creation via the informer. All is good.
* If the initialization fails, server will delete the pod, but the controller won't receive any event. The controller will not create new pod until the Creation expectation expires in 5 min.
* If the initialization takes too long (> 5 mins), the Creation expectation expires and the controller will create extra pods.

I'll send follow-up PRs to fix the latter two cases, e.g., by refactoring the sharedInformer.
2017-08-05 19:07:53 -07:00
..
bootstrap run hack/update-all 2017-06-22 11:31:03 -07:00
certificates Add missing UID in SubjectAccessReviewSpec 2017-08-02 10:49:02 -04:00
cloud Have a uniform format for filenames across controllers 2017-08-02 09:50:05 +05:30
cronjob Merge pull request #48141 from ankon/patch-2 2017-08-05 06:12:57 -07:00
daemon Let controllers ignore initialization timeout error when creating a pod. 2017-08-03 15:28:08 -07:00
deployment Merge pull request #48976 from supereagle/cleanup-api-package 2017-07-25 12:14:38 -07:00
disruption remove duplicated import and wrong alias name of api package 2017-07-25 10:04:25 +08:00
endpoint Migrate api.Scheme to scheme.Scheme 2017-07-17 15:05:38 -07:00
garbagecollector Fix typo in comment 2017-08-05 22:47:48 +05:30
history Scripted migration from clientset_generated to client-go. 2017-07-17 15:05:37 -07:00
job Let controllers ignore initialization timeout error when creating a pod. 2017-08-03 15:28:08 -07:00
namespace Merge pull request #49495 from deads2k/controller-12-toleration 2017-07-27 21:45:34 -07:00
node Adding IPv6 to cidr_set and cidr_set_test 2017-08-03 13:06:49 -04:00
podautoscaler remove duplicated import and wrong alias name of api package 2017-07-25 10:04:25 +08:00
podgc Scripted migration from clientset_generated to client-go. 2017-07-17 15:05:37 -07:00
replicaset Let controllers ignore initialization timeout error when creating a pod. 2017-08-03 15:28:08 -07:00
replication Let controllers ignore initialization timeout error when creating a pod. 2017-08-03 15:28:08 -07:00
resourcequota tighten quota controller interface 2017-07-19 15:36:45 -04:00
route Have a uniform format for filenames across controllers 2017-08-02 09:50:05 +05:30
service Have a uniform format for filenames across controllers 2017-08-02 09:50:05 +05:30
serviceaccount Remove 0,1,3 from rand.String, to avoid 'bad words' 2017-08-03 15:52:33 +08:00
statefulset Fix usage a make(struct, len()) followed by append() 2017-07-31 14:43:29 -04:00
ttl Have a uniform format for filenames across controllers 2017-08-02 09:50:05 +05:30
volume Merge pull request #49016 from jsafrane/pv-controller-no-resync 2017-08-01 16:39:40 -07:00
.import-restrictions
BUILD Merge pull request #46514 from ravisantoshgudimetla/scheduler_taints_refactor 2017-07-21 22:23:24 -07:00
OWNERS remove some people from OWNERS so they don't get reviews anymore 2017-07-13 10:02:21 -07:00
client_builder.go Scripted migration from clientset_generated to client-go. 2017-07-17 15:05:37 -07:00
controller_ref_manager.go Export BaseControllerRefManager 2017-07-17 22:36:51 +02:00
controller_ref_manager_test.go run hack/update-all 2017-06-22 11:31:03 -07:00
controller_utils.go Let controllers ignore initialization timeout error when creating a pod. 2017-08-03 15:28:08 -07:00
controller_utils_test.go Scripted migration from clientset_generated to client-go. 2017-07-17 15:05:37 -07:00
doc.go
lookup_cache.go