k3s/pkg/agent
Brad Davidson 7ef30a2c60 Refactor supervisor listener startup and add metrics
* Refactor agent supervisor listener startup and authn/authz to use upstream
  auth delegators to perform for SubjectAccessReview for access to
  metrics.
* Convert spegel and pprof handlers over to new structure.
* Promote bind-address to agent flag to allow setting supervisor bind
  address for both agent and server.
* Promote enable-pprof to agent flag to allow profiling agents. Access
  to the pprof endpoint now requires client cert auth, similar to the
  spegel registry api endpoint.
* Add prometheus metrics handler.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit ff679fb3ab)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2024-05-31 09:16:55 -07:00
..
config Refactor supervisor listener startup and add metrics 2024-05-31 09:16:55 -07:00
containerd Switch stargz over to cri registry config_path 2024-05-31 09:16:55 -07:00
cri Wait for cri-dockerd socket (#6812) 2023-01-27 13:16:59 -08:00
cridockerd Use fixed stream server bind address for cri-dockerd 2024-05-31 09:16:55 -07:00
flannel Use TrafficManager interface when calling flannel 2024-05-28 07:58:19 +00:00
https Refactor supervisor listener startup and add metrics 2024-05-31 09:16:55 -07:00
loadbalancer Add health-check support to loadbalancer 2024-03-27 16:50:27 -07:00
netpol Refactor supervisor listener startup and add metrics 2024-05-31 09:16:55 -07:00
proxy Add health-check support to loadbalancer 2024-03-27 16:50:27 -07:00
syssetup Preload iptable_filter/ip6table_filter 2022-12-13 12:51:00 -08:00
templates Switch stargz over to cri registry config_path 2024-05-31 09:16:55 -07:00
tunnel Add health-check support to loadbalancer 2024-03-27 16:50:27 -07:00
util windows changes 2024-05-16 14:55:16 -07:00
run.go Refactor supervisor listener startup and add metrics 2024-05-31 09:16:55 -07:00
run_linux.go Added runtime classes for crun/wasm/nvidia 2023-12-08 15:49:28 -03:00
run_test.go Transition from deprecated pointer library to ptr (#9801) 2024-03-28 10:07:02 -07:00
run_windows.go Add --image-service-endpoint flag (#8279) 2023-09-27 13:20:50 -07:00