![]() Navigation using gutter icons, find usages, and renamingĮnhancements of the original Kubernetes modelĮnums instead of plain strings where applicable Predefined templates for common configuration kinds: Invalid, missing, and duplicated properties Non-editable (read-only) keys and resources The Kubernetes plugin provides rich support for resource configuration files in YAML, and only basic support for the JSON format. In the Settings dialog ( Control+Alt+S), select Languages & Frameworks | Kubernetes.Ĭhange the Kubernetes API version and Kustomize version options as necessary. However, if your resources use an earlier version, you can change it. By default, GoLand sets it to the latest version. The Kubernetes plugin supports Kubernetes versions 1.6 to 1.26. These depend on the version of the API you are using. GoLand provides completion for configuration key values, navigation to relevant selectors and definitions via gutter icons, specialized inspections that check for deprecated values and required keys, and other assistance features. When you add a file, GoLand validates its syntax and reports errors, if any. To use it only in the current project, keep the Project scope. If you want to use the configuration file in all projects, select Global in the Scope column. Under Configuration, click and specify the path to a kubeconfig file. You can either apply it globally or use a different file for each project. You can use a different configuration file. GoLand detects the default kubeconfig file. Use custom Kubernetes configuration files In the Path to helm executable field, specify the path to the helm executable file. In the Path to kubectl executable field, specify the path to the kubectl executable file. In the Settings dialog ( Control+Alt+S), select Build, Execution, Deployment | Kubernetes. If you install Kubernetes or Helm in custom directories, you can manually specify the path to them. GoLand uses the default kubectl (and helm if you use it) executables as determined by the PATH environment variable. Specify a custom path to kubectl and helm Open the Marketplace tab, find the Kubernetes plugin, and click Install (restart the IDE if prompted). Press Control+Alt+S to open the IDE settings and then select Plugins. This functionality relies on the Kubernetes plugin, which you need to install and enable. The Kubernetes plugin supports Kubernetes versions 1.6 to 1.26 (you can select the applicable version). Interaction with the cluster from GoLand: use the Services tool window to see all resources of the Kubernetes cluster in the current context, jump to relevant resource definitions, view logs for containers running on pods, and much more. The list of related Kustomize files appears in the editor at the top of the open Kustomize patch. Validation of custom resources with custom resource definition (CRD) specifications.Ĭoding assistance for Kustomize files: field and local file path completion, quick documentation, and navigation between Kustomize files and patches. Install and enable the Kubernetes plugin for GoLand to add the following features for managing your Kubernetes cluster:Ĭoding assistance for Kubernetes resource configuration files.Ĭoding assistance for Helm charts and templates. Kubernetes is a container orchestration engine for the deployment, scaling, and management of containerized applications.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |