Commit Graph

350 Commits (7474a6fa43b25a5507f2475e34922d0c6cff1089)

Author SHA1 Message Date
Brad Davidson d93b750326 Don't start embedded kubelet until after apiserver is up
3 years ago
Brad Davidson 13ca10664f Use ListWatch helpers instead of bare List/Watch
3 years ago
Michal Rostecki c0045f415b agent(netpol): Explicitly enable IPv4 when necessary
3 years ago
Brad Davidson 333311c7ee Add systemd cgroup controller support
3 years ago
Brad Davidson 418c3fa858
Fix issue with datastore corruption on cluster-reset (#5515)
3 years ago
Brad Davidson b12cd62935 Move IPv4/v6 selection into helpers
3 years ago
Brad Davidson 99851b0f84 Use core constants for cert user/group values
3 years ago
Terry Cain b6e71ef990 Added support for repeated extra arguments
3 years ago
Roberto Bonafiglia f04c602c07 Updated wireguard-native options and added log message
3 years ago
Roberto Bonafiglia 47abaf362e Added new flannel backend to use wireguard from flannel
3 years ago
Brad Davidson af0b496ef3 Add client certificate authentication support to core Authenticator
3 years ago
Brad Davidson e7437d4ad8 Redact datastore and etcd snapshot config from serialization
3 years ago
Roberto Bonafiglia 4afeb9c5c7
Merge pull request #5325 from rbrtbnfgl/fix-etcd-ipv6-url
3 years ago
Roberto Bonafiglia e29771b9ff Fixed client URL
3 years ago
Roberto Bonafiglia dda409b041 Updated localhost address on IPv6 only setup
3 years ago
Brad Davidson 714979bf6a Ensure that apiserver ready channel checks re-dial every time
3 years ago
Brian Downs 8083ef5824
fix function arg call (#5234)
3 years ago
Roberto Bonafiglia 3fabc0703b
Merge pull request #4450 from olljanat/support-ipv6-only
3 years ago
Luther Monson 9a849b1bb7
[master] changing package to k3s-io (#4846)
3 years ago
Brad Davidson e4846c92b4 Move temporary etcd startup into etcd module
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 2989b8b2c5 Remove unnecessary copies of runtime struct
3 years ago
Brian Downs 40a46e1412
add ability to specify etcd snapshot list output format (#5132)
3 years ago
Derek Nola 142eed1a9f
Create encryption hash file if it doesn't exist (#5140)
3 years ago
Olli Janatuinen 966f4d6a01 Add support for IPv6 only mode
3 years ago
Ankur Gupta df4147cd57
Update legacy-unknown-cert and legacy-unknown-key (#5057)
3 years ago
Roberto Bonafiglia bb856c67dc
Merge pull request #4952 from rbrtbnfgl/ipv6-nat
3 years ago
Roberto Bonafiglia 111c1669fc Added flannel-ipv6-masq flag to enable IPv6 nat
3 years ago
Brian Downs effcb15adb
Adds the ability to compress etcd snapshots (#4866)
3 years ago
Luther Monson 66eeabbdfc linter doesn't actually run on windows, found these while getting it running on a windows machine
3 years ago
Brad Davidson 87395e32d6 Update modules for Kubernetes v1.23
3 years ago
Manuel Buil 588d15db8f Remove Disables, Skips and DisableKubeProxy from the comparing configs
3 years ago
Manuel Buil 1e0696628e
Merge pull request #4581 from manuelbuil/checking-HA-parameters
3 years ago
Derek Nola bcb662926d
Secrets-encryption rotation (#4372)
3 years ago
Manuel Buil 1b3187ea07 Check HA network parameters
3 years ago
Manuel Buil 7685da3e24 Improve flannel logging
3 years ago
Chris Kim f18b3252c0
[master] Add etcd extra args support for K3s (#4463)
3 years ago
Brad Davidson 5ab6d21a7d
Increase agent's apiserver ready timeout (#4454)
3 years ago
Manuel Buil 8271d98a76
Merge pull request #4437 from manuelbuil/fix_svclb_ipv6_rh
3 years ago
Manuel Buil 5d168a1d59 Allow svclb pod to enable ipv6 forwarding
3 years ago
Brian Downs adaeae351c
update bootstrap logic (#4438)
3 years ago
Brad Davidson 3da1bb3af2 Fix other uses of NewForConfigOrDie in contexts where we could return err
3 years ago
Brad Davidson 3fe460d080 Block scheduler startup on untainted node when using embedded CCM
3 years ago
Brian Downs 0452f017c1
Add etcd s3 timeout (#4207)
3 years ago
Brad Davidson 5a923ab8dc Add containerd ready channel to delay etcd node join
3 years ago
Brian Downs ac7a8d89c6
Add ability to reconcile bootstrap data between datastore and disk (#3398)
3 years ago
Brad Davidson 73e21e739f Drop broken SupportNoneCgroupDriver support
3 years ago
Hussein Galal 7826407a2e
Make sure there are no duplicates in etcd member list (#4025)
3 years ago
Brad Davidson 753e11ee3c Enable JobTrackingWithFinalizers FeatureGate
3 years ago
Brad Davidson b72306ce3d Return the error since it just gets logged and retried anyways
3 years ago
Brad Davidson 5986898419 Use SubjectAccessReview to validate CCM RBAC
3 years ago
Brad Davidson dc556cbb72 Set controller authn/authz kubeconfigs
3 years ago
Brad Davidson 199424b608 Pass context into all Executor functions
3 years ago
Chris Kim 928b8531c3
[master] Add `etcd-member-management` controller to K3s (#4001)
3 years ago
Brad Davidson 3449d5b9f9 Wait for apiserver readyz instead of healthz
3 years ago
Brad Davidson 29c8b238e5 Replace klog with non-exiting fork
3 years ago
Brad Davidson 90960ebf4e SupportPodPidsLimit is locked to true of 1.20, making pids cgroup support mandatory
3 years ago
Devin Buhl a1ec43e0b7
feat: add option to disable s3 over https
3 years ago
Kohei Tokunaga 8b857eef9c
Ship Stargz Snapshotter (#2936)
3 years ago
Brad Davidson cf12a13175 Add missing node name entry to apiserver SAN list
3 years ago
Brad Davidson b8add39b07 Bump kine for metrics/tls changes
3 years ago
Akihiro Suda 176451f4ea
Fix rootless regression in 1.22 (Set KubeletInUserNamespace gate) (#3901)
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 422d266da2 Disable deprecated insecure port
3 years ago
Brad Davidson 872855015c Update etcd to v3.5.0
3 years ago
Brad Davidson e204d863a5 Update Kubernetes to v1.22.1
3 years ago
Jamie Phillips ae909c73e5 Updated the code to use GetNetworkByName and tweaked logic.
3 years ago
Jamie Phillips 7704fb6ee5
Exporting the AddFeatureGate function and adding a unit test for it. (#3661)
3 years ago
Jamie Phillips fc19b805d5
Added logic to strip any existing hyphens before processing the args. (#3662)
3 years ago
Brad Davidson 90445bd581
Wait until server is ready before configuring kube-proxy (#3716)
3 years ago
Derek Nola 21c8a33647
Introduction of Integration Tests (#3695)
3 years ago
Derek Nola 55fe4ff5b0
Convert existing unit tests to standard layout (#3621)
3 years ago
Jamie Phillips a62d143936 Fixing various bugs related to windows.
3 years ago
Derek Nola c833183517
Add unit tests for pkg/etcd (#3549)
3 years ago
Chris Kim 04398a2582
Move cloud-controller-manager into an embedded executor (#3525)
3 years ago
Joe Kralicky a84c75af62 Adds a command-line flag '--disable-helm-controller' that will disable
3 years ago
Jamie Phillips 82394d7d36 Basic windows agent that will join a cluster without CNI.
3 years ago
Derek Nola 4b2ab8b515
Renamed client-cloud-controller crt and key (#3470)
4 years ago
Brad Davidson f6cec4e75d Add kubernetes.default.svc to serving certs
4 years ago
Derek Nola 664a98919b
Fix RBAC cloud-controller-manager name 3308 (#3388)
4 years ago
Jamie Phillips 7345ac35ae
Initial windows support for agent (#3375)
4 years ago
Brad Davidson 7e175e8ad4 Handle conntrack-related sysctls in supervisor agent setup
4 years ago
Brad Davidson e10524a6b1 Add executor.Bootstrap hook for pre-execution setup
4 years ago
Brad Davidson 02a5bee62f
Add system-default-registry support and remove shared code (#3285)
4 years ago
Siegfried Weber e77fd18270 Sign CSRs for kubelet-serving with the server CA
4 years ago
Brad Davidson 3cb4ca4b35 Use same SANs on ServingKubeAPICert as dynamiclistener
4 years ago
Brad Davidson 2705431d96
Add support for dual-stack Pod/Service CIDRs and node IP addresses (#3212)
4 years ago
Brad Davidson 601c4984f5 Fix service-account-issuer
4 years ago
Brad Davidson e8381db778 Update Kubernetes to v1.21.0
4 years ago
Akihiro Suda 6e8284e3d4 rootless: enable resource limitation (requires cgroup v2, systemd)
4 years ago
Brian Downs 4d1f9eda9d
Etcd Snapshot/Restore to/from S3 Compatible Backends (#2902)
4 years ago
Brad Davidson ec661c67d7 Add support for retagging images on load from tarball
4 years ago
Hussein Galal 5749f66aa3
Add disable flags for control components (#2900)
4 years ago
Brad Davidson e06119729b
Improve handling of comounted cpu,cpuacct controllers (#2911)
4 years ago
Brad Davidson 07256cf7ab Add ServiceIPRange and ServiceNodePortRange to agent config
4 years ago
Akihiro Suda f3c41b7650 fix cgroup2 support
4 years ago
Brad Davidson 8011697175 Only container-runtime-endpoint wants RuntimeSocket path as URI
4 years ago
Yuriy 06fda7accf
Add functionality to bind custom IP address for Etcd metrics endpoint (#2750)
4 years ago
Brian Downs 13229019f8
Add ability to perform an etcd on-demand snapshot via cli (#2819)
4 years ago
Chris Kim 61ef2ce95e use version.Program
4 years ago
Chris Kim 48925fcb88
Simplify checkCgroups function call
4 years ago
Chris Kim a3f87a81bd Independently set kubelet-cgroups and runtime-cgroups, and detect if we are running under a systemd scope
4 years ago
Brad Davidson c5aad1b5ed Disable the ServiceAccountIssuerDiscovery feature-gate.
4 years ago
Brad Davidson c6950d2cb0 Update Kubernetes to v1.20.0-k3s1
4 years ago
Chris Kim 3d1e40eaa3 Handle the case when systemd lives under `/init.scope`
4 years ago
Chris Kim e71e11fed0
Merge pull request #2642 from Oats87/issues/k3s/2548-cgroup
4 years ago
Chris Kim f3de60ff31 When there is a defined cgroup for PID 1, assume we are containerized and set a root
4 years ago
Hussein Galal fadc5a8057
Add tombstone file to etcd and catch errc etcd channel (#2592)
4 years ago
Jacob Blain Christen 36230daa86
[migration k3s-io] update kine dependency (#2568)
4 years ago
Brad Davidson 58b5b21f0d Don't pass cloud-provider flag to controller-manager
4 years ago
Brad Davidson f50e3140f9 Disable configure-cloud-routes and external service/route programming support when using k3s stub cloud controller
4 years ago
Brad Davidson 31575e407a Add Cluster ID support to k3s stub cloud controller
4 years ago
Menna Elmasry 523ccaf3f2
Merge pull request #2448 from MonzElmasry/new_b
4 years ago
MonzElmasry e8436cc76b
Make etcd use node private ip
4 years ago
Brad Davidson de18528412
Make etcd voting members responsible for managing learners (#2399)
4 years ago
Brad Davidson 8c6d3567fe Rename k3s-controller based on the build-time program name
4 years ago
Erik Wilson 447097a597
Merge pull request #2098 from erikwilson/k8s-1.19
4 years ago
Erik Wilson c5dc09159f
Move basic authentication to k3s
4 years ago
Erik Wilson 837a943234
Update for k8s 1.19
4 years ago
Brian Downs 866dc94cea
Galal hussein etcd backup restore (#2154)
4 years ago
Brad Davidson b1d017f892 Update dynamiclistener
4 years ago
Jacob Blain Christen e2089bea18
cli: add --selinux flag to agent/server sub-cmds (#2111)
4 years ago
Euan Kemp 4808c4e7d5 Listen insecurely on localhost only
4 years ago
Brian Downs 5a81fdbdc5 update cis flag implementation to propogate the rest of the way through to kubelet
4 years ago
Jason e3f8789114
Add containerd snapshotter flag (#1991)
4 years ago
Brian Downs ebac755da1 add profiling flag with default value of false
4 years ago
Brandon Davidson 538842ffdc
Merge pull request #1768 from brandond/fix_1764
4 years ago
Brian Downs 7f4f237575
added profile = false args to api, controllerManager, and scheduler (#1891)
5 years ago
galal-hussein c580a8b528 Add heartbeat interval and election timeout
5 years ago
Darren Shepherd 6b5b69378f Add embedded etcd support
5 years ago
Darren Shepherd 39571424dd Generate etcd certificates
5 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
Chuck Schweizer ca9c9c2e1e Adding support for TLS MinVersion and CipherSuites
5 years ago
Darren Shepherd cb4b34763e
Merge pull request #1759 from ibuildthecloud/background
5 years ago
Darren Shepherd e5fe184a44
Merge pull request #1757 from ibuildthecloud/separate-port
5 years ago
Darren Shepherd 072396f774 Start kube-apiserver in the background
5 years ago
Brad Davidson 71561ecda2 Use ClientCA for the signer controller
5 years ago
Darren Shepherd 2f5ee914f9 Add supervisor port
5 years ago
Darren Shepherd afd6f6d7e7 Encapsulate execution logic
5 years ago
Darren Shepherd 70ddc799bd
Merge pull request #1691 from ibuildthecloud/staticpod
5 years ago
Darren Shepherd 8c7fbe3dde Suppport static pods at ${datadir}/agent/pod-manifests
5 years ago
Erik Wilson c941e1d0bb
Merge pull request #1695 from ibuildthecloud/kubeproxy
5 years ago
Darren Shepherd 3c8e0b4157 No longer use basic auth for default admin account
5 years ago
Darren Shepherd 5715e1ba0d Add ability to disable kubeproxy
5 years ago
Knic Knic 44b8af097c fix usage of path instead of filepath
5 years ago
Erik Wilson a3cb9ee1f6 Simplify SELinux detection and add --disable-selinux flag
5 years ago
Erik Wilson 0374c4f63d Add --disable flag
5 years ago