k3s/cluster/gce
Kubernetes Submit Queue 930b3939f1
Merge pull request #64294 from vishh/shutdown-script
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Adding a shutdown script that would enable handling preemptible VM terminations gracefully in GCP environment

This PR adds a shutdown script to COS nodes in GCP k8s clusters that will make preemptible nodes sleep for however long they can between the time they receive an ACPI shutdown request and get's terminated.
https://cloud.google.com/compute/docs/instances/preemptible#preemption_process

This will then allow for catching termination signals via GCE metadata APIs and gracefully evict pods in k8s.

xref https://github.com/kubernetes/release/pull/560/
2018-05-25 22:33:33 -07:00
..
addons Use runtime/default as default seccomp profile for unprivileged PodSecurityPolicy 2018-05-15 09:39:37 -07:00
gci Merge pull request #64294 from vishh/shutdown-script 2018-05-25 22:33:33 -07:00
manifests Cluster Autoscaler 1.2.2 2018-05-17 16:42:46 +02:00
BUILD Add unit test for configure-helper. 2018-04-23 12:18:57 -07:00
OWNERS Add jingax10 as both reviewer and approver in cluster/gce. 2018-02-21 22:11:32 -08:00
config-common.sh Use IP_ALIAS_SIZE to calculate and update IP_ALIAS_SIZE. Error added when ip-alias is not enabled when IP_ALIAS_SIZE is not empty. 2018-05-04 14:10:08 -07:00
config-default.sh Merge pull request #63918 from cezarygerard/sd-event-exporter 2018-05-18 09:54:16 -07:00
config-test.sh Merge pull request #63904 from hzxuzhonghu/gce-alpha-feature 2018-05-24 17:01:14 -07:00
cos Symlink cluster/gce/cos to cluster/gce/gci 2017-03-15 15:31:51 -07:00
custom add folder named custom in gce 2018-01-05 15:36:53 -08:00
delete-stranded-load-balancers.sh Update all script to use /usr/bin/env bash in shebang 2018-04-19 13:20:13 +02:00
list-resources.sh Update all script to use /usr/bin/env bash in shebang 2018-04-19 13:20:13 +02:00
ubuntu Makes cluster/gce/ubuntu to be a symlink to cluster/gce/gci and changes the gci's [master|node].yaml to enable kubernetes.target. 2017-04-25 16:19:00 -07:00
upgrade-aliases.sh Update all script to use /usr/bin/env bash in shebang 2018-04-19 13:20:13 +02:00
upgrade.sh Move uncordon to after the node is ready 2018-05-11 09:57:04 -07:00
util.sh graduate DynamicKubeletConfig feature to beta 2018-05-24 09:59:29 -07:00