Commit Graph

191 Commits (bd45aa5c45977725e58840bd81fea2d41b4c176a)

Author SHA1 Message Date
Brad Davidson 373df1c8b0 Add support for `k3s token` command
2 years ago
Brad Davidson 215fb157ff Add `certificate rotate-ca` to write updated CA certs to datastore
2 years ago
Manuel Buil 557fcd28d5 Change the priority of address types depending on flannel-external-ip
2 years ago
Brad Davidson 8d28a38a18 Update helm-controller to pull in refactor
2 years ago
Derek Nola 06d81cb936
Replace deprecated ioutil package (#6230)
2 years ago
Brad Davidson 0b96ca92bc Move servicelb into cloudprovider LoadBalancer interface
2 years ago
Brad Davidson a15e7e8b68 Move DisableServiceLB/Rootless/ServiceLBNamespace into config.Control
2 years ago
Vladimir Kochnev 13af0b1d88 Save agent token to /var/lib/rancher/k3s/server/agent-token
2 years ago
Brad Davidson 5eaa0a9422 Replace getLocalhostIP with Loopback helper method
2 years ago
Derek Nola a9b5a1933f
Delay service readiness until after startuphooks have finished (#5649)
2 years ago
Darren Shepherd e6009b1edf Introduce servicelb-namespace parameter
2 years ago
Brad Davidson ce5b9347c9 Replace DefaultProxyDialerFn dialer injection with EgressSelector support
3 years ago
Brad Davidson 3d01ca1309 Make supervisor errors parsable by Kubernetes client libs
3 years ago
Brad Davidson b12cd62935 Move IPv4/v6 selection into helpers
3 years ago
Brad Davidson 5b2c14b123 Print a helpful error when trying to join additional servers but etcd is not in use
3 years ago
Brad Davidson 99851b0f84 Use core constants for cert user/group values
3 years ago
Brad Davidson f37e7565b8 Move the apiserver addresses controller into the etcd package
3 years ago
Brad Davidson 49544e0d49 Allow agents to query non-apiserver supervisors for apiserver endpoints
3 years ago
Roberto Bonafiglia 4afeb9c5c7
Merge pull request #5325 from rbrtbnfgl/fix-etcd-ipv6-url
3 years ago
Roberto Bonafiglia dda409b041 Updated localhost address on IPv6 only setup
3 years ago
Brad Davidson e811689df9 Fix etcd-only secrets encryption rotation
3 years ago
Brad Davidson 38706eeec0 Defer ensuring node passwords on etcd-only nodes during initial cluster bootstrap
3 years ago
Brad Davidson a93b9b6d53 Update helm-controller
3 years ago
Luther Monson 9a849b1bb7
[master] changing package to k3s-io (#4846)
3 years ago
Brad Davidson 5014c9e0e8 Fix adding etcd-only node to existing cluster
3 years ago
Brad Davidson a1b800f0bf Remove unnecessary copies of etcdconfig struct
3 years ago
Brad Davidson e7464a17f7 Fix use of agent creds for secrets-encrypt and config validate
3 years ago
Derek Nola bcb662926d
Secrets-encryption rotation (#4372)
3 years ago
Brad Davidson 3da1bb3af2 Fix other uses of NewForConfigOrDie in contexts where we could return err
3 years ago
Brad Davidson 5a923ab8dc Add containerd ready channel to delay etcd node join
3 years ago
Chris Kim 928b8531c3
[master] Add `etcd-member-management` controller to K3s (#4001)
3 years ago
Brad Davidson 29c8b238e5 Replace klog with non-exiting fork
3 years ago
Brad Davidson e95b75409a Fix lint failures
3 years ago
Brad Davidson dc14f370c4 Update wrangler to v0.8.5
3 years ago
Brad Davidson c434db7cc6 Wrap errors in runControllers for additional context
3 years ago
Brad Davidson 869b98bc4c Sync DisableKubeProxy into control struct
3 years ago
Brad Davidson 90445bd581
Wait until server is ready before configuring kube-proxy (#3716)
3 years ago
Luther Monson 37fcb61f5e move go routines for api server ready beneath wait group
3 years ago
Luther Monson 18bc98f60c
adding startup hooks args to access to Disables and Skips (#3674)
3 years ago
Jamie Phillips aef8a6aafd
Adding support for waitgroup to the Startuphooks (#3654)
3 years ago
Joe Kralicky a84c75af62 Adds a command-line flag '--disable-helm-controller' that will disable
3 years ago
Hussein Galal 136dddca11
Fix storing bootstrap data with empty token string (#3422)
3 years ago
Brad Davidson a7d1159ba6 Emit events for AddOn lifecycle
4 years ago
Brad Davidson 6e48ca9b53 Tidy up function calls with many args
4 years ago
Brad Davidson 6ef000091a Add nodename to UA string for deploy controller
4 years ago
Brad Davidson 02a5bee62f
Add system-default-registry support and remove shared code (#3285)
4 years ago
Brian Downs c5ad71ce0b
Collect and Store etcd Snapshots and Metadata (#3239)
4 years ago
Brad Davidson 2705431d96
Add support for dual-stack Pod/Service CIDRs and node IP addresses (#3212)
4 years ago
Chris Kim 69f96d6225
Define a Controllers and LeaderControllers on the server config (#3043)
4 years ago
Brad Davidson 7cdfaad6ce
Always use static ports for client load-balancers (#3026)
4 years ago
Erik Wilson 4e5218b62c
Apply suggestions from code review
4 years ago
Erik Wilson 54a35505f0
Remove Traefik v1 migration
4 years ago
Chin-Ya Huang cc96f8140a
Allow download traefik static file and rename
4 years ago
Chin-Ya Huang 10e0328977
Traefik v2 integration
4 years ago
Hussein Galal 5749f66aa3
Add disable flags for control components (#2900)
4 years ago
Brad Davidson 6e768c301e Use appropriate response codes for authn/authz failures
4 years ago
Brian Downs 13229019f8
Add ability to perform an etcd on-demand snapshot via cli (#2819)
4 years ago
Erik Wilson 4245fd7b67 Return http.StatusOK instead of 0
4 years ago
Erik Wilson 2fb411fc83 Fix spelling mistake
4 years ago
Erik Wilson 09eb44ba53 Bootstrap node password with local file
4 years ago
Erik Wilson 1230d7b7df Fix HA server initialization
4 years ago
Brad Davidson 63f2211b31 deprecate the "node-role.kubernetes.io/master" label / taint
4 years ago
Erik Wilson 0ae7f2d5ae
Merge pull request #2407 from erikwilson/node-passwd-cleanup
4 years ago
Jacob Blain Christen 3647654fe4
[migration k3s-io] update helm-controller dependency (#2569)
4 years ago
Erik Wilson 92d04355f4
Use secrets for node-passwd entries and cleanup
4 years ago
Erik Wilson 56e077eb29
Use no_proxy env, add .svc and cluster domains
4 years ago
Brian Downs ba70c41cce
Initial Logging Output Update (#2246)
4 years ago
Brian Downs 15d7b61939 Merge remote-tracking branch 'upstream/master' into issue-112
4 years ago
Brian Downs 4c3ec907ab
remove k8s daemon config from setup hook in favor of specific fields from the config (#2206)
4 years ago
Brian Downs bb8e5374ea conform to repo conventions
4 years ago
Brian Downs 00831f9bc8 use version.Program
4 years ago
Brian Downs 301fb73952 add node ip to the request header for cert gen
4 years ago
Erik Wilson 720197b9b1
Fix linting issues
4 years ago
Brad Davidson c980fa68a0
Update helm-controller for HelmChartConfig CRD (#2114)
4 years ago
Brian Downs 324bb55986 add ctx to hook, handle hook errors
4 years ago
Brian Downs fa2c1422b3 change name of variable
4 years ago
Brian Downs a4b2953017 add setup hook capabilities for rke2
4 years ago
Brad Davidson dfd0f9d1a6 Correctly report and propagate kubeconfig write failures
4 years ago
Hussein Galal f5ee757b86
Add cluster dns configmap (#1785)
4 years ago
Darren Shepherd a18d387390 Refactor clustered DB framework
5 years ago
Darren Shepherd 7e59c0801e Make program name a variable to be changed at compile time
5 years ago
Darren Shepherd cb4b34763e
Merge pull request #1759 from ibuildthecloud/background
5 years ago
Darren Shepherd 072396f774 Start kube-apiserver in the background
5 years ago
Darren Shepherd 2f5ee914f9 Add supervisor port
5 years ago
Darren Shepherd 3c8e0b4157 No longer use basic auth for default admin account
5 years ago
galal-hussein 3f927d8006 Revert "Replace traefik with nginx"
5 years ago
galal-hussein 717b5a765e use multiarch image for nginx
5 years ago
galal-hussein 9a17033095 Replace traefik with nginx
5 years ago
Erik Wilson 0aeea78060
Merge pull request #1444 from KnicKnic/k3s_build_windows
5 years ago
Knic Knic 2346ccc63f get build on windows and get api_server to work
5 years ago
Darren Shepherd 782004bec9 Create pidns for rootless
5 years ago
Erik Wilson 0374c4f63d Add --disable flag
5 years ago
Darren Shepherd bf57a7f419 Don't start node controller if coredns is not deployed
5 years ago
Erik Wilson 76281bf731 Update k3s for k8s 1.17.0
5 years ago
Darren Shepherd ff34c5c5cf Download cert/key to agent with single HTTP request
5 years ago
Darren Shepherd 0ae20eb7a3 Support both http and db based bootstrap
5 years ago
Darren Shepherd e2431bdf9d Add dqlite support
5 years ago
Darren Shepherd 91cacb3a14 Fix server join issues
5 years ago
Darren Shepherd ba240d0611 Refactor tokens, bootstrap, and cli args
5 years ago
galal-hussein 7c60285435 Fix master role label in ha setups
5 years ago