kubernetes/cluster
David Porter 3281504a50 cluster/ - Configure containerd only if necessary
PR #107663 changed the startup logic to always call `SetupContainerd`
which will generate a new containerd `/etc/containerd/config.toml` file.

This is not always desired since some jobs install containerd from
source and the containerd startup scripts
(https://github.com/containerd/containerd/blob/main/contrib/gce/configure.sh)
are responsible for generating the `/etc/containerd/config.toml` file.
By always calling `SetupContainerd`, the containerd configuration by
containerd's `configure.sh` will be overridden which breaks certain test
jobs, see https://github.com/kubernetes/kubernetes/issues/107830.

To fix this issue, only call `SetupContainerd` if
`/etc/profile.d/containerd_env.sh` does not exist. When containerd
`configure.sh` script will run, `/etc/profile.d/containerd_env.sh` will
be written, and as a result the k8s setup scripts should avoid
overriding the containerd configuration.

Signed-off-by: David Porter <david@porter.me>
2022-02-10 14:24:14 -08:00
..
addons Merge pull request #107481 from shu-mutou/deprecate-dashboard-addon 2022-02-10 05:35:48 -08:00
gce cluster/ - Configure containerd only if necessary 2022-02-10 14:24:14 -08:00
images fix not return when channel closed 2022-01-14 10:47:01 +08:00
kubemark Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00
log-dump Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00
pre-existing Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00
skeleton Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00
common.sh cluster,hack: Use community infra GCS bucket for retrieving CI builds 2021-07-03 17:04:54 -04:00
get-kube-binaries.sh Remove unnecessary quotes from get-kube scripts 2021-05-15 13:27:09 +09:00
get-kube.sh Remove unnecessary quotes from get-kube scripts 2021-05-15 13:27:09 +09:00
kube-down.sh
kube-up.sh
kube-util.sh remove kubernetes-anywhere from this repository 2020-04-21 22:52:51 +03:00
kubectl.sh Import 'logging.sh' to avoid error when logging 2022-01-06 19:03:32 +01:00
OWNERS Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00
README.md Removed broken link to Analytics 2020-08-13 16:03:37 -04:00
validate-cluster.sh Fix shellcheck failures in cluster/validate-cluster.sh 2019-10-01 15:35:39 +09:00

Cluster Configuration

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

See the Getting started guide for alternatives.