44
44
# E: Packages were downgraded and -y was used without --allow-downgrades.
45
45
46
46
sudo apt-get install -y --allow-downgrades \
47
- "cri-o=${CRIO_VERSION}.*" \
47
+ "cri-o=${CRIO_VERSION}.*" "cri-tools=${CRIO_VERSION}.*" \
48
48
"kubelet=${KUBERNETES_VERSION}.*" "kubeadm=${KUBERNETES_VERSION}.*" "kubectl=${KUBERNETES_VERSION}.*" \
49
49
conntrack
50
50
@@ -61,13 +61,12 @@ runs:
61
61
sudo systemctl daemon-reload
62
62
sudo systemctl start crio.service
63
63
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
66
65
# This has to be kept in sync with the packages above, otherwise
67
66
# [ERROR KubeletVersion]: the kubelet version is higher than the control plane version.
68
67
# This is not a supported version skew and may lead to a malfunctional cluster.
69
68
# Kubelet version: "1.33.0" Control plane version: "1.30.12"
70
- KUBERNETES_VERSION : 1.33
69
+ KUBERNETES_VERSION : 1.34
71
70
# Also update version in kubeadm.yaml
72
71
73
72
- run : sudo crictl info
@@ -158,8 +157,17 @@ runs:
158
157
shell : bash
159
158
run : |
160
159
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
+ )
163
171
# https://kubernetes.io/docs/tasks/administer-cluster/change-default-storage-class/
164
172
kubectl get storageclass
165
173
kubectl patch storageclass local-path -p '{"metadata": {"annotations":{"storageclass.kubernetes.io/is-default-class":"true"}}}'
0 commit comments