k3s/pkg/cli/cmds
Brad Davidson ffe72eecc4 Address issues with etcd snapshots
* Increase the default snapshot timeout. The timeout is not currently
  configurable from Rancher, and larger clusters are frequently seeing
  uploads fail at 30 seconds.
* Enable compression for scheduled snapshots if enabled on the
  command-line. The CLI flag was not being passed into the etcd config.
* Only set the S3 content-type to application/zip if the file is zipped.
* Don't run more than one snapshot at once, to prevent misconfigured
  etcd snapshot cron schedules from stacking up.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2022-07-12 14:41:38 -07:00
..
agent.go Add FlannelConfCNI flag 2022-06-08 11:03:17 +02:00
certs.go [master] changing package to k3s-io (#4846) 2022-03-02 15:47:27 -08:00
check-config.go Revert "Add config file support" 2020-08-29 21:44:07 -07:00
completion.go Add new k3s completion command for shell completion (#5461) 2022-04-29 12:53:34 -07:00
config.go [master] changing package to k3s-io (#4846) 2022-03-02 15:47:27 -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
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 Address issues with etcd snapshots 2022-07-12 14:41:38 -07: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_default.go Bump golang to 1.18.1 2022-05-11 14:39:07 -07:00
log_linux.go [master] changing package to k3s-io (#4846) 2022-03-02 15:47:27 -08:00
log.go Enable logging on all subcommands (#4921) 2022-01-12 14:00:40 -08:00
nostage.go Bump golang to 1.18.1 2022-05-11 14:39:07 -07:00
root.go [master] changing package to k3s-io (#4846) 2022-03-02 15:47:27 -08:00
secrets_encrypt.go [master] changing package to k3s-io (#4846) 2022-03-02 15:47:27 -08:00
server.go Address issues with etcd snapshots 2022-07-12 14:41:38 -07:00
stage.go Update golangci-lint to 1.45.2 2022-04-13 14:48:42 -07:00