k3s/cluster
Kubernetes Submit Queue a4fbd38835
Merge pull request #59014 from Random-Liu/make-kube-up-kubelet-args-configurable
Automatic merge from submit-queue (batch tested with PRs 59010, 59212, 59281, 59014, 59297). 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>.

Make kubelet flags of kube-up.sh configurable.

Fixes https://github.com/kubernetes/kubernetes/issues/59503.

For CRI container runtime, we need to pass kubelet the container runtime cgroup.

~~Currently, for `e2e-up.sh` we can use `KUBE_TEST_ARGS` to configure kubelet flags. However, for `kube-up.sh` we don't have a way to configure it.~~
Actually we can also use `KUBE_TEST_ARGS` for kubelet flags. However, I prefer we still make this change to make the env name more formalized.

@kubernetes/sig-cluster-lifecycle-pr-reviews @kubernetes/sig-node-pr-reviews 
@yujuhong @feiskyer @mrunalp 

Signed-off-by: Lantao Liu <lantaol@google.com>



**What this PR does / why we need it**:

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes #

**Special notes for your reviewer**:

**Release note**:

```release-note
none
```
2018-02-07 15:27:46 -08:00
..
addons Merge pull request #57455 from kawych/fix_metadata_agent 2018-02-06 06:40:34 -08:00
centos reuse PVC protection admission plugin for PV protection 2018-01-31 20:02:01 +08:00
gce Merge pull request #59014 from Random-Liu/make-kube-up-kubelet-args-configurable 2018-02-07 15:27:46 -08:00
images Merge pull request #59143 from halfcrazy/typo-cluster 2018-02-05 10:47:54 -08:00
juju Merge pull request #59396 from kwmonroe/bug/opts-before-login 2018-02-06 20:27:42 -08:00
kubemark Expose etcd compaction interval param for kubemark apiserver 2018-02-01 11:10:02 +01:00
kubernetes-anywhere Fix log collection for kubeadm-gce tests 2017-10-26 07:57:42 -04:00
local
log-dump Revert k8s.gcr.io vanity domain 2017-12-22 14:36:16 -08:00
pre-existing Launch kubemark with an existing Kubemark Master 2017-07-05 09:14:53 -04:00
skeleton cluster: remove kube-push 2018-01-13 08:08:48 -08:00
BUILD Use the pkg_tar wrapper from kubernetes/repo-infra 2018-01-18 17:10:16 -08:00
OWNERS
README.md Update docs/ URLs to point to proper locations 2017-06-05 22:13:54 -07:00
clientbin.sh Update helper scripts to find binaries in new bazel-bin paths 2017-12-23 13:13:09 -08:00
common.sh fix typo in cluster 2018-02-03 11:08:06 +08:00
get-kube-binaries.sh Make get-kube.sh work properly the "ci/latest" pointer 2017-04-05 15:02:10 -07:00
get-kube-local.sh Revert k8s.gcr.io vanity domain 2017-12-22 14:36:16 -08:00
get-kube.sh Remove salt support for providers that no longer exist. 2018-01-12 15:51:23 -08:00
kube-down.sh
kube-up.sh cluster: delete image staging 2018-02-01 07:23:50 -08:00
kube-util.sh Do not clobber KUBERNETES_PROVIDER - fix kubeadm/gce log collection 2017-10-30 17:33:08 -04:00
kubeadm.sh
kubectl.sh
restore-from-backup.sh fix typo in cluster 2018-02-03 11:08:06 +08:00
test-e2e.sh
test-network.sh
test-smoke.sh
update-storage-objects.sh Swap NetworkPolicy storage to networking.k8s.io/v1 2017-11-14 15:15:01 -05:00
validate-cluster.sh Switch away from gcloud deprecated flags in compute resource listings 2017-08-30 06:41:09 +01: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