k3s/cluster
Kubernetes Submit Queue 24bc761aec
Merge pull request #62508 from dims/allow-customized-image-for-dockerized-kubelet
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>.

Support containerized kubelet in CI

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

  * Adjust hyperkube Makefile to allow HYPERKUBE_BIN to be
    specified from outside

  * new DOCKER_ROOT variable to specify --root-dir and associated
    volume for kubelet to know where docker directory lives

  * Save the docker logs when we kill the kubelet container

  * Allow customized image for dockerized kubelet and build a Default
    image if one is not specified

  We should allow a custom build using script we have:
  `VERSION="latest" REGISTRY="k8s.gcr.io" hack/dev-push-hyperkube.sh`

  to be used quickly using DOCKERIZE_KUBELET. To do this we remove the
  hard coded `k8s.gcr.io/kubelet` image and introduce a new environment
  variable `KUBELET_IMAGE`.

  Note that we are switching to hyperkube from kubelet as we have a quick
  and easy script to build hyperkube image and load it into local docker
  daemon. This reduces bad hacks like `docker tag
  k8s.gcr.io/hyperkube-amd64:<tag> k8s.gcr.io/kubelet:latest` being used
  by folks today (see 62057)

  * Better cope with PID 0 when running "docker inspect" to look for
    the process id for kubelet container


**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-04-27 21:06:23 -07:00
..
addons Add other prometheus monitoring components 2018-04-26 17:14:49 +02:00
centos rename StorageProtection to StorageObjectInUseProtection 2018-02-21 10:48:56 +08:00
gce Merge pull request #62863 from awly/kube-controller-manager-disable-controllers 2018-04-27 20:16:05 -07:00
images Merge pull request #62508 from dims/allow-customized-image-for-dockerized-kubelet 2018-04-27 21:06:23 -07:00
juju juju: Use k8s.gcr.io url for arm64 ingress image 2018-04-23 08:39:21 -05:00
kubemark Merge pull request #62660 from krzysied/kubemark_dns 2018-04-17 17:31:23 -07:00
kubernetes-anywhere
local
log-dump Switch to k8s.gcr.io vanity domain 2018-02-07 21:14:19 -08:00
pre-existing
skeleton
BUILD Add unit test for configure-helper. 2018-04-23 12:18:57 -07:00
OWNERS
README.md
clientbin.sh
common.sh Don't require release tars on kube-down 2018-04-05 17:39:18 -04:00
get-kube-binaries.sh
get-kube-local.sh Switch to k8s.gcr.io vanity domain 2018-02-07 21:14:19 -08:00
get-kube.sh
kube-down.sh
kube-up.sh Don't require release tars on kube-down 2018-04-05 17:39:18 -04:00
kube-util.sh
kubeadm.sh fix flaky integration tests 2018-03-29 09:45:46 -07:00
kubectl.sh
restore-from-backup.sh fix all the typos across the project 2018-02-11 11:04:14 +08:00
test-e2e.sh
test-network.sh
test-smoke.sh
update-storage-objects.sh cluster/update-storage-objects.sh: Fix to ignore deleted objects 2018-03-22 14:47:33 +09:00
validate-cluster.sh fix all the typos across the project 2018-02-11 11:04:14 +08: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