Commit Graph

363 Commits (82ba778a8667cafe18fdb11ee37fe7a357c4c3b0)

Author SHA1 Message Date
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)
3 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
Erik Wilson 3592d0bdd9
Merge pull request #1344 from ibuildthecloud/dialer-fallback
5 years ago
Erik Wilson 1a2690d7be
Merge pull request #1192 from galal-hussein/add_encryption_config
5 years ago
Darren Shepherd 3396a7b099 If tunnel session does not exist fallback to default dialer
5 years ago
Erik Wilson 1b23c891dd
Merge pull request #1304 from erikwilson/fixup-cadvisor
5 years ago
Erik Wilson fa03a0df3c Run kubelet with containerd flag
5 years ago
Erik Wilson 7675f9f85c Clean up host-gw variable names
5 years ago
Segator 6736e24673 support hostgw
5 years ago
galal-hussein 388cd9c4e8 Add secret encryption configuration
5 years ago
Darren Shepherd 4acaa0740d Small dqlite fixes
5 years ago
Erik Wilson 76281bf731 Update k3s for k8s 1.17.0
5 years ago
Erik Wilson 2de93d70cf Allow --pause-image to set docker sandbox image also
5 years ago
galal-hussein 99b8222e8d Change storage to datastore
5 years ago
Darren Shepherd 77703b90ff Don't ever change 10252/10251 ports
5 years ago
Erik Wilson 55c05ac500 Refactor node password location
5 years ago
Darren Shepherd 0ae20eb7a3 Support both http and db based bootstrap
5 years ago
Darren Shepherd 29b270dce6 Wait for apiserver to be health, not just running
5 years ago
Darren Shepherd 91cacb3a14 Fix server join issues
5 years ago
Erik Wilson 01f6e0e64e Add context to server daemon functions that wait
5 years ago
larmog 7aa3d08385 Wait for api-server to report version after starting
5 years ago
Darren Shepherd ba240d0611 Refactor tokens, bootstrap, and cli args
5 years ago
Akihiro Suda aafccdbccb rootless: add kubelet flags automatically
5 years ago
Erik Wilson da3a7c6bbc Add network policy controller
5 years ago
galal-hussein d2c1f66496 Add k3s cloud provider
5 years ago
Erik Wilson c12d2a1aea
Merge pull request #867 from galal-hussein/private_reg
5 years ago
galal-hussein 436ff4ef63 fix cert rotation function
5 years ago
galal-hussein 5ccc880ddb Add private registry to containerd
5 years ago
Erik Wilson cac41db0e1
Merge pull request #816 from galal-hussein/default_local_storage
5 years ago
galal-hussein 2dc5ba5bae Add certificate rotation
5 years ago
galal-hussein 56e0e5ad7e Add default local storage provisioner
5 years ago
Erik Wilson 999e40d6d3 Add strongswan utilities for ipsec
5 years ago
Erik Wilson 959acf9c92 Add --flannel-backend flag
5 years ago
Erik Wilson 3cd807a657 Add --flannel-conf flag
5 years ago
Darren Shepherd 36ca606073
Merge pull request #793 from yamt/noderestriction
5 years ago
YAMAMOTO Takashi 9cf80eacd9 Add back NodeRestriction
5 years ago
Erik Wilson 197985c673 Add --kubelet-certificate-authority flag
5 years ago
Darren Shepherd f57dd13774 Default kube-apiserver to httpsport + 1
5 years ago
Darren Shepherd 9c8b95be9d Drop unneeded prometheus imports
5 years ago
Darren Shepherd a51a2eaaad Add anonymous-auth=false and remove NodeRestriction
5 years ago
Erik Wilson 5679cfafaf
Merge pull request #707 from ibuildthecloud/pr683
5 years ago
Darren Shepherd 2cb6f52339 Disable storing bootstrap information by default
5 years ago
Erik Wilson e6067314c9 Localhost -> 127.0.0.1
5 years ago
galal-hussein 1ae0c540d7 Refactor bootstrap, move kine startup code to kine, integrate kine
5 years ago
YAMAMOTO Takashi fc8eddae29 Appease kubelet warnings on docker for mac
5 years ago
YAMAMOTO Takashi d78701acb1 Fix bootstrap with non-tls etcd
5 years ago
YAMAMOTO Takashi 35d972fd72 Sort args to make log outputs a bit more deterministic
5 years ago
Erik Wilson 1833b65fcd
Merge pull request #647 from yamt/remove-proxy-port
5 years ago
Erik Wilson 2d32337334
Merge pull request #650 from erikwilson/update-bootstrap
5 years ago
Erik Wilson 2f4d2838ea Bootstrap node key files & fix permissions
5 years ago
YAMAMOTO Takashi dc4ebd4c67 Remove agent proxy config which is no longer used
5 years ago
YAMAMOTO Takashi f6a04ea995 Add a few comments in bootstrap.go
5 years ago
Erik Wilson fdc1427317 Add more logs for bootstrap
5 years ago
Erik Wilson e79fda96d2 Enforce explicit read or write for bootstrap
5 years ago
Erik Wilson ad11ba583f Use watch-cache for kvsql
5 years ago
Erik Wilson 11a4c71f28 Use watch-cache for etcd3 backend
5 years ago
Erik Wilson 24b73403c7 Cleanup bootstrap
5 years ago
Erik Wilson 8d979d675e Add tls support for etcd cert storage backend
5 years ago
galal-hussein 37582b6fac Add cert storage backend flag
5 years ago
galal-hussein 28d9d83be2 Add k3s HA bootstrap
5 years ago
Erik Wilson 7090a7d551 Move node password to separate file
6 years ago
Erik Wilson 93f6690f26 Graceful upgrade token to server CA
6 years ago
Erik Wilson 2c9444399b Refactor certs
6 years ago
galal-hussein 17d8708ca5 Add storage backend flags
6 years ago
Erik Wilson 199f673676
Merge pull request #479 from galal-hussein/add_storage_backend_options
6 years ago
Darren Shepherd c0702b0492 Port to wrangler
6 years ago
galal-hussein e9cd8adbf6 Add Storage endpoint option
6 years ago
galal-hussein 930093dfe9 Expose node labels and taints and add node roles
6 years ago
haokang.ke 52f845ec84 Make pause image configurable (#345)
6 years ago
Erik Wilson d5ce19caae Force upgrade of token node cert
6 years ago
galal-hussein 191ac9371a Add cni plugin to kubelet if docker is used
6 years ago
Darren Shepherd 9db91d7de3
Merge pull request #369 from erikwilson/node-dns
6 years ago
Darren Shepherd 50f405ddfd
Merge pull request #376 from galal-hussein/fix_kubeletarg
6 years ago
Erik Wilson c9941895d6 Bind kubelet to all interfaces and use webhook auth
6 years ago
galal-hussein 72d2edc0cb Fix extra argument with multiple =
6 years ago
galal-hussein bdf8a355e1 Add containerd config go template
6 years ago
Erik Wilson 1b2db423de Add node name to node cert generation
6 years ago
Darren Shepherd be24f837bb
Merge pull request #349 from erikwilson/missing-cgroup-pids-fix
6 years ago
Erik Wilson 4bba04023d Check for cgroup pids support
6 years ago
Darren Shepherd 0e3711b8b7
Merge pull request #339 from km4rcus/cluster-domain-option
6 years ago
Stuart Wallace 2268e028a2 Add ability to override flannel interface
6 years ago
Marco Mancini b445bad171 Add --cluster-domain option
6 years ago
Erik Wilson c48739206a Enable aggregation layer
6 years ago
Darren Shepherd 046a817818 Add rootless support
6 years ago
galal-hussein 7794528aa1 Add extra flags for server and agent components
6 years ago
Darren Shepherd a11ac8cc40 Pull in parallel for CRI
6 years ago
Darren Shepherd 3c7e103085 Updates for k8s 1.14
6 years ago
galal-hussein e8c5b2498c Change address to bind-address for scheduler and api
6 years ago
Erik Wilson a4df9f4ab1 Kubelet resolv.conf DNS update
6 years ago