Problems with the Kubernetes special agent

Furthermore, it is funny that when I enter a static URL in CheckMK (with HTTP) instead of the host, I get the error message:

[agent] Version: 2.0.0p21, OS: linux, [special_kubernetes] Agent exited with code 1: (400)

With HTTPS i get:
[agent] Version: 2.0.0p21, OS: linux, [special_kubernetes] Agent exited with code 1: (404)

Edit:

When I change the URL to “https://192.168.x.x:6443/api/” in the CheckMK config, I get a 403 error:

Agent exited with code 1: (403)
Reason: Forbidden
HTTP response headers: HTTPHeaderDict({'Audit-Id': 'f78941a3-b039-4036-b181-db0599c824e4', 'Cache-Control': 'no-cache, private', 'Content-Type': 'application/json', 'X-Content-Type-Options': 'nosniff', 'X-Kubernetes-Pf-Flowschema-Uid': 'a675563a-23a7-4108-8990-ccfa2a5c51cb', 'X-Kubernetes-Pf-Prioritylevel-Uid': '7458550b-fa57-48c4-b9a5-365d3b25f1de', 'Date': 'Mon, 02 May 2022 07:54:45 GMT', 'Content-Length': '321'})
HTTP response body: {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"apis \"storage.k8s.io\" is forbidden: User \"system:serviceaccount:check-mk:check-mk\" cannot get resource \"apis/v1\" in API group \"\" at the cluster scope","reason":"Forbidden","details":{"name":"storage.k8s.io","kind":"apis"},"code":403}