I am trying to use kubectl's raw api on a node:
$ kubectl get --raw "/api/v1/nodes/ip-10-55-216-130.us-gov-west-1.compute.internal"
Error from server (NotFound): nodes "ip-10-55-216-130.us-gov-west-1.compute.internal" not found
But the node does exist:
$ kubectl get node ip-10-55-216-130.us-gov-west-1.compute.internal
NAME STATUS ROLES AGE VERSION
ip-10-55-216-130.us-gov-west-1.compute.internal Ready <none> 38m v1.24.17-eks-ae9a62a
What's going on here? Do I need to encode the node name somehow?