This is about the right to access to my pod with http: troubleshooting

Asking for help? Comment out what you need so we can get more information to help you!

Cluster information:

Kubernetes version:
kubectl version
Client Version: v1.29.0
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.28.3

hello this purpose is on kubernetes on my machine to training, using minikube and kubectl , on the tutorial of kubernetes site :slight_smile: DEPLOY AN APP :
Using kubectl to Create a Deployment.
When i try this ****curl http://localhost:8001/api/v1/namespaces/default/pods/$POD_NAME/****
i’ve got this "…

403 Forbidden


You don't have permission to access / on this server.

..." Can anybody tell me why and what to do ? So far the tutorial was good until this operation. Thank you very much

Kubernetes version:
Cloud being used: (put bare-metal if not on a public cloud) no
Installation method:
Host OS: linux debian bullseyes
CNI and version:
CRI and version:

You can format your yaml by highlighting it and pressing Ctrl-Shift-C, it will make your output easier to read.