Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions templates/test/ci/patches/kcp-node-deletion-timeout.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
apiVersion: controlplane.cluster.x-k8s.io/v1beta1
kind: KubeadmControlPlane
metadata:
name: ${CLUSTER_NAME}-control-plane
spec:
machineTemplate:
nodeDeletionTimeout: 600s
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was thinking this timeout was starting when CAPI first tries to delete the Node, but it actually starts as soon as the Machine is deleted. So this has to account for cordoning and draining the Node and deleting the infra.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ patches:
- path: ../../../../../../templates/azure-cluster-identity/azurecluster-identity-ref.yaml
- path: ../../../../../../templates/test/ci/patches/cluster-label-calico.yaml
- path: ../../../../../../templates/test/ci/patches/cluster-label-cloud-provider-azure.yaml
- path: ../../../../../../templates/test/ci/patches/kcp-node-deletion-timeout.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ patches:
- path: ../../../../../../templates/azure-cluster-identity/azurecluster-identity-ref.yaml
- path: ../../../../../../templates/test/ci/patches/cluster-label-calico.yaml
- path: ../../../../../../templates/test/ci/patches/cluster-label-cloud-provider-azure.yaml
- path: ../../../../../../templates/test/ci/patches/kcp-node-deletion-timeout.yaml
Loading