vscode 中编辑K8S的YAML文件,如何打开提示信息

  王老吉   2023-07-21 15:08:42  0  143  
关注 喜欢 鲜花 收藏 评论

Fix This Problem On The Vscode Step by Step


Step 1 : install yaml plugin on the vscode
Step 2 : Edit this path vscode file>prefrences>settings>Extention>YAML
Step 3 : After Click Yaml on the right side find and edit YAML: Custom Tag Edit in setings.json
Step 4 : Append This lines in File Settings.json

"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.22.4-standalone-strict/all.json": ["/*.yaml","/*.yml"]

Step 5 : Final Reload vscode You can use Ctrl+Shift+p and search Reload Window On The Vscode

 

 

【原文地址:https://stackoverflow.com/questions/68811153/yaml-support-for-kubernetes-in-vscode】


评论
请先登录后再发布评论
全部评论