Error there is no need to specify a resource type as a separate argument when passing arguments in resource name form

0 votes
Can anyone help me pls solving an error in k8s?

kubectl get svc —role-arn arn:aws:sts::736087:assumed-role/pod-eks-node-group/i-0f34048c88f
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>'

Can't connect worker nodes please help!
Oct 6, 2020 in Kubernetes by anonymous
• 19,610 points
15,398 views

1 answer to this question.

0 votes

Hi,

You don't need to pass any argument in your command. Just run the below command.

$ kubectl get svc

It will show all the services available on that namespace.

answered Oct 6, 2020 by MD
• 95,460 points

Related Questions In Kubernetes

+1 vote
1 answer
0 votes
3 answers

Error while joining cluster with node

Hi Kalgi after following above steps it ...READ MORE

answered Jan 17, 2019 in Others by anonymous
15,474 views
0 votes
1 answer

permissions related to AWS ECR

if you add allowContainerRegistry: true, kops will add those permissions ...READ MORE

answered Oct 9, 2018 in Kubernetes by Kalgi
• 52,350 points
1,396 views
0 votes
1 answer
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP