I know this request may not be valid but It’s really not fair to lose 50% score because of not being patient. I’d appreciate if you let me do the task again or mark it done.
Unfortunately I did not wait for containers to be in running status and submitted the task.
I think there is no chance to do in second time without losing 50%. But don’t be focus on 50% score. At least you got what you did wrong and you’re going to improve it in the second attempt.
thor@jump_host /$ kubectl apply -f p.yml
error: error validating “p.yml”: error validating data: ValidationError(Pod.spec.volumes[0].persistentVolumeClaim): invalid type for io.k8s.api.core.v1.PersistentVolumeClaimVolumeSource: got “string”, expected “map”; if you choose to ignore these errors,turn validation off with --validate=false
thor@jump_host /$
here is my full yaml file. considering formatting is always crap with this platform.
@Tej-Singh-Rana@Devops dont worry already fixed it.
by the way for those who come across this task, there is a trick in the second point where
2. PersistentVolume is already created on jump_host.
so you have to make sure you force this volume to accept binding the pvc you create.