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 in Kubernetes by anonymous
• 19,570 points
301 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 by MD
• 79,930 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
9,160 views
+4 votes
1 answer

Installing Web UI (Dashboard):kubernetes-dashboard on main Ubuntu 16.04.6 LTS (Xenial Xerus) server

Follow these steps: $ kubeadm reset $ kubeadm init ...READ MORE

answered Apr 11, 2019 in Kubernetes by Kalgi
• 51,970 points

reshown Apr 12, 2019 by Kalgi 2,789 views