mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 12:43:23 +00:00
Merge pull request #99971 from ibabou/update-containerd
Update containerd config for gce
This commit is contained in:
commit
158e1464ec
@ -1587,8 +1587,16 @@ function Configure_Containerd {
|
|||||||
$config_dir = [System.IO.Path]::GetDirectoryName($config_path)
|
$config_dir = [System.IO.Path]::GetDirectoryName($config_path)
|
||||||
New-Item $config_dir -ItemType 'directory' -Force | Out-Null
|
New-Item $config_dir -ItemType 'directory' -Force | Out-Null
|
||||||
Set-Content ${config_path} @"
|
Set-Content ${config_path} @"
|
||||||
|
[plugins.scheduler]
|
||||||
|
schedule_delay = '0s'
|
||||||
|
startup_delay = '0s'
|
||||||
[plugins.cri]
|
[plugins.cri]
|
||||||
sandbox_image = 'INFRA_CONTAINER_IMAGE'
|
sandbox_image = 'INFRA_CONTAINER_IMAGE'
|
||||||
|
[plugins.cri.containerd]
|
||||||
|
snapshotter = 'windows'
|
||||||
|
default_runtime_name = 'runhcs-wcow-process'
|
||||||
|
disable_snapshot_annotations = true
|
||||||
|
discard_unpacked_layers = true
|
||||||
[plugins.cri.cni]
|
[plugins.cri.cni]
|
||||||
bin_dir = 'CNI_BIN_DIR'
|
bin_dir = 'CNI_BIN_DIR'
|
||||||
conf_dir = 'CNI_CONF_DIR'
|
conf_dir = 'CNI_CONF_DIR'
|
||||||
|
Loading…
Reference in New Issue
Block a user