kubernetes/pkg/api
Kubernetes Submit Queue f297ea966e Merge pull request #30838 from caesarxuchao/per-resource-orphan-behavior
Automatic merge from submit-queue

[GarbageCollector] Allow per-resource default garbage collection behavior

What's the bug:
When deleting an RC with `deleteOptions.OrphanDependents==nil`, garbage collector is supposed to treat it as `deleteOptions.OrphanDependents==true", and orphan the pods created by it. But the apiserver is not doing that.

What's in the pr:
Allow each resource to specify the default garbage collection behavior in the registry. For example, RC registry's default GC behavior is Orphan, and Pod registry's default GC behavior is CascadingDeletion.
2016-08-23 08:46:32 -07:00
..
annotations Use Go canonical import paths 2016-07-16 13:48:21 -04:00
endpoints Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
errors Rename IsEmpty to Empty 2016-08-19 14:19:19 -07:00
install fix register.go files up + add test import 2016-08-11 17:06:54 -07:00
meta add ClusterName field to ObjectMeta 2016-08-22 21:09:57 -07:00
pod Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
resource Update generated files due to dependency shift. 2016-08-09 10:41:09 -05:00
rest Merge pull request #30838 from caesarxuchao/per-resource-orphan-behavior 2016-08-23 08:46:32 -07:00
service Run goimports 2016-08-02 15:12:39 +03:00
testapi Introduce GroupVersioner for capturing desired target version 2016-08-18 14:45:00 -04:00
testing Merge pull request #30529 from hongchaodeng/r1 2016-08-20 00:24:40 -07:00
unversioned Merge pull request #30821 from ardnaxelarak/21076_change_isEmpty_to_Empty 2016-08-22 00:54:28 -07:00
util Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
v1 add generated files 2016-08-22 23:00:23 -07:00
validation add ClusterName field to ObjectMeta 2016-08-22 21:09:57 -07:00
context_test.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
context.go Merge pull request #25307 from derekwaynecarr/set_uid_from_context 2016-07-20 09:58:51 -07:00
conversion_test.go Turn pkg/api/pod_example.json into go struct to avoid noise in pprof 2016-07-12 20:36:48 +02:00
conversion.go fix register.go files up + add test import 2016-08-11 17:06:54 -07:00
copy_test.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
deep_copy_test.go Update etcd default ports for v3, and validate tests 2016-08-17 07:49:19 -05:00
defaults.go fix register.go files up + add test import 2016-08-11 17:06:54 -07:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
field_constants.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
generate_test.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
generate.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
helpers_test.go Use PreferAvoidPods annotation to avoid pods being scheduled to specific node. 2016-07-13 17:07:46 +08:00
helpers.go make labels, fields expose selectable requirements 2016-08-20 10:10:51 -07:00
mapper.go Adding events to federation apiserver 2016-08-12 10:48:19 -07:00
meta_test.go Refactor uuid into its own pkg 2016-07-30 00:07:02 -04:00
meta.go add ClusterName field to ObjectMeta 2016-08-22 21:09:57 -07:00
node_example.json Updating scripts to use v1 instead of v1beta3 2015-07-01 00:23:16 -07:00
OWNERS Move blunderbuss assignees into tree 2016-03-02 20:46:32 -05:00
ref_test.go Use make as the main build tool 2016-07-12 21:52:00 -07:00
ref.go move api.OjbectReference.ObjectKind() to ref.go 2016-07-14 23:02:05 -07:00
register.go fix register.go files up + add test import 2016-08-11 17:06:54 -07:00
replication_controller_example.json Initial Quobyte support 2016-08-18 17:13:50 +02:00
requestcontext.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
resource_helpers_test.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
resource_helpers.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
serialization_proto_test.go Convert() should accept the new conversion Context value 2016-08-18 14:45:20 -04:00
serialization_test.go Convert() should accept the new conversion Context value 2016-08-18 14:45:20 -04:00
types.generated.go add generated files 2016-08-22 23:00:23 -07:00
types.go add ClusterName field to ObjectMeta 2016-08-22 21:09:57 -07:00
zz_generated.deepcopy.go add generated files 2016-08-22 23:00:23 -07:00