Commit Graph

435 Commits (6c6d87d1b02fb7ad7edb9cf09984edef826956bc)

Author SHA1 Message Date
Derek Nola 944f811dc5
v1.27.1 CLI Deprecation (#7311)
2 years ago
Roberto Bonafiglia 3e3512bdae Updated kube-route version to move the iptables ACCEPT default rule at the end of the chain
2 years ago
Brad Davidson 2992477c4b Debounce kubernetes service endpoint updates
2 years ago
Brad Davidson ece4d8e45c Fix tests to not hide failure location in dummp assert functions
2 years ago
Brad Davidson e54ceaa497 Fix issue with stale connections to removed LB server
2 years ago
Roberto Bonafiglia 15ee88964b Added multiClusterCidr feature
2 years ago
Daishan Peng b7f90f389c
Wait for kubelet port to be ready before setting (#7041)
2 years ago
Derek Nola d218068f34
Adds a warning about editing to the containerd config.toml file (#7057)
2 years ago
Roberto Bonafiglia e098b99bfa
Update flannel and kube-router (#7039)
2 years ago
Roberto Bonafiglia b8e69712a3 Updated flannel version to v0.21.0
2 years ago
Paul Donohue 290d7e8fd1 Fix access to hostNetwork port on NodeIP when egress-selector-mode=agent
2 years ago
Brad Davidson 992e64993d Add support for kubeadm token and client certificate auth
2 years ago
Brad Davidson 3c324335b2 Add utility functions for getting kubernetes client
2 years ago
Derek Nola 0d4caf4e24
Wait for cri-dockerd socket (#6812)
2 years ago
Brad Davidson 3cb6fa5cc7 Set cri-dockerd version at build time
2 years ago
Brad Davidson 89f7062431 Add build tag to disable cri-dockerd
2 years ago
Brad Davidson f54b5e4fa0 Fix CI tests
2 years ago
Brad Davidson 0c9b43746b Preload iptable_filter/ip6table_filter
2 years ago
Hussein Galal f8b661d590
Update to v1.26.0-k3s1 (#6370)
2 years ago
Derek Nola d723775792
Remove deprecated flags in v1.26 (#6574)
2 years ago
Brad Davidson 2835368ecb Bump k3s-root and remove embedded strongswan support
2 years ago
Manuel Buil 1beecb2e2d
Merge pull request #6531 from manuelbuil/fixLogs
2 years ago
Brad Davidson 6f2b21c5cd Add rootless IPv6 support
2 years ago
Manuel Buil 5188443988 Fix log for flannelExternalIP use case
2 years ago
thomasferrandiz b7d217dbf3
Merge pull request #6405 from thomasferrandiz/log-kube-router-version
2 years ago
Manuel Buil 8aff25e192
Merge pull request #6403 from manuelbuil/logsFlannelExternalIP
2 years ago
Manuel Buil 1682172ac1 Add some helping logs to avoid wrong configs
2 years ago
Roberto Bonafiglia 87c7ea81f0 Updated flannel version to 0.20.1
2 years ago
Thomas Ferrandiz 68ac954489 log kube-router version when starting netpol controller
2 years ago
Petri Kivikangas 6156059136 Convert containerd config.toml.tmpl Linux template to v2 syntax
2 years ago
Brad Davidson 76729d813b Set default kubeletPort
2 years ago
Brad Davidson 269563e4d2 Check for RBAC before starting tunnel controllers
2 years ago
Brad Davidson f2585c1671 Add --flannel-external-ip flag
2 years ago
Derek Nola 06d81cb936
Replace deprecated ioutil package (#6230)
2 years ago
Brad Davidson b411864be5 Handle custom kubelet port in agent tunnel
2 years ago
Manuel Buil 5164cf5345 Add flannel-external-ip when there is a k3s node-external-ip
2 years ago
Roberto Bonafiglia 26e9405767 Added warning message for flannel backend additional options deprecation
2 years ago
Derek Nola cd49101fc8
Convert deprecated flags to fatal errors for v1.25 (#6069)
2 years ago
Roberto Bonafiglia a30971efaa Updated flannel to v0.19.1
2 years ago
Brad Davidson 4aca21a1f1 Add cri-dockerd support as backend for --docker flag
2 years ago
Brad Davidson b1fa63dfb7 Revert "Remove --docker/dockershim support"
2 years ago
Roberto Bonafiglia d90ba30353 Added NodeIP autodect in case of dualstack connection
2 years ago
Derek Nola 118a68c913
Updates to CLI flag grouping + deprecated flag warnings. (#5937)
2 years ago
Brad Davidson db2ba7b61d Don't enable unprivileged ports and icmp on old kernels
2 years ago
Brad Davidson bd5fdfce33 Fix server systemd detection
2 years ago
Brad Davidson afee83dda2 Bump remotedialer
2 years ago
Olli Janatuinen 2968a83bc0 containerd: Enable enable_unprivileged_ports and enable_unprivileged_icmp by default
2 years ago
Brad Davidson 3399afed83 Ensure that CONTAINERD_ variables are not shadowed by later entries
2 years ago
Derek Nola a9b5a1933f
Delay service readiness until after startuphooks have finished (#5649)
2 years ago
Roberto Bonafiglia a693071c74
Merge pull request #5552 from sjoerdsimons/sjoerd/flannel-wireguard-mode
2 years ago
Manuel Buil d4522de06a
Merge pull request #5656 from manuelbuil/AddFlannelCniConfFile
2 years ago
Brad Davidson b550e1183a Remove control-plane egress context and fix agent mode.
3 years ago
Brad Davidson d3242bea3c Refactor egress-selector pods mode to watch pods
3 years ago
Manuel Buil c705d34804 Add FlannelConfCNI flag
3 years ago
Sjoerd Simons 8643576985 Add ability to pass configuration options to flannel backend
3 years ago
Brad Davidson 9d7230496d Add support for configuring the EgressSelector mode
3 years ago
Brad Davidson 4a3d283bc1 Remove --docker/dockershim support
3 years ago
Brad Davidson c8447dca56 Bump golang to 1.18.1
3 years ago
Brad Davidson e6385b2341 Update CNI version in config file
3 years ago
Brad Davidson 1d4f995edd Move auto-generated resolv.conf out of /tmp to prevent accidental cleanup
3 years ago
Manuel Buil 314e3f56dc Check if user has a correct cluster-cidr and service-cidr config
3 years ago
Brad Davidson ce5b9347c9 Replace DefaultProxyDialerFn dialer injection with EgressSelector support
3 years ago
Brad Davidson e763fadbba Ensure that WaitForAPIServerReady always re-dials through the loadbalancer
3 years ago
Brad Davidson 13ca10664f Use ListWatch helpers instead of bare List/Watch
3 years ago
Michal Rostecki 5f2a4d4209 server: Allow to enable network policies with IPv6-only
3 years ago
Michal Rostecki c0045f415b agent(netpol): Explicitly enable IPv4 when necessary
3 years ago
Brad Davidson a69d635c9b Drop unnecessary intermediate variable
3 years ago
Brad Davidson 333311c7ee Add systemd cgroup controller support
3 years ago
Brad Davidson 418c3fa858
Fix issue with datastore corruption on cluster-reset (#5515)
3 years ago
Brad Davidson b12cd62935 Move IPv4/v6 selection into helpers
3 years ago
Brad Davidson 7e447692c5 Fix issue with RKE2 servers hanging on listing apiserver addresses
3 years ago
Dirk Müller fa0fa8b1d0 Update golangci-lint to 1.45.2
3 years ago
Roberto Bonafiglia f04c602c07 Updated wireguard-native options and added log message
3 years ago
Roberto Bonafiglia 47abaf362e Added new flannel backend to use wireguard from flannel
3 years ago
Michal Rostecki 9350016de8
Merge pull request #5387 from vadorovsky/kube-router-dual-stack
3 years ago
Brad Davidson 49544e0d49 Allow agents to query non-apiserver supervisors for apiserver endpoints
3 years ago
Michal Rostecki c707948adf netpol: Add dual-stack support
3 years ago
Euan Kemp c2e846dc16 Allow using flannel wireguard backend in a custom config
3 years ago
Roberto Bonafiglia 4afeb9c5c7
Merge pull request #5325 from rbrtbnfgl/fix-etcd-ipv6-url
3 years ago
Roberto Bonafiglia 06c779c57d Fixed loadbalancer in case of IPv6 addresses
3 years ago
Luther Monson 13191da58a add a wrapper around the containerd.New call to fix and pass the proper npipe connector
3 years ago
Roberto Bonafiglia dda409b041 Updated localhost address on IPv6 only setup
3 years ago
Roberto Bonafiglia ff85faa7de Changed ipv6 config on flannel setup
3 years ago
Roberto Bonafiglia 073f155fc4 Added ipv6 only support with flannel
3 years ago
Roberto Bonafiglia 93346904cf
Merge pull request #5215 from rbrtbnfgl/flannel_0.17
3 years ago
Roberto Bonafiglia 3fabc0703b
Merge pull request #4450 from olljanat/support-ipv6-only
3 years ago
Roberto Bonafiglia f3d81544b1 Fixed log in case of ipv6 only config
3 years ago
Roberto Bonafiglia 0c83f50c4c Added switch case to check netMode
3 years ago
Roberto Bonafiglia 2c39febdd2 Fixed in case of empty address
3 years ago
Roberto Bonafiglia d7d4c891e2 Updated flannel to 0.17
3 years ago
Luther Monson 9a849b1bb7
[master] changing package to k3s-io (#4846)
3 years ago
Brad Davidson f090bf2d5e Bootstrap the executor even when the agent is disabled
3 years ago
Brad Davidson 5014c9e0e8 Fix adding etcd-only node to existing cluster
3 years ago
Manuel Buil 062fe63dd1 Fix annoying netpol log
3 years ago
Olli Janatuinen 966f4d6a01 Add support for IPv6 only mode
3 years ago
Michal Rostecki 4fed9f4052 netpol: Use kube-router as a library
3 years ago
Brad Davidson bc7635f01f Move containerd wait into exported function
3 years ago
Roberto Bonafiglia 8eded2749a Added debug log for IPv6 Masquerading rule
3 years ago
Roberto Bonafiglia 111c1669fc Added flannel-ipv6-masq flag to enable IPv6 nat
3 years ago
Roberto Bonafiglia 2253f64b2a Added iptables masquerade rules for ipv6 on flannel
3 years ago
Brad Davidson 87395e32d6 Update modules for Kubernetes v1.23
3 years ago
Manuel Buil 4eb282edac Move flannel logs to logrus
3 years ago
Brad Davidson a70487d5ae Update wharfie usage in windows code path
3 years ago
Alexey Medvedchikov 8f389ab030
Include node-external-ip in serving-kubelet.crt SANs (#4620)
3 years ago
Brad Davidson 7d3447ceff Bump wharfie to v0.5.1 and use shared decompression code
3 years ago
Manuel Buil 7685da3e24 Improve flannel logging
3 years ago
Brad Davidson 5ab6d21a7d
Increase agent's apiserver ready timeout (#4454)
3 years ago
Manuel Buil 5d168a1d59 Allow svclb pod to enable ipv6 forwarding
3 years ago
Luther Monson 36c6634cce
[master] updating to new signals package in wrangler (#4399)
3 years ago
Deshi Xiao f1622129e4 refactor: Use plain channel send or receive
3 years ago
Brad Davidson 5acd0b9008 Watch the local Node object instead of get/sleep looping
3 years ago
Brad Davidson 3fe460d080 Block scheduler startup on untainted node when using embedded CCM
3 years ago
Brad Davidson 5a923ab8dc Add containerd ready channel to delay etcd node join
3 years ago
Manuel Buil 87524a7ac7 Enable the inheritance of settings for ipv6
3 years ago
Joe Kralicky debb508643
Nvidia container runtime discovery in containerd config template (#3890)
3 years ago
Manuel Buil 9fcd79baae Add tests to the dual-stack PR and enable dual-stack with flannel backend
3 years ago
Manuel Buil 681058bb40 Add dual-stack support
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
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 e95b75409a Fix lint failures
3 years ago
Brad Davidson 641ab26fde Update containerd to 1.5
3 years ago
Brad Davidson e204d863a5 Update Kubernetes to v1.22.1
3 years ago
Hussein Galal e322924781
Reset load balancer state during restoraion (#3877)
3 years ago
Brad Davidson dfd4e42e57 Wrap context with lease before importing images
3 years ago
Brad Davidson 5ab3590d9b Improve config retrieval messages
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
William Zhang a4c992ce52 🐳 burp to inetaf/tcpproxy
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
Brad Davidson cbacd7107e Allow passing targeted environment variables to containerd
3 years ago
Jamie Phillips 82394d7d36 Basic windows agent that will join a cluster without CNI.
3 years ago
Derek Nola ef23c6c548
Redux: Change containerd image leases from context lifespan to permanent (#3464)
4 years ago
Derek Nola b74c499709
Revert "Change containerd image leases from 24h to permanent (#3452)" (#3461)
4 years ago
Derek Nola 86b3ba8dba
Change containerd image leases from 24h to permanent (#3452)
4 years ago
Brian Downs 88f95ec409
Send systemd notifications for both server and agent (#3430)
4 years ago
Manuel Buil 243fd14cf1 Change Replace with ReplaceAll function
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
Brad Davidson 7e175e8ad4 Handle conntrack-related sysctls in supervisor agent setup
4 years ago
Brad Davidson 079620ded0 Fix passthrough of SystemDefaultRegistry from server config
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
Hussein Galal f410fc7d1e
Invoke cluster reset function when only reset flag is passed (#3276)
4 years ago
Hussein Galal 2db3bf7a89
Export CriConnection function (#3225)
4 years ago