Open lakshmantgld opened 7 years ago
Can you post the the detail of error?
@junjun16818 is there any example for create pod via the api or in the test ?
@shenshouer I changed the manifest to JSON and it worked.
@lakshmantgld do you have any example of how you configured your client? the me returns an error when I run a get in the pods pod:the server doesn't have the resource type "pods", and also to a get in the nodes nod:pod:the server doesn't have the resource type "pods". I've tried various forms
Thank you for your hard work. I have a question related to creating a pod using KubeAPI.
I am trying to create a pod using the following snippet:
I get a ReferenceError in Yaml. But the yaml syntax is ok, I have verified with an online yamlLint. Only JSON is supported?
Can you provide an detailed example for creating a pod using the kubeApi?.