need assistance on disk partition and talos, k8s version upgrade #12795
Replies: 6 comments 4 replies
-
|
I don't think a 10GB Ephemeral partition is going to be big enough to do an upgrade. Ephemeral is where all your container images are stored and each version of Talos + k8s is going to take at least a couple GB of container images. Do you have any logs showing why the k8s upgrade haulted? |
Beta Was this translation helpful? Give feedback.
-
|
talosctl -n 10.149.51.159 service kubelet |
Beta Was this translation helpful? Give feedback.
-
|
(Talos: Store-4959-CN-dev) root@adcphltadvtes03:~/my-cluster-infra# talosctl --nodes 10.149.51.169 upgrade-k8s --to 1.35.0
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
|
Can you please use github code formatting for the logs with three backticks (```). It's very difficult to follow any of the text without proper formatting. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for reporting, it will be fixed via #12797 and backported. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm setting up a cluster initially on talos v.11.5, k8s 1.34.1, later updating the talos and k8s to 1.12.2, 1.35.0 changed the wipe: false and rebooted the nodes before upgrade, I'm encountering two issues
disk partition:
install:
disk: /dev/vda
image: factory.talos.dev/installer/613e1592b2da41ae5e265e8789429f22e121aab91cb4deb6bc3c0b6262961245:v1.11.5
wipe: true #TRUE: Essential for applying new partition layouts on fresh install
sysctls:
vm.max_map_count: "262144"
KUBELET CONFIG
kubelet:
extraMounts:
- destination: /var/lib/longhorn
type: bind
source: /var/mnt/longhorn-data
options:
- bind
- rshared
- rw
1. Limit the System (Ephemeral) partition
apiVersion: v1alpha1
kind: VolumeConfig
name: EPHEMERAL
provisioning:
maxSize: 10GiB
2. Create the Persistent Partition
apiVersion: v1alpha1
kind: UserVolumeConfig
name: longhorn-data
provisioning:
diskSelector:
match: disk.dev_path == '/dev/vda'
minSize: 10GiB
Beta Was this translation helpful? Give feedback.
All reactions