k3s/cluster/gce/gci
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
..
mounter Remove references to rkt from shell scripts in cluster/ and hack/. 2018-03-27 09:29:35 -07:00
BUILD Adding a shutdown script that would enable handling preemptible VM terminations gracefully in GCP environment 2018-05-25 16:20:24 -07:00
README.md Update Container-VM Image product name in docs 2016-09-09 10:08:56 -07:00
apiserver_manifest_test.go Add unit test for configure-helper. 2018-04-23 12:18:57 -07:00
configure-helper.sh re-reorder authorizers (RBAC before Webhook). 2018-05-22 16:48:39 -07:00
configure.sh Merge pull request #63357 from Random-Liu/install-and-use-crictl 2018-05-15 21:18:12 -07:00
configure_helper_test.go Add unit test for configure-helper. 2018-04-23 12:18:57 -07:00
flexvolume_node_setup.sh Update all script to use /usr/bin/env bash in shebang 2018-04-19 13:20:13 +02:00
health-monitor.sh Dump Stack when docker fails on healthcheck 2018-05-21 11:39:59 +09:00
helper.sh Update all script to use /usr/bin/env bash in shebang 2018-04-19 13:20:13 +02:00
master-helper.sh Update all script to use /usr/bin/env bash in shebang 2018-04-19 13:20:13 +02:00
master.yaml Install and use crictl in gce kube-up.sh 2018-05-03 17:17:55 -07:00
node-helper.sh Adding a shutdown script that would enable handling preemptible VM terminations gracefully in GCP environment 2018-05-25 16:20:24 -07:00
node.yaml Install and use crictl in gce kube-up.sh 2018-05-03 17:17:55 -07:00
shutdown.sh Adding a shutdown script that would enable handling preemptible VM terminations gracefully in GCP environment 2018-05-25 16:20:24 -07:00

README.md

Container-VM Image

Container-VM Image is a container-optimized OS image for the Google Cloud Platform (GCP). It is primarily for running Google services on GCP. Unlike the open preview version of container-vm, the new Container-VM Image is based on the open source ChromiumOS project, allowing us greater control over the build management, security compliance, and customizations for GCP.

Analytics