Skip to content

Commit

Permalink
Merge pull request #2559 from AkihiroSuda/fedora35
Browse files Browse the repository at this point in the history
CI: update Fedora to 35
  • Loading branch information
k8s-ci-robot committed Dec 16, 2021
2 parents 50c4dce + ab38ef8 commit c88b8ec
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 3 additions & 3 deletions hack/ci/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@

# Vagrant box for testing kind with cgroup v2
Vagrant.configure("2") do |config|
# `config.vm.box = "fedora/34-cloud-base"` seems flaky,
# `config.vm.box = "fedora/35-cloud-base"` seems flaky,
# so we specify the URL explicitly.
# Mirrors can be found at here: https://admin.fedoraproject.org/mirrormanager/mirrors/Fedora/34/x86_64
# Mirrors can be found at here: https://admin.fedoraproject.org/mirrormanager/mirrors/Fedora/35/x86_64
config.vm.box = "dummy"
config.vm.box_url = "https://iad.mirror.rackspace.com/fedora/releases/34/Cloud/x86_64/images/Fedora-Cloud-Base-Vagrant-34-1.2.x86_64.vagrant-virtualbox.box"
config.vm.box_url = "https://iad.mirror.rackspace.com/fedora/releases/35/Cloud/x86_64/images/Fedora-Cloud-Base-Vagrant-35-1.2.x86_64.vagrant-virtualbox.box"
memory = 2048
cpus = 2
config.vm.provider :virtualbox do |v|
Expand Down
4 changes: 4 additions & 0 deletions pkg/cluster/internal/kubeadm/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -448,6 +448,10 @@ func Config(data ConfigData) (config string, err error) {
return "", errors.Errorf("version %q is not compatible with rootless provider (hint: kind v0.11.x may work with this version)", ver)
}
data.FeatureGates["KubeletInUserNamespace"] = true

// For avoiding err="failed to get rootfs info: failed to get device for dir \"/var/lib/kubelet\": could not find device with major: 0, minor: 41 in cached partitions map"
// https://github.com/kubernetes-sigs/kind/issues/2524
data.FeatureGates["LocalStorageCapacityIsolation"] = false
}

// assume the latest API version, then fallback if the k8s version is too low
Expand Down

0 comments on commit c88b8ec

Please sign in to comment.