Stay organized with collections Save and categorize content based on your preferences.
By default, Skaffold automatically detects your target cluster's architecture and builds an image that matches your workstation's architecture, even if your target cluster's architecture is mixed (both x86 and Arm).
You also have the option to add a parameter in your skaffold.yaml
file that specifies what platform to build for, which overrides Skaffold's automatic detection.
If you want to override Skaffold's automatic detection when building your image, you can specify the platform that you want to build images for in your skaffold.yaml
file.
The following list shows the possible values for the --platform
flag in your CLI, or the platforms
parameter in your skaffold.yaml
file:
amd64
aarch64
linux/amd64
linux/aarch64
Add the platforms parameter to your skaffold.yaml file
To specify the platform you want to build your image for, add the platforms
parameter to your skaffold.yaml
file:
build:
platforms: ["linux/aarch64"]
artifacts:
- image: example
To learn more about Cloud Code's support for Arm and mixed-architecture GKE clusters, see Arm support.
Get SupportTo send feedback, report issues on
GitHub, or ask a question on
Stack Overflow.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-07 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["Skaffold automatically detects the target cluster's architecture and builds a matching image, even in mixed-architecture environments."],["You can override Skaffold's automatic detection by specifying the desired platform using the `platforms` parameter in your `skaffold.yaml` file."],["The `platforms` parameter in `skaffold.yaml` or the `--platform` flag in the CLI can use values like `amd64`, `linux/amd64`, `aarch64`, or `linux/aarch64`."],["To specify the platform, add a `platforms` section to your `skaffold.yaml` file under the `build` section, with an array of desired values, such as `platforms: [\"linux/aarch64\"]`."]]],[]]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4