k3s/pkg/cluster
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
..
managed Move etcd snapshot management CLI to request/response 2024-04-09 15:21:26 -07:00
address_controller.go Add RWMutex to address controller 2023-08-29 20:52:37 -07:00
bootstrap.go Skip initial datastore reconcile during cluster-reset 2023-11-15 14:31:44 -08:00
bootstrap_test.go Store extra metadata and cluster ID for snapshots 2023-10-12 15:04:45 -07:00
cluster.go Improve etcd load-balancer startup behavior 2024-04-09 15:36:33 -07:00
encrypt.go Add server token hash to CR and S3 2023-10-12 15:04:45 -07:00
etcd.go [master] changing package to k3s-io (#4846) 2022-03-02 15:47:27 -08:00
https.go Refactor supervisor listener startup and add metrics 2024-05-31 09:16:55 -07:00
managed.go Fix issue with k3s-etcd informers not starting 2024-05-31 09:16:55 -07:00
router.go Remove unnecessary copies of runtime struct 2022-02-28 12:05:16 -08:00
storage.go Add tls for kine 2024-03-28 11:12:07 -03:00