instrumenta / kubeval

Validate your Kubernetes configuration files, supports multiple Kubernetes versions
https://kubeval.com
Other
3.16k stars 229 forks source link

Connection reset by peer #351

Open MatteoGioioso opened 2 years ago

MatteoGioioso commented 2 years ago

I keep getting this error:

Failed initializing schema https://kubernetesjsonschema.dev/master-standalone/statefulset-apps-v1.json: read tcp xxxxxxxx->xxxxxxxx: read: connection reset by peer

and that link is no reachable, not sure if it is a temporary down or something

version: github.com/instrumenta/kubeval v0.16.1 go version: 1.18 OS: Ubuntu 20.04.1

yannh commented 2 years ago

I maintain this repo / fork of the JSON schemas: https://github.com/yannh/kubernetes-json-schema#kubeval Kubeval can retrieve the schemas straight from Github, which uses a CDN (see instructions in the Readme). In my experience this works better than netlify. It also help if you want to validate against newer versions of Kubernetes. I hope this helps!