Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In working through homework for class one for resources I ran into a syntax error #2

Closed
yazug opened this issue Apr 7, 2020 · 0 comments

Comments

@yazug
Copy link

yazug commented Apr 7, 2020

Describe the pod

PODNAME=$(kubectl get pod  -l app=myboot -o name)
kubectl describe pod $PODNAME
$ kubectl describe pod $PODNAME
error: there is no need to specify a resource type as a separate argument when passing arguments in resource/name form (e.g. 'kubectl get resource/<resource_name>' instead of 'kubectl get resource resource/<resource_name>'
$ echo $PODNAME
pod/myboot-66d7d57687-qwnnf

$ kubectl describe $PODNAME
Name:         myboot-66d7d57687-qwnnf                                                                                  
Namespace:    myspace                                                                                                                                                                                                                         
Priority:     0
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant