-
Notifications
You must be signed in to change notification settings - Fork 23
feat: update default Talos image to v1.12.6 #115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
kvaps
wants to merge
1
commit into
main
Choose a base branch
from
feat/update-talos-v1.12.6
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+2
−2
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Repository: cozystack/talm
Length of output: 3389
🌐 Web query:
What are the differences between Talos Linux API version contracts for v1.11 and v1.12? Are there breaking changes in the machine configuration schema or API?💡 Result:
The primary differences in Talos Linux API version contracts between v1.11 and v1.12 center on the machine configuration schema, particularly networking and related configurations. There are breaking changes in how configurations are structured and applied, but legacy v1alpha1 configurations are largely supported with deprecations. Key differences and breaking changes in machine configuration schema: - Network configuration: Major restructuring to "multi-doc" format in v1.12. The monolithic .machine.network section (except KubeSpan) is deprecated. Replaced by separate documents: - HostnameConfig (replaces .machine.network.hostname) - LinkConfig, LinkAliasConfig, EthernetConfig, BondConfig, BridgeConfig, DHCPv4Config, DHCPv6Config, VLANConfig, WireGuardConfig (replace .machine.network.interfaces) - ResolverConfig (replaces .machine.network.nameservers, searchDomains, disableSearchDomain) These new documents allow granular, runtime-applicable configs (even in maintenance mode) and embedding in boot images. Old .machine.network is deprecated but supported. - CRI registries: .machine.registries in v1alpha1 is deprecated; replaced by RegistryMirrorConfig, RegistryAuthConfig, RegistryTLSConfig documents. - Deprecations/ignored fields: v1.12 ignores and locks: - machine.features.rbac (true) - machine.features.apidCheckExtKeyUsage (true) - cluster.apiServer.disablePodSecurityPolicy (true) These fields are removed from default schema. - New fields/options: - UserVolumeConfig.volumeType: 'directory' (lightweight host dir volumes, skips provisioning). - Disk encryption: options.pcrs for TPM PCR selection. - .machine.install.grubUseUKICmdline: controls GRUB cmdline source (defaults false on upgrade). - EthernetConfig.wakeOnLAN support. - OOMConfig document for userspace OOM handler. No explicit breaking changes found in the gRPC management API (e.g., protobuf contracts for talosctl operations like upgrade, apply-config). Changes are additive/deprecated in config schema, handled transparently on upgrade. Patching legacy configs may require v1.12 talosctl and new document formats (e.g., HostnameConfig with auto: off). Upgrades from v1.11 to v1.12 preserve legacy behavior where possible (e.g., grubUseUKICmdline=false). Use talosctl gen config with --talos-version v1.11 for reproducible configs, then patch. v1.11 introduces Kubernetes version validation on config apply, new volume types (SwapVolumeConfig, RawVolumeConfig), but no major schema breaks from prior.
Citations:
🌐 Web query:
Talos Linux v1.12 Kubernetes 1.34 compatibility support requirements💡 Result:
Talos Linux v1.12 supports Kubernetes 1.34 and provides compatibility for it, as evidenced by development commits updating to Kubernetes 1.34.0 and 1.34.1 during the v1.12 release cycle. The default Kubernetes version for Talos v1.12 is 1.35.0, with images like registry.k8s.io/kube-apiserver:v1.35.0 bundled in releases such as v1.12.2. Talos enforces Kubernetes version compatibility through machine configuration validation, introduced in v1.11 and continued in v1.12. Users can specify custom Kubernetes versions via the machine config .cluster.kubernetesVersion field or component image overrides (e.g., talosctl gen config ... --kubernetes-version 1.34.x), subject to Talos' compatibility checks. Prior support matrices (e.g., v1.11 supports 1.34-1.29) indicate typically 6 minor versions, so v1.12 likely supports 1.35 down to 1.30, including 1.34. No explicit list for v1.12 found, but 1.34 is confirmed compatible via upgrade paths and commits.
Citations:
Verify understanding of schema changes in talosVersion upgrade from v1.11 to v1.12.
The version bump introduces documented schema changes in Talos, particularly:
.machine.network)However, Talos v1.12 preserves backward compatibility with v1.11 configurations—legacy configs are supported with deprecations, and upgrade paths maintain existing behavior where possible. Kubernetes v1.34.3 is compatible with Talos v1.12.
Recommendation: Review the Talos v1.12 release notes to understand the configuration changes and verify any custom machine configs are compatible with the new schema structure, but no immediate migration is required.
🤖 Prompt for AI Agents