Validation of a yaml scheme using oc CLI before creating the objects

Solution In Progress - Updated -

Issue

  • When the object was created by oc create, the wrong scheme is ignored without meaning error messages. It leads unexpected results.
  • How to validate the yaml file scheme before creating for more clarification with oc CLI.

Environment

  • OpenShift Container Platform
    • 3.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.