question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Auto-completion does not work with Kubernetes YAML files

See original GitHub issue

Settings:

{
    "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: image

Expected result: image

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:3
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
vishal-hegdecommented, Mar 31, 2020

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?

0reactions
JPinkneycommented, Apr 3, 2020

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found