Kubeyaml.com - An online kubernetes yaml validator

Hey everyone,

I launched an online kubernetes yaml validator and would love some feedback.

Give it a whirl: https://kubeyaml.com

If you find this useful or have ideas I’d love to hear about your experience. If you find bugs or something weird, send me the YAML and I will look into it. Contact details on the page!

This is a side project so it really only gets updated on weekends and after working-hours (6:00pm eastern).

No data of any kind is stored on the server.

Thank you!

5 Likes

It seems you have the same problem I do

This service is not valid but your app does not cant tell its invalidity

apiVersion: v1
kind: Service
metadata:
  annotations:
    service.beta.kubernetes.io/azure-load-balancer-internal: 'true'
  name: test
  namespace: tester
spec:
  ports:
  - name: http
    port: 80
    protocol: TCP
    targetPort: 5000
  selector:
    app: tes
  sessionAffinity: None
  type: Airflow
1 Like

Thanks for the feedback :tada: ! I have a few YAMLs that are invalid but validating…so I definitely have a little work to do :bug:

The problem here is the data is invalid, not the YAML structure or schema itself. This service doesn’t do data validations in that way, you’re better off using kubectl apply -f for data validations.

Site seems to be down. I really enjoyed using this tool!

Oh!!

Give me < 24 hours to get it back up :slight_smile:

@nitrag :smiley: back online!

1 Like

@chuckha Thanks it worked when you last fixed it. However, now it is throwing 500 errors on validate.

2 Likes

oh, thanks for the ping! I’ll take a look later today

1 Like

Fixed and updated for k8s 1.17/1.16/1.15! Thanks again for the ping and letting me know you’re enjoying it :smiley:

1 Like

Any chance on making this work for v1.18?

1 Like

done and done my friend, thanks for validating your yaml!

@chuckha kubeyaml.com is not validating YAML if it has tabs used for indentation.
Because YAML does accept tabs for indentations, it used spaces.
Just wanted to heads up that someone can update the app to include tabs validation

Hi, I tried your validator with my a yaml that was giving me trouble, and it said it was valid.

I found my problem was that I was missing a tag in my deployment environment variables:

containers:
     env: 
     - name: MY_ENV
       valueFrom:
         **secretKeyRef:**   <- missing line
           name: mysecret
           key: pin

Hope it helps

The page is down.

Hi just wanted to update about a new open source website doing exactly this (and more) :

repo: