Auto-completion does not work with Kubernetes YAML files
See original GitHub issueSettings:
{
"yaml.schemas": {
"kubernetes": "pod.yaml"
}
}
pod.yaml:
apiVersion: v1
kind: Pod
metadata:
name: azure-vote-back
spec:
containers:
- name: azure-vote-back
image: redis
imagePullPolicy: Always
ports:
- containerPort: 6379
name: redis
Result:
Expected result:
Issue Analytics
- State:
- Created 6 years ago
- Reactions:3
- Comments:7 (4 by maintainers)
Top Results From Across the Web
How to enable syntax auto-completion for Kubernetes ...
How to enable syntax auto-completion for Kubernetes manifest files in Red Hat's YAML plugin for VSCode · Install the plugin in VSCode from...
Read more >Yaml Support for Kubernetes in VSCode - Stack Overflow
I am trying to use VS code editor for creating kubernetes yaml files, by some reason, vscode is not showing ...
Read more >Boost your YAML with autocompletion and validation - Medium
What is this article about. In this article I would provide you step by step how to develop autocomletion and validation for YAML...
Read more >bash auto-completion on Linux | Kubernetes
The kubectl completion script for Bash can be generated with the command ... To enable bash autocompletion in current session of shell, run...
Read more >autocomplete and rename of kustomize yaml stopped working ...
run intellij 2020.1 · install kubenetes plugin · create kustomization.yaml · create config.yaml · add resources:\n - to kustomization.yaml and ctrl+space , expect ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Any update on this issue? I tried using “yaml.schemas”: { “kubernetes”:“https://github.com/instrumenta/kubernetes-json-schema/blob/master/master/deployment-apps-v1.json” } But still, the autocomplete doesn’t work. Is this a known issue?
Also, I’m going to close this as its not actually an issue with the code in this repository it is an issue with an external schema and thus should be reported in that repository.