k3s/cluster
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 Merge pull request #64296 from mindprince/nvidia-gpu-device-plugin-update-strategy 2018-05-25 11:33:15 -07:00
centos Update all script to use /usr/bin/env bash in shebang 2018-04-19 13:20:13 +02:00
gce Merge pull request #64294 from vishh/shutdown-script 2018-05-25 22:33:33 -07:00
images Merge pull request #62508 from dims/allow-customized-image-for-dockerized-kubelet 2018-04-27 21:06:23 -07:00
juju NFS support for default storage 2018-05-15 12:58:22 -04:00
kubemark Merge pull request #62379 from hzxuzhonghu/e2e-fix 2018-05-14 17:11:17 -07:00
kubernetes-anywhere Update all script to use /usr/bin/env bash in shebang 2018-04-19 13:20:13 +02:00
local Update all script to use /usr/bin/env bash in shebang 2018-04-19 13:20:13 +02:00
log-dump Merge pull request #63357 from Random-Liu/install-and-use-crictl 2018-05-15 21:18:12 -07:00
pre-existing Update all script to use /usr/bin/env bash in shebang 2018-04-19 13:20:13 +02:00
skeleton Update all script to use /usr/bin/env bash in shebang 2018-04-19 13:20:13 +02:00
BUILD Add unit test for configure-helper. 2018-04-23 12:18:57 -07:00
OWNERS
README.md
clientbin.sh Update all script to use /usr/bin/env bash in shebang 2018-04-19 13:20:13 +02:00
common.sh Update all script to use /usr/bin/env bash in shebang 2018-04-19 13:20:13 +02:00
get-kube-binaries.sh
get-kube-local.sh Update all script to use /usr/bin/env bash in shebang 2018-04-19 13:20:13 +02:00
get-kube.sh Remove salt support for providers that no longer exist. 2018-01-12 15:51:23 -08:00
kube-down.sh Update all script to use /usr/bin/env bash in shebang 2018-04-19 13:20:13 +02:00
kube-up.sh Update all script to use /usr/bin/env bash in shebang 2018-04-19 13:20:13 +02:00
kube-util.sh Update all script to use /usr/bin/env bash in shebang 2018-04-19 13:20:13 +02:00
kubeadm.sh Update all script to use /usr/bin/env bash in shebang 2018-04-19 13:20:13 +02:00
kubectl.sh Update all script to use /usr/bin/env bash in shebang 2018-04-19 13:20:13 +02:00
restore-from-backup.sh Update all script to use /usr/bin/env bash in shebang 2018-04-19 13:20:13 +02:00
test-e2e.sh Update all script to use /usr/bin/env bash in shebang 2018-04-19 13:20:13 +02:00
test-network.sh Update all script to use /usr/bin/env bash in shebang 2018-04-19 13:20:13 +02:00
test-smoke.sh Update all script to use /usr/bin/env bash in shebang 2018-04-19 13:20:13 +02:00
update-storage-objects.sh Update all script to use /usr/bin/env bash in shebang 2018-04-19 13:20:13 +02:00
validate-cluster.sh Update all script to use /usr/bin/env bash in shebang 2018-04-19 13:20:13 +02:00

README.md

Cluster Configuration

Deprecation Notice: This directory has entered maintenance mode and will not be accepting new providers. Please submit new automation deployments to kube-deploy. Deployments in this directory will continue to be maintained and supported at their current level of support.

The scripts and data in this directory automate creation and configuration of a Kubernetes cluster, including networking, DNS, nodes, and master components.

See the getting-started guides for examples of how to use the scripts.

cloudprovider/config-default.sh contains a set of tweakable definitions/parameters for the cluster.

The heavy lifting of configuring the VMs is done by SaltStack.

Analytics