# [[Kubectl proxy using raw GET]] _Created: 2025-10-28_ | #kubernetes | [[Kubernetes]] If you want to just hit a GET endpoint on a pod or service without setting up a port-forward proxy, you can use `kubectl get --raw` to do it in one shot, by using the API server to setup the proxy for you. This is how you will hit the pod `grafana-0` in namespace `grafana` on port 3000 on the `/metrics` endpoint. ```bash $ kubectl get --raw "/api/v1/namespaces/grafana/pods/grafana-0:3000/proxy/metrics" # HELP alertmanager_cluster_alive_messages_total Total number of received alive messages. # TYPE alertmanager_cluster_alive_messages_total counter alertmanager_cluster_alive_messages_total{peer="01K8NECMMGSxxxxx"} 462 alertmanager_cluster_alive_messages_total{peer="01K8NEDQRBGxxxxx"} 462 ``` If you want to hit a service, it is similar. Just instead of the `pods` collection, you hit the `services` one. ```bash kubectl get --raw "/api/v1/namespaces/grafana/services/grafana-prod/proxy/metrics" ```