Sync Talos bootstrap manifests after a kubernetesVersion bump
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 42/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- go, helm, kubernetes
- 領域
- devops, infrastructure
調査の方向性
Start by reading the linked Talos manifest_apply.go section and the upgrade-k8s entry in docs/operations/talosctl-commands.md; compare those with how talm renders kubernetesVersion from Chart.yaml. The issue leaves the command design open, so settle how to sync the rendered kube-proxy and CoreDNS manifests without making machine configs drift or depending on nodes becoming Ready. Done means the manifests track the project version and the command documentation is updated.
索引モデルが issue の本文から書いたものです。
説明
I'd like talm to update the Kubernetes bootstrap manifests (kube-proxy and CoreDNS) after a Kubernetes version bump. Today a version bump through talm moves the control plane and kubelet, but these two keep the images they got at bootstrap.
The node side already works. I bumped kubernetesVersion in Chart.yaml and ran talm apply one node at a time, and a 3-node Talos 1.13.6 cluster went from 1.35.9 to 1.36.5 with no reboot. Static pods and kubelet all came up on the new version.
The manifests are left behind because Talos applies them only once. After bootstrap, the manifest controller skips any object that is already in its inventory or already exists in the cluster (manifest_apply.go at v1.13.6). The step that updates them lives in talosctl upgrade-k8s. talm does not wrap that command, and the docs call it out of scope because talm configures machines and not the control plane. With kubernetesVersion in Chart.yaml, talm does set the control plane version, so this is the one part of the upgrade with no talm path.
Two things drift as a result. The kube-proxy DaemonSet keeps its bootstrap image on clusters where kube-proxy is enabled. CoreDNS keeps its bootstrap image even after a Talos upgrade changes the default: DefaultCoreDNSVersion is v1.14.2 in v1.13.6 and v1.14.7 on release-1.13.
Running plain talosctl upgrade-k8s next to a talm project is not a good workaround. It patches the machine configs on the nodes directly while Chart.yaml keeps the old version, so the next talm apply renders the old images again. On a cluster without a CNI it also fails at the kubelet step, because it waits for the node to become Ready.
A command that syncs the bootstrap manifests to what the project renders would close this. It could wrap only the manifest part of upgrade-k8s, or be a talm upgrade-k8s that takes --to from Chart.yaml. The upgrade-k8s row in docs/operations/talosctl-commands.md would change with it.
- 主要言語
- Go
- スター
- 493
- フォーク
- 23
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
cozystack/talm のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
難易度 2/5 1時間未満 初心者へのやさしさ 70/100
-
area/apply area/commands area/upgrade kind/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
Correct local module testing instructions for Go sample contributors対応中かも @slievrly が今日担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
-
internal/core: cleanAttachmentName splits a rune at the 255-byte cap and stores invalid UTF-8対応中かも @pacwestnobody が今日担当しました。 オープンgo good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
Podiom/Podiom#427 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
TestLaunchGolden spends about 98 seconds on fake-agent exit delays under -race対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
factory:subtask
難易度 1/5 1時間未満 初心者へのやさしさ 95/100
メンテナーはふだん 1 日以内に返信