[ 
https://issues.apache.org/jira/browse/YUNIKORN-94?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17084868#comment-17084868
 ] 

Kinga Marton commented on YUNIKORN-94:
--------------------------------------

Below you can find some example of errors:

 
{code:bash}
kubectl create -f ./volume/ebs-pv.yaml 
error: error validating "./volume/ebs-pv.yaml": error validating data: 
ValidationError(PersistentVolume.spec): unknown field "awsElasticblockStore" in 
io.k8s.api.core.v1.PersistentVolumeSpec; if you choose to ignore these errors, 
turn validation off with --validate=false
{code}

{code:bash}
kubectl create -f ./volume/storage-class.yaml 
Error from server (BadRequest): error when creating 
"./volume/storage-class.yaml": StorageClass in version "v1" cannot be handled 
as a StorageClass: v1.StorageClass.ObjectMeta: v1.ObjectMeta.Annotations: 
ReadString: expects " or n, but found t, error found in #10 byte of 
...|t-class":true},"name|..., bigger context 
...|":{"storageclass.kubernetes.io/is-default-class":true},"name":"myEBS"},"mountOptions":["debug"],"par|...
{code}
 

> Fix validation errors in the examples
> -------------------------------------
>
>                 Key: YUNIKORN-94
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-94
>             Project: Apache YuniKorn
>          Issue Type: Bug
>            Reporter: Kinga Marton
>            Assignee: Kinga Marton
>            Priority: Major
>
> I tried to run some examples and for some of them I got validation error. 
> Let's check all of them and fix them.
> My kubernetes version is 1.15.5
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to