mirror of https://github.com/k3s-io/k3s
![]() 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/ |
||
---|---|---|
.. | ||
mounter | ||
BUILD | ||
README.md | ||
apiserver_manifest_test.go | ||
configure-helper.sh | ||
configure.sh | ||
configure_helper_test.go | ||
flexvolume_node_setup.sh | ||
health-monitor.sh | ||
helper.sh | ||
master-helper.sh | ||
master.yaml | ||
node-helper.sh | ||
node.yaml | ||
shutdown.sh |
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.