Commit Graph

787 Commits (b5b7033afd7ac365feeb79febbb839f5bae28292)

Author SHA1 Message Date
Hussein Galal a939decf01
fix a runtime core panic (#3627)
3 years ago
Derek Nola 55fe4ff5b0
Convert existing unit tests to standard layout (#3621)
3 years ago
Brian Downs 238dc2086e
prevent snapshot save when snapshots are disabled (#3475)
3 years ago
William Zhang a4c992ce52 🐳 burp to inetaf/tcpproxy
3 years ago
Chris Kim ada145641c
Update etcd snapshot error message to be more informative when etcd database is not found (#3568)
3 years ago
Jamie Phillips a62d143936 Fixing various bugs related to windows.
3 years ago
Derek Nola 73df2d806b
Update embedded kube-router (#3557)
3 years ago
Deshi Xiao 77fcf2dfc5 missing build tag for windows
3 years ago
Derek Nola c833183517
Add unit tests for pkg/etcd (#3549)
3 years ago
Brad Davidson cbfe673c43 Fix spelling to satisfy codespell check
3 years ago
Brad Davidson cbacd7107e Allow passing targeted environment variables to containerd
3 years ago
Hussein Galal f5fbb9a9a8
Export cli server flags and etcd restoration functions (#3527)
3 years ago
Brad Davidson 246b378a27 Bump kine to resolve race condition and unrevisioned delete
3 years ago
Derek Nola 3e1693bc97
Changes local storage pods to have 700 permissions (#3537)
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
Hussein Galal 136dddca11
Fix storing bootstrap data with empty token string (#3422)
3 years ago
Derek Nola 4b2ab8b515
Renamed client-cloud-controller crt and key (#3470)
3 years ago
Derek Nola ef23c6c548
Redux: Change containerd image leases from context lifespan to permanent (#3464)
3 years ago
Derek Nola b74c499709
Revert "Change containerd image leases from 24h to permanent (#3452)" (#3461)
3 years ago
Derek Nola 86b3ba8dba
Change containerd image leases from 24h to permanent (#3452)
3 years ago
Brian Downs 88f95ec409
Send systemd notifications for both server and agent (#3430)
3 years ago
Brad Davidson a7d1159ba6 Emit events for AddOn lifecycle
4 years ago
Brad Davidson ea2cd6d727 Add comments, clean up imports and function names
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 f6cec4e75d Add kubernetes.default.svc to serving certs
4 years ago
Manuel Buil 243fd14cf1 Change Replace with ReplaceAll function
4 years ago
Brian Downs afd506a595 fix possible race where bootstrap data might not save
4 years ago
Brian Downs 2682183773 add log message indicating etcd snapshots are disabled
4 years ago
Derek Nola 664a98919b
Fix RBAC cloud-controller-manager name 3308 (#3388)
4 years ago
Manuel Buil 5153088286
Merge pull request #3385 from manuelbuil/wireguard-fix
4 years ago
Manuel Buil 1576030d6b Add a path for wireguard's privatekey
4 years ago
Jamie Phillips 7345ac35ae
Initial windows support for agent (#3375)
4 years ago
Brian Downs ecbf17e2ed move object channel defer close to goroutine
4 years ago
Brian Downs 254b52077e add retention default and wire in s3 prune
4 years ago
Brad Davidson 7e175e8ad4 Handle conntrack-related sysctls in supervisor agent setup
4 years ago
Brian Downs e8ecc00fc8 add etcd snapshot save subcommand
4 years ago
Brian Downs 6ee28214fa
Add the ability to prune etcd snapshots (#3310)
4 years ago
Brad Davidson 079620ded0 Fix passthrough of SystemDefaultRegistry from server config
4 years ago
MonzElmasry 24474c5734
change --disable-apiserver flag
4 years ago
Brad Davidson e10524a6b1 Add executor.Bootstrap hook for pre-execution setup
4 years ago
Brian Downs bcd8b67db4
Add the ability to list etcd snapshots (#3303)
4 years ago
Brad Davidson 02a5bee62f
Add system-default-registry support and remove shared code (#3285)
4 years ago
Hussein Galal 948295e8e8
Fix cluster restoration in rke2 (#3295)
4 years ago
Brad Davidson fc037e87f8 Use config file values in node-args annotation
4 years ago
Brian Downs e998cd110d
Add the ability to delete an etcd snapshot locally or from S3 (#3277)
4 years ago
Siegfried Weber e77fd18270 Sign CSRs for kubelet-serving with the server CA
4 years ago
Hussein Galal f410fc7d1e
Invoke cluster reset function when only reset flag is passed (#3276)
4 years ago
Brian Downs beb0d8397a reference node name when needed
4 years ago
Brian Downs c5ad71ce0b
Collect and Store etcd Snapshots and Metadata (#3239)
4 years ago
Hussein Galal 2db3bf7a89
Export CriConnection function (#3225)
4 years ago
Brad Davidson 3cb4ca4b35 Use same SANs on ServingKubeAPICert as dynamiclistener
4 years ago
Darren Shepherd 8f1a20c0d3 Add ability to append to slice during config file merge
4 years ago
Brad Davidson 2705431d96
Add support for dual-stack Pod/Service CIDRs and node IP addresses (#3212)
4 years ago
Darren Shepherd a0a1071aa5
Support .d directory for k3s config file (#3162)
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
Brian Downs 66ed6efd57 Resolve local retention issue when S3 in use.
4 years ago
Brian Downs 80e4baf525 add hidden attribute to disable flags
4 years ago
Brian Downs d9381b84ad add etcd s3 secret and access key flags and env vars to secret data
4 years ago
Brian Downs 693c5290b1
Update CoreDNS to version 1.8.3. (#3168)
4 years ago
Brian Downs ad4f04d2fc
Merge pull request #3155 from briandowns/rke2-issue-856
4 years ago
Erik Wilson 9a53fca872 Bump traefik to v2.4.8
4 years ago
Brad Davidson 58e93feda6
Fix CI failures non-deterministic traefik chart repackaging (#3165)
4 years ago
Brian Downs 4a49b9e40b delete nocluster file and remove build tag
4 years ago
Brian Downs 3ed9b0a997 remove hidden attribute from cluster flags and related code
4 years ago
Xiao Deshi cfe7e0c734 remove duplicated func GetAddresses
4 years ago
Akihiro Suda cb73461a5b AkihiroSuda/containerd-fuse-overlayfs -> containerd/fuse-overlayfs-snapshotter
4 years ago
Akihiro Suda e672c988e4 rootless: allow kernel.dmesg_restrict=1
4 years ago
Akihiro Suda 6e8284e3d4 rootless: enable resource limitation (requires cgroup v2, systemd)
4 years ago
Akihiro Suda 11ef43011a bump up RootlessKit
4 years ago
Brian Downs 400a632666 put etcd bootstrap save call in goroutine and update comment
4 years ago
Hussein Galal 73df65d93a
remove etcd data dir when etcd is disabled (#3059)
4 years ago
Jacob Blain Christen 618b0f98bf
registry mirror repository rewrites (#3064)
4 years ago
Brian Downs 7c99f8645d
Have Bootstrap Data Stored in etcd at Completed Start (#3038)
4 years ago
Chris Kim 69f96d6225
Define a Controllers and LeaderControllers on the server config (#3043)
4 years ago
Brad Davidson 8ace8975d2 Don't start up multiple apiserver load balancers
4 years ago
Brad Davidson c0d129003b Handle loadbalancer port in TIME_WAIT
4 years ago
Brad Davidson 7cdfaad6ce
Always use static ports for client load-balancers (#3026)
4 years ago
Hussein Galal c26b737b24
Mark disable components flags as experimental (#3018)
4 years ago
Brian Downs 4d1f9eda9d
Etcd Snapshot/Restore to/from S3 Compatible Backends (#2902)
4 years ago
Hussein Galal 1bf04b6a50
Merge pull request #3003 from galal-hussein/fix_etcd_only_nodes
4 years ago
Brad Davidson 4fb073e799 Log clearer error on startup if NPC cannot be started
4 years ago
galal-hussein ef999f0b4f change error to warn when removing self from etcd members
4 years ago
galal-hussein d6124981d5 remove etcd member if disable etcd is passed
4 years ago
Erik Wilson 4e5218b62c
Apply suggestions from code review
4 years ago
Erik Wilson 4aac6b6bd0
Update to Traefik 2.4.2 and combine manifests
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
Brad Davidson f970e49b7d Wait for apiserver to become healthy before starting agent controllers
4 years ago
Brad Davidson 9b39c1c117 Hide the airgap-extra-registry flag
4 years ago
Brad Davidson 88dd601941 Limit zstd decoder memory
4 years ago
Brad Davidson ae5b93a264 Use HasSuffixI utility function
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
Brian Downs 21d1690d5d
update usage text (#2926)
4 years ago
Brad Davidson 6e768c301e Use appropriate response codes for authn/authz failures
4 years ago
Brad Davidson 374271e9a0
Collect IPs from all pods before deciding to use internal or external addresses (#2909)
4 years ago
Brad Davidson e06119729b
Improve handling of comounted cpu,cpuacct controllers (#2911)
4 years ago
Brad Davidson ad5e504cf0
Allow joining clusters when the server CA is trusted by the OS CA bundle (#2743)
4 years ago
Brad Davidson 6c472b5942 Use zstd instead of gzip for embedded tarball
4 years ago
Brad Davidson c5e2676d5c
Update local-path-provisioner and helper busybox (#2885)
4 years ago
Brad Davidson 65c78cc397 Replace options.KubeRouterConfig with config.Node and remove metrics/waitgroup stuff
4 years ago
Brad Davidson 07256cf7ab Add ServiceIPRange and ServiceNodePortRange to agent config
4 years ago
Brad Davidson 95a1a86847 Spell check upstream code
4 years ago
Brad Davidson 29483d0651 Initial update of netpol and utils from upstream
4 years ago
Akihiro Suda f3c41b7650 fix cgroup2 support
4 years ago
Akihiro Suda 728ebcc027 rootless: remove rootful /run/{netns,containerd} symlinks
4 years ago
Brad Davidson 071de833ae Fix typo in field tag
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
Brad Davidson f152f656a0
Replace k3s cloud provider wrangler controller with core node informer (#2843)
4 years ago
Brian Downs 13229019f8
Add ability to perform an etcd on-demand snapshot via cli (#2819)
4 years ago
Waqar Ahmed 3ea696815b Do not validate snapshotter argument if docker is enabled
4 years ago
Erik Wilson c71060f288
Merge pull request #2744 from erikwilson/rke2-node-password-bootstrap
4 years ago
MonzElmasry 86f68d5d62
change etcd dir permission if it exists
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
JenTing Hsiao 57041f0239
Add codespell CI test and fix codespell error (#2740)
4 years ago
Brad Davidson 8936cf577f Bump coredns to 1.8.0
4 years ago
Chris Kim 332fd73d46
Add support for both config-file and data-dir at a global level in the self-extracting wrapper for K3s (#2594)
4 years ago
Erik Wilson 1230d7b7df Fix HA server initialization
4 years ago
Brad Davidson 8e4d3e645b Restore legacy master role for etcd nodes
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 63f2211b31 deprecate the "node-role.kubernetes.io/master" label / taint
4 years ago
Brad Davidson c6950d2cb0 Update Kubernetes to v1.20.0-k3s1
4 years ago
Brad Davidson cd27c6fcbe Bump coredns to 1.7.1
4 years ago
Erik Wilson 0ae7f2d5ae
Merge pull request #2407 from erikwilson/node-passwd-cleanup
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
Chin-Ya Huang 3f0f2b342e Show go version when executes with --version.
4 years ago
transhapHigsn 87a43c69e1 Problem: CoreDNS getting preempted by other pods
4 years ago
Akihiro Suda eb72d509ce pkg/agent/config: validate containerd snapshotter value
4 years ago
Akihiro Suda 05f6255437 add fuse-overlayfs snapshotter (mainly for rootless mode)
4 years ago
Akihiro Suda 43f7eaedf8 rootless: fix "stat /run/user/1000: no such file or directory" on `kubectl run`
4 years ago
Akihiro Suda 67410d2757 rootless: validate sysctl before starting up
4 years ago
Jacob Blain Christen 3647654fe4
[migration k3s-io] update helm-controller dependency (#2569)
4 years ago
Akihiro Suda 0b45e32486 Support cgroup v2
4 years ago
Jacob Blain Christen 36230daa86
[migration k3s-io] update kine dependency (#2568)
4 years ago
Brad Davidson b873d3a03b Explicitly set agent paths within --data-dir
4 years ago
Brad Davidson 58b5b21f0d Don't pass cloud-provider flag to controller-manager
4 years ago