Deploy your applications to aarch64, AMD64, or mixed-architecture GKE clusters
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 an
environment variable in your IDE or a parameter in your
skaffold.yaml file that specifies what platform to build for, which overrides
Skaffold's automatic detection.
Specify the platform to build images for
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
the following ways:
The following list shows the possible values for the
SKAFFOLD_PLATFORM environment variable in
your IDE's Environment variables field. You can also use these values for
the --platform flag in your CLI, or the platforms parameter in
your skaffold.yaml file:
x86
Arm
amd64
aarch64
linux/amd64
linux/aarch64
Add environment variables to your IDE's configurations
To add environment variables to Cloud Code's configurations,
follow these steps:
In your IDE, click Run > Edit Configurations.
In the Run tab, under the Advanced Settings snippet, enter your
environment variable in the Environment variables field.
For example: SKAFFOLD_PLATFORM=linux/aarch64
This overrides Skaffold's automatic detection and builds the image type that
you specified. Your skaffold.yaml file remains unchanged.
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:
To learn more about Cloud Code's support for Arm and
mixed-architecture GKE clusters, see
Arm support.
Get support
To submit feedback or report an issue in your IntelliJ IDE, go to
Tools > Cloud Code > Help / About > Submit
feedback or report an issue to report an issue on GitHub.
[[["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."],[[["\u003cp\u003eSkaffold automatically detects the target cluster's architecture and builds a matching image, even in mixed-architecture environments.\u003c/p\u003e\n"],["\u003cp\u003eYou can override Skaffold's automatic architecture detection by using the \u003ccode\u003eSKAFFOLD_PLATFORM\u003c/code\u003e environment variable in your IDE configurations.\u003c/p\u003e\n"],["\u003cp\u003eAlternatively, you can specify the build platform directly in your \u003ccode\u003eskaffold.yaml\u003c/code\u003e file using the \u003ccode\u003eplatforms\u003c/code\u003e parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSKAFFOLD_PLATFORM\u003c/code\u003e environment variable, \u003ccode\u003e--platform\u003c/code\u003e flag, or \u003ccode\u003eplatforms\u003c/code\u003e parameter can be set to values like \u003ccode\u003eamd64\u003c/code\u003e, \u003ccode\u003elinux/amd64\u003c/code\u003e, \u003ccode\u003eaarch64\u003c/code\u003e, or \u003ccode\u003elinux/aarch64\u003c/code\u003e to define the desired architecture.\u003c/p\u003e\n"]]],[],null,[]]