Commit Graph

733 Commits (114b30277f9e4e75c0f0e4b90b5d9ebcfac72d0e)

Author SHA1 Message Date
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
Brad Davidson 3e4fd7b41f Respect --data-dir path for crictl.yaml
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
Brad Davidson 5b318d093f Fix containerd sock path warning
4 years ago
Brad Davidson d1424626ac Disable containerd experimental snapshot labels
4 years ago
Erik Wilson 992ca52c31
Enable go test in ci
4 years ago
Erik Wilson 92d04355f4
Use secrets for node-passwd entries and cleanup
4 years ago
Brad Davidson 3b8ec74049 Update disables list when building with no_stage
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
Chris Kim 7b8a147a1b
Merge pull request #2408 from Oats87/rpm-install-selinux
4 years ago
Hussein Galal fcd18d1b6e
skip node delete from removed member (#2413)
4 years ago
Chris Kim 96fc4c4b21 Add iptable_nat to modprobe list
4 years ago
Brad Davidson de18528412
Make etcd voting members responsible for managing learners (#2399)
4 years ago
Erik Wilson 6b11d86037
Merge pull request #2377 from erikwilson/no-proxy-fix
4 years ago
Erik Wilson 56e077eb29
Use no_proxy env, add .svc and cluster domains
4 years ago
Erik Wilson 114b5ccad1
Merge pull request #2363 from erikwilson/netpol-informers
4 years ago
Erik Wilson e26e333b7e
Add network policy controller CacheSyncOrTimeout
4 years ago
Erik Wilson 045cd49ab5
Add event handlers to network policy controller
4 years ago
Erik Wilson ce0da0a0f4
Add file verification for data directory
4 years ago
Erik Wilson 66d29148f7
Add Release function for flock
4 years ago
Erik Wilson 360d82d20e
Add flock from k8s.io/kubernetes/pkg/util/flock
4 years ago
Brad Davidson c3c983198f Add temporary fix for issue with interrupted etcd promote
4 years ago
Hussein Galal 373449ec0a
Allow for multiple etcd snapshot restoration (#2307)
4 years ago
Brad Davidson 8262e23169
Revert removal of EndpointName hooks (#2319)
4 years ago
Brad Davidson 360b0f1ee5 Add timeout to clientaccess http client
4 years ago
Brad Davidson cdfc6cfa1a Split clientaccess token/kubeconfig code
4 years ago
Brad Davidson 45dd4afe50 Simplify token parsing
4 years ago
Brad Davidson 9074da7405 Fix misc nits and missing/unused imports
4 years ago
Brad Davidson 703ba5cde7 Add a bunch of doc comments
4 years ago
Brad Davidson ae916c2dec Use const for kube-system namespace
4 years ago
Brad Davidson f59e8fc21b Fix etcd directory permissions
4 years ago
Brad Davidson ee99660a96 Rename etcd directory helpers to reduce confusion about which datadir we're talking about
4 years ago
Brad Davidson 8025da5a8d Remove dead EndpointName code
4 years ago
Brad Davidson 97eb28a01a Remove unnecessary listener arg from managed DB setup
4 years ago
Brad Davidson a3bbd58f37 Fix managed etcd cold startup deadlock issue #2249
4 years ago
Brad Davidson 42bba04651
Skip etcd snapshots if the local endpoint is still a learner (#2295)
4 years ago
Brian Downs ba70c41cce
Initial Logging Output Update (#2246)
4 years ago
Hussein Galal 46fe57d7e9
reset etcd name on cluster reset (#2284)
4 years ago
Brad Davidson 8c6d3567fe Rename k3s-controller based on the build-time program name
4 years ago
Brad Davidson ae5519c047
Use rancher-mirrored busybox for local-path-provisioner (#2257)
4 years ago
Erik Wilson a08e998bc5 Import containerd images with all platforms
4 years ago
Brad Davidson fcaeebaa18 Add support for disabling all staged content
4 years ago
Menna Elmasry edb3e5b7a7
Add error logger to http server (#2242)
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 898cbeb9b6 Merge remote-tracking branch 'upstream/master' into issue-112
4 years ago
Darren Shepherd 289ba8df6a All arguments should be of the form --k=v so that bool flags will work
4 years ago
Darren Shepherd 64ae6affc5 Missing registering debug/config flags on server subcommand
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
Craig Jellick 53b3d0fc56
Merge pull request #2180 from ibuildthecloud/configfile
4 years ago
Brad Davidson a3e9d31e6c
Merge pull request #2097 from iwilltry42/registry-insecure-skip-verify
4 years ago