Stay organized with collections Save and categorize content based on your preferences.
You can customize Cloud Code to enable cluster resource completion, enable YAML formatting and validation, display or hide explorers, collect telemetry, and customize your Kubeconfig path.
Specifying preferences using VS Code SettingsTo configure VS Code Settings, click settings Manage > Settings and then search for cloudcode
.
Configuring preferences this way lets you change the defaults that Cloud Code saved when you were first prompted for preferences. These settings include preferences for YAML formatting and completion, telemetry collection, the KubeConfig file path, wrapping style, and criteria for YAML file matching. Other Cloud Code settings are configurable using your settings.json
file.
A KubeConfig file is a file that Kubernetes uses to configure access to clusters. By default, Cloud Code uses the default KubeConfig file (located in the $HOME/.kube
directory) for retrieving Kubernetes resources and running commands.
To import an alternative KubeConfig file into Cloud Code, follow these steps:
Tip: If you've imported multiple KubeConfig files, you can easily switch between them by clicking sync_alt Switch KubeConfig and then selecting another KubeConfig file.
Removing a KubeConfigTo remove the KubeConfig file(s) that you've imported, open the command palette (press Ctrl
/Cmd
+Shift
+P
or click View > Command Palette), run the Remove KubeConfig from Kubernetes Explorer command, and then select the configs that you want to remove.
settings.json
Some advanced settings, like Cloud Code debugger customizations, are configured in the settings.json
file.
settings.json
file opens at the appropriate setting.cloudcode.debug-kubernetes
gives the options of SuppressGoWarning
, SuppressJavaWarning
, SuppressNETCoreWarning
, SuppressNodeJSWarning
, and SuppressPythonWarning
.SuppressNodeJSWarning
gives the options of true
and false
.To 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."],[[["Cloud Code preferences can be customized within VS Code Settings to manage YAML formatting, telemetry collection, KubeConfig path, and more."],["Cloud Code utilizes KubeConfig files to access Kubernetes clusters, with the default being `$HOME/.kube`, but alternative files can be imported."],["You can easily switch between multiple imported KubeConfig files using the \"Switch KubeConfig\" option within the Cloud Code Kubernetes section."],["The KubeConfig files you've imported can be removed through the command palette using the \"Remove KubeConfig from Kubernetes Explorer\" command."],["Advanced settings, such as Cloud Code debugger customizations, are configured directly within the `settings.json` file, offering detailed control over various functionalities."]]],[]]
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