Commit Graph

631 Commits (a0a1071aa585077fd9a02c74f773b002bc1dbbe8)

Author SHA1 Message Date
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
Darren Shepherd 551a1842ad
Update pkg/cli/cmds/config.go
4 years ago
Darren Shepherd 7657ed2e13
Update pkg/cli/server/server.go
4 years ago