k3s/pkg/cli/cmds
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
..
agent.go Refactor supervisor listener startup and add metrics 2024-05-31 09:16:55 -07:00
certs.go Add supervisor cert/key to rotate list 2024-04-05 10:59:17 -07:00
check-config.go Revert "Add config file support" 2020-08-29 21:44:07 -07:00
completion.go Ensure flag type consistency (#6852) 2023-01-31 12:57:48 -08:00
config.go Ensure flag type consistency (#6852) 2023-01-31 12:57:48 -08:00
const_linux.go Update golangci-lint to 1.45.2 2022-04-13 14:48:42 -07:00
const_windows.go Bump golang to 1.18.1 2022-05-11 14:39:07 -07:00
cover_default.go Test Coverage Reports for E2E tests (#7526) 2023-06-05 14:15:17 -07:00
cover_linux.go Test Coverage Reports for E2E tests (#7526) 2023-06-05 14:15:17 -07:00
crictl.go Revert "Add config file support" 2020-08-29 21:44:07 -07:00
ctr.go Revert "Add config file support" 2020-08-29 21:44:07 -07:00
etcd_snapshot.go Move etcd snapshot management CLI to request/response 2024-04-09 15:21:26 -07:00
golang.go Add runtime checking of golang version 2024-01-04 17:22:46 -08:00
init_default.go Bump golang to 1.18.1 2022-05-11 14:39:07 -07:00
init_linux.go Update golangci-lint to 1.45.2 2022-04-13 14:48:42 -07:00
kubectl.go Revert "Add config file support" 2020-08-29 21:44:07 -07:00
log.go Update Kubernetes to v1.29.0+k3s1 (#9052) 2023-12-19 05:14:02 +02:00
log_default.go Bump golang to 1.18.1 2022-05-11 14:39:07 -07:00
log_linux.go Add proctitle package with linux and windows constraints 2024-05-31 09:16:55 -07:00
nostage.go Bump golang to 1.18.1 2022-05-11 14:39:07 -07:00
root.go Ensure flag type consistency (#6852) 2023-01-31 12:57:48 -08:00
secrets_encrypt.go Readd `k3s secrets-encrypt rotate-keys` with correct support for KMSv2 GA (#9340) 2024-02-09 11:37:37 -08:00
server.go Refactor supervisor listener startup and add metrics 2024-05-31 09:16:55 -07:00
stage.go Added runtime classes for crun/wasm/nvidia 2023-12-08 15:49:28 -03:00
token.go Server Token Rotation (#8265) 2023-10-09 10:58:49 -07:00