4444 # E: Packages were downgraded and -y was used without --allow-downgrades.
4545
4646 sudo apt-get install -y --allow-downgrades \
47- "cri-o=${CRIO_VERSION}.*" \
47+ "cri-o=${CRIO_VERSION}.*" "cri-tools=${CRIO_VERSION}.*" \
4848 "kubelet=${KUBERNETES_VERSION}.*" "kubeadm=${KUBERNETES_VERSION}.*" "kubectl=${KUBERNETES_VERSION}.*" \
4949 conntrack
5050
@@ -61,13 +61,12 @@ runs:
6161 sudo systemctl daemon-reload
6262 sudo systemctl start crio.service
6363 env :
64- # TODO(jdanek): install also "cri-tools=${CRIO_VERSION}.*" when updating to 1.33
65- CRIO_VERSION : 1.32
64+ CRIO_VERSION : 1.34
6665 # This has to be kept in sync with the packages above, otherwise
6766 # [ERROR KubeletVersion]: the kubelet version is higher than the control plane version.
6867 # This is not a supported version skew and may lead to a malfunctional cluster.
6968 # Kubelet version: "1.33.0" Control plane version: "1.30.12"
70- KUBERNETES_VERSION : 1.33
69+ KUBERNETES_VERSION : 1.34
7170 # Also update version in kubeadm.yaml
7271
7372 - run : sudo crictl info
@@ -158,8 +157,17 @@ runs:
158157 shell : bash
159158 run : |
160159 set -Eeuxo pipefail
161- kubectl apply -f https://raw.githubusercontent.com/rancher/local-path-provisioner/v0.0.31/deploy/local-path-storage.yaml
162- kubectl wait deployments --all --namespace=local-path-storage --for=condition=Available --timeout=100s
160+ # InspectFailed Failed to inspect image "": rpc error: code = Unknown desc = short name mode is enforcing, but image name rancher/local-path-provisioner:v0.0.31 returns ambiguous list
161+ (curl -fsSL https://raw.githubusercontent.com/rancher/local-path-provisioner/v0.0.32/deploy/local-path-storage.yaml |
162+ sed 's|image: rancher/local-path-provisioner|image: docker.io/rancher/local-path-provisioner|g' |
163+ kubectl apply -f -
164+ )
165+ kubectl wait deployments --all --namespace=local-path-storage --for=condition=Available --timeout=100s || (
166+ kubectl describe deployments --namespace=local-path-storage
167+ kubectl --namespace=local-path-storage get events --sort-by='.lastTimestamp'
168+ kubectl --namespace=local-path-storage describe pods
169+ false
170+ )
163171 # https://kubernetes.io/docs/tasks/administer-cluster/change-default-storage-class/
164172 kubectl get storageclass
165173 kubectl patch storageclass local-path -p '{"metadata": {"annotations":{"storageclass.kubernetes.io/is-default-class":"true"}}}'
0 commit comments