You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test-e2e-eks: generate-test-flavors $(KIND)$(SSM_PLUGIN)$(KUSTOMIZE) e2e-image ## Run eks e2e tests
434
434
time go run github.com/onsi/ginkgo/v2/ginkgo -tags=e2e $(GINKGO_ARGS) ./test/e2e/suites/managed/... -- -config-path="$(E2E_EKS_CONF_PATH)" --source-template="$(EKS_SOURCE_TEMPLATE)"$(E2E_ARGS)$(EKS_E2E_ARGS)
435
435
436
-
.PHONY: test-e2e-gc ## Run garbage collection e2e tests using clusterctl
437
-
test-e2e-gc: generate-test-flavors $(KIND)$(SSM_PLUGIN)$(KUSTOMIZE) e2e-image ## Run eks e2e tests
438
-
time go run github.com/onsi/ginkgo/v2/ginkgo -tags=e2e -focus="$(GINKGO_FOCUS)" -skip="$(GINKGO_SKIP)"$(GINKGO_ARGS) -p ./test/e2e/suites/gc_unmanaged/... -- -config-path="$(E2E_CONF_PATH)"$(E2E_ARGS)
439
-
440
-
.PHONY: test-e2e-eks-gc ## Run EKS garbage collection e2e tests using clusterctl
441
-
test-e2e-eks-gc: generate-test-flavors $(KIND)$(SSM_PLUGIN)$(KUSTOMIZE) e2e-image ## Run eks e2e tests
442
-
time go run github.com/onsi/ginkgo/v2/ginkgo -tags=e2e -focus="$(GINKGO_FOCUS)" -skip="$(GINKGO_SKIP)"$(GINKGO_ARGS) ./test/e2e/suites/gc_managed/... -- -config-path="$(E2E_EKS_CONF_PATH)" --source-template="$(EKS_SOURCE_TEMPLATE)"$(E2E_ARGS)$(EKS_E2E_ARGS)
@@ -21,16 +21,16 @@ We will look to support deleting EBS volumes in the future potentially.
21
21
22
22
> Note: this feature will likely be superseded by an upstream CAPI feature in the future when [this issue](https://github.com/kubernetes-sigs/cluster-api/issues/3075) is resolved.
23
23
24
-
## Enabling
24
+
## Disabling
25
25
26
-
To enable garbage collection, you must set the `ExternalResourceGC` feature gate to `true` on the controller manager. The easiest way to do this is via an environment variable:
26
+
The garbage collection feature is enabled by default. If you want to disable the feature then you must set the `ExternalResourceGC` feature gate to `false` on the controller manager. The easiest way to do this is via an environment variable:
27
27
28
28
```bash
29
-
exportEXP_EXTERNAL_RESOURCE_GC=true
29
+
exportEXTERNAL_RESOURCE_GC=false
30
30
clusterctl init --infrastructure aws
31
31
```
32
32
33
-
> Note: if you enable this feature **ALL** clusters will be marked as requiring garbage collection.
33
+
> Note: if you disable this feature **ALL** clusters will be marked as not requiring garbage collection.
0 commit comments