Commit Graph

335 Commits (0bbc6ad3f0eab52279b44e601f4d498fecabdf4a)

Author SHA1 Message Date
Brad Davidson 2705431d96
Add support for dual-stack Pod/Service CIDRs and node IP addresses (#3212)
4 years ago
Brad Davidson e8381db778 Update Kubernetes to v1.21.0
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 6e8284e3d4 rootless: enable resource limitation (requires cgroup v2, systemd)
4 years ago
Jacob Blain Christen 618b0f98bf
registry mirror repository rewrites (#3064)
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
Brian Downs 4d1f9eda9d
Etcd Snapshot/Restore to/from S3 Compatible Backends (#2902)
4 years ago
Brad Davidson 4fb073e799 Log clearer error on startup if NPC cannot be started
4 years ago
Brad Davidson f970e49b7d Wait for apiserver to become healthy before starting agent controllers
4 years ago
Brad Davidson 88dd601941 Limit zstd decoder memory
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 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
Brad Davidson 8011697175 Only container-runtime-endpoint wants RuntimeSocket path as URI
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
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
Erik Wilson 0ae7f2d5ae
Merge pull request #2407 from erikwilson/node-passwd-cleanup
4 years ago
Akihiro Suda eb72d509ce pkg/agent/config: validate containerd snapshotter value
4 years ago
Akihiro Suda 0b45e32486 Support cgroup v2
4 years ago
Brad Davidson b873d3a03b Explicitly set agent paths within --data-dir
4 years ago
Brad Davidson 3e4fd7b41f Respect --data-dir path for crictl.yaml
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
Chris Kim 96fc4c4b21 Add iptable_nat to modprobe list
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
Brad Davidson 45dd4afe50 Simplify token parsing
4 years ago
Brian Downs ba70c41cce
Initial Logging Output Update (#2246)
4 years ago
Brad Davidson 8c6d3567fe Rename k3s-controller based on the build-time program name
4 years ago
Erik Wilson a08e998bc5 Import containerd images with all platforms
4 years ago
Brian Downs bb8e5374ea conform to repo conventions
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
Brad Davidson a3e9d31e6c
Merge pull request #2097 from iwilltry42/registry-insecure-skip-verify
4 years ago
Erik Wilson 447097a597
Merge pull request #2098 from erikwilson/k8s-1.19
4 years ago
Erik Wilson 720197b9b1
Fix linting issues
4 years ago
Brian Downs 866dc94cea
Galal hussein etcd backup restore (#2154)
4 years ago
Frederick F. Kautz IV cdce2b7e9a
Add support for compressed images when pre-loading images (#2165)
4 years ago
Jacob Blain Christen e2089bea18
cli: add --selinux flag to agent/server sub-cmds (#2111)
4 years ago
Thorsten Klein cf8c101b70
registry template: add insecure_skip_verify field
4 years ago
Jacob Blain Christen 371bee82f9 containerd: bump to v1.3.6
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
Erik Wilson 0d6a2bfb0b
Merge pull request #1974 from mschneider82/patch-1
4 years ago
Erik Wilson 42f0b95ac5
Merge pull request #1800 from niusmallnan/dev
4 years ago
niusmallnan d713683614 Add retry backoff for starting network-policy controller
4 years ago
Matthias Schneider 56a083c812 fixed panic in network_policy_controller
4 years ago
Brian Downs 58aae57e12 set environment variable and create config for crictl
5 years ago
Brian Downs 63dbf806df create symlink from docker sock to where crictl in k3s is looking for the sock to use
5 years ago
Darren Shepherd 7e59c0801e Make program name a variable to be changed at compile time
5 years ago
Darren Shepherd e5fe184a44
Merge pull request #1757 from ibuildthecloud/separate-port
5 years ago
Darren Shepherd f38082673d
Merge pull request #1753 from ibuildthecloud/prepull
5 years ago
Darren Shepherd 2f5ee914f9 Add supervisor port
5 years ago
Darren Shepherd 61ba9171ce Only echo Waiting for kubelet every 30 seconds
5 years ago
Darren Shepherd 6932d03bb4 Support prepulling images on start
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
Erik Wilson 21266bab7e
Merge pull request #1692 from ibuildthecloud/err
5 years ago
Erik Wilson ed8cd9250b
Merge pull request #1690 from ibuildthecloud/flannel
5 years ago
Erik Wilson 47bb0939e6
Merge pull request #1611 from Dirbaio/master
5 years ago
Darren Shepherd 5715e1ba0d Add ability to disable kubeproxy
5 years ago
Darren Shepherd 7920fa48c9 Only need to resolve the path of host-local if Flannel is enabled
5 years ago
Darren Shepherd c25f1ab1b6 Check for error on mkdir
5 years ago
Knic Knic 44b8af097c fix usage of path instead of filepath
5 years ago
Darren Shepherd a8d96112d9 Updates for k8s v1.18 support
5 years ago
Dario Nieuwenhuis cd0b58e920 Correctly quote auth strings in containerd config. Fixes #1610
5 years ago
Erik Wilson 8725798578
Merge pull request #1464 from erikwilson/selinux-update
5 years ago
Erik Wilson a3cb9ee1f6 Simplify SELinux detection and add --disable-selinux flag
5 years ago
Erik Wilson 0aeea78060
Merge pull request #1444 from KnicKnic/k3s_build_windows
5 years ago
Darren Shepherd 4d32fe9959 Support SELinux
5 years ago
Knic Knic c2db115ec3 fix formatting
5 years ago
Knic Knic 2346ccc63f get build on windows and get api_server to work
5 years ago
Erik Wilson fe45eb008a
Merge pull request #1416 from erikwilson/device-plugins-path
5 years ago
galal-hussein d49ef31767 Inject node config on startup
5 years ago
Erik Wilson b15c4473cd Use default kubelet device-plugins path
5 years ago
Erik Wilson 4cacffd7e6
Merge pull request #1298 from erikwilson/warn-npc-fail
5 years ago
Erik Wilson 5b98d10e4b Warn if NPC can't start rather than fatal error
5 years ago
Erik Wilson 7675f9f85c Clean up host-gw variable names
5 years ago
Segator c23f12765e hostgw flannel support
5 years ago
Segator 6736e24673 support hostgw
5 years ago
Erik Wilson 5c37454762
Merge pull request #1198 from narqo/tunel-addr-join-host-port
5 years ago
Erik Wilson 9b2538c2c4 Set wireguard persistent-keepalive on wg set peer
5 years ago
Erik Wilson 3376f31fc2 Revert "Merge pull request #1190 from erikwilson/wireguard-keepalive"
5 years ago
Vladimir Varankin 0c5299c951 pkg/agent/tunnel: respect ipv6 when building proxy addresses
5 years ago
Erik Wilson 6875b11dd2 Fix identity_token -> identitytoken for containerd toml
5 years ago
Erik Wilson 97383868bd
Merge pull request #1186 from erikwilson/upgrade-k8s-1.17.0
5 years ago
Erik Wilson e712cdf7e8
Merge pull request #1190 from erikwilson/wireguard-keepalive
5 years ago
Erik Wilson 76281bf731 Update k3s for k8s 1.17.0
5 years ago
Erik Wilson 814c302d7c
Merge pull request #955 from btashton/servicelb-sysctl
5 years ago
Erik Wilson 7b62811f98 Set Wireguard keepalive to 25 seconds
5 years ago
Erik Wilson d4959d53af
Merge pull request #1182 from erikwilson/docker-pause-image
5 years ago
Brennan Ashton a952d5c32a Default device net config enables ip forwarding
5 years ago
Erik Wilson 2de93d70cf Allow --pause-image to set docker sandbox image also
5 years ago
Jacob Blain Christen 063efb25bb Mutable --node-label values for server/agent sub-commands.
5 years ago
yuzhiquan 24869ddf21 remove []byte trans, handle func error
5 years ago
yuzhiquan 7cc0110081 fix typo
5 years ago
Guangbo Chen 8ff4c3c256 Update base pause image to rancher repo
5 years ago
Darren Shepherd ff34c5c5cf Download cert/key to agent with single HTTP request
5 years ago
Erik Wilson 55c05ac500 Refactor node password location
5 years ago
Erik Wilson 2bbc356f65
Merge pull request #1008 from erikwilson/ip6-system-setup
5 years ago
Erik Wilson afa9422ad9 Improve ip6 system setup & utilities
5 years ago
Darren Shepherd ba240d0611 Refactor tokens, bootstrap, and cli args
5 years ago
Erik Wilson f648a64ee3
Merge pull request #923 from AkihiroSuda/fix-rootless-kubelet-flags
5 years ago
Akihiro Suda aafccdbccb rootless: add kubelet flags automatically
5 years ago
Erik Wilson aed163b338 Remove trailing whitespace trimming from containerd template
5 years ago
Erik Wilson 2ff2baba49
Merge pull request #913 from erikwilson/kube-router-network-policy
5 years ago
Erik Wilson da3a7c6bbc Add network policy controller
5 years ago
Erik Wilson 1df72d14b8 Cleanup containerd config template spacing
5 years ago
Erik Wilson 90df4a1921 Use containerd-shim-run-v2
5 years ago
Erik Wilson 12307a4a69 Fallback to /etc/strongswan for config
5 years ago
Darren Shepherd 30c14a4db6
Merge pull request #901 from erikwilson/default-kubelet-dir
5 years ago
galal-hussein d2c1f66496 Add k3s cloud provider
5 years ago
Erik Wilson c72ef62d2c Use default kubelet directory
5 years ago
galal-hussein 5ccc880ddb Add private registry to containerd
5 years ago
Erik Wilson 0af32bba75 Use newest flannel API
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 359a77939c Enable hairpin mode
5 years ago
Erik Wilson 36fa425d45 Enable extension and ipsec flannel backends
5 years ago
Erik Wilson 3cd807a657 Add --flannel-conf flag
5 years ago
Darren Shepherd b24f214a50 Update to new cri-api import
5 years ago
Erik Wilson a76ca2e887 Remove hostname requirement in `/etc/hosts`
5 years ago
Erik Wilson 98254a3412 Change load balancer logging to debug
5 years ago
Erik Wilson a17e336993 Use go tcpproxy
5 years ago
Erik Wilson 1833b65fcd
Merge pull request #647 from yamt/remove-proxy-port
5 years ago
Erik Wilson 8ce509ee6b Cleanup tunnel logs
5 years ago
Erik Wilson 23b0797578 Add context to tunnel connect
5 years ago
Erik Wilson b93b4732eb Start endpoint tunnel watch before waiting
5 years ago
YAMAMOTO Takashi dc4ebd4c67 Remove agent proxy config which is no longer used
5 years ago
Erik Wilson e77dc568bb Cleanup tunnel
5 years ago
Erik Wilson 7e6664b684 Add resource version to tunnel endpoint watch
5 years ago
Erik Wilson 034a863696 Cleanup remotedialer tunnel logs
5 years ago
Erik Wilson e0212144e8 Tunnel agent to all servers
5 years ago
Erik Wilson 29865fd9c9 Remove agent proxy
6 years ago
Erik Wilson 2c9444399b Refactor certs
6 years ago
Darren Shepherd c0702b0492 Port to wrangler
6 years ago
Darren Shepherd 4b4dd1b59b
Merge pull request #454 from galal-hussein/node_labels_taints
6 years ago
Wenxuan Zhao f0f57c1e44
Allow using built-in modules
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
galal-hussein 5d8d9e610b Add timeout to hostname check
6 years ago
Darren Shepherd 4ec051d032
Merge pull request #422 from galal-hussein/use_cni_with_docker
6 years ago
galal-hussein 7e1699cda0 Check if hostname is resolvable before running agent
6 years ago
galal-hussein 191ac9371a Add cni plugin to kubelet if docker is used
6 years ago
Darren Shepherd 2950e81c23
Merge pull request #371 from warmchang/nf_conntrack
6 years ago
Darren Shepherd 9db91d7de3
Merge pull request #369 from erikwilson/node-dns
6 years ago
Erik Wilson c9941895d6 Bind kubelet to all interfaces and use webhook auth
6 years ago
William Zhang 22bd3a3ce7 🔧 nf_conntrack module
6 years ago
galal-hussein bdf8a355e1 Add containerd config go template
6 years ago
Erik Wilson f584197bba Save password as text file
6 years ago
Erik Wilson e64c0298f2 Add cert per-node password authentication
6 years ago
Erik Wilson 1b2db423de Add node name to node cert generation
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
Darren Shepherd 046a817818 Add rootless support
6 years ago
galal-hussein 7794528aa1 Add extra flags for server and agent components
6 years ago
Erik Wilson a4df9f4ab1 Kubelet resolv.conf DNS update
6 years ago
Erik Wilson 1d61576e54 Fix linting issues
6 years ago
Darren Shepherd 6e28ede2f8 Fix containerd debug log env var
6 years ago
Darren Shepherd fe9a5b1601 Remove spurious error on start
6 years ago
Fernandez Ludovic e59bd5d489 refactor: creates loadImages function.
6 years ago
Adam Liddell b430513abf Enforce lower case hostname for node, references #160
6 years ago
Darren Shepherd 4475456a83
Update pkg/agent/config/config.go
6 years ago
Julien Salleyron 164b89bce4 fix review.
6 years ago
Julien Salleyron 1895eec684 Preload images
6 years ago
Darren Shepherd ef4e34b289 Remove dead code
6 years ago
Darren Shepherd 70e6ca4ab8 Support external CRI implementations
6 years ago
Sean Duffy 10f1553564 fix 'fannel' typo.
6 years ago
Darren Shepherd cb5e425457 Set /proc/sys/net/ipv4/ip_forward on agent start
6 years ago
Darren Shepherd 04c5567346 Validate that memory cgroup exists
6 years ago
Darren Shepherd 529aa431d1 Adjust debug logging and write containerd logs to a file
6 years ago
Darren Shepherd 3f2a951564 Ensure that br_netfilter module is loaded
6 years ago
Darren Shepherd 287e0f44c9 Prepare for initial release
6 years ago
Darren Shepherd 62c62cc7b4 Continued refactoring
6 years ago