33 Commits

Author SHA1 Message Date
lcavajani
4e13a1db62
Update RBAC apiVersion from v1beta1 to v1 (#1016)
rbac.authorization.k8s.io/v1 is stable since 1.8, updating
it avoids warnings when applying the manifests on recent versions
of Kubernetes (v1.19+).

Signed-off-by: lcavajani <lcavajani@suse.com>
2020-12-21 16:50:02 +05:30
Aaron U'Ren
27857d3a86
Merge pull request #822 from kvaps/fix-821
fix tolerations for >1.16
2020-07-10 01:00:03 -06:00
Christian Frantsen
f476d39d7d
Use same image for container and initContainer (#898) 2020-05-12 17:59:17 +05:30
Aaron U'Ren
ea4f2db6f8
Merge pull request #747 from ufou/enable_bgp_restart_default
Enabling --bgp-graceful-restart by default when the router component is deployed via daemonset
2020-04-25 01:26:48 -05:00
Murali Reddy
6640c65f4a
mount host /run/xtables.lock to kube-router container which will be (#884)
used by iptables command when run by kube-router

Fixes #506
2020-04-24 20:27:29 +05:30
kvaps
c61dc8ff57 fix tolerations 2019-12-16 14:14:15 +01:00
Oleg
52e338d859 Add PriorityClass and docs update (#816)
Signed-off-by: Oleg Selin <oleg.selin@renhealth.com>
2019-12-05 23:26:03 +05:30
Mark Deckert
b54b80cb56 update to apps/v1 and add selector (#759) 2019-08-01 14:02:32 +05:30
Luke Alexander
8f0bcfb2ac
Enabling --bgp-graceful-restart by default when the router component is deployed via daemonset 2019-06-24 16:35:25 +01:00
Mark Deckert
c2f893f64f default cni config to list format (#690)
* default cni config to list format

* change cni version field to 0.3.0
2019-04-02 10:22:59 +05:30
Eugene Klimov
bdfdc127e2 when use multiple registries for pulling images in container runtime, we need specify which registry will use exacly (#645)
because https://quay.io/repository/cloudnativelabs/kube-router already exists and contains old kube-router image
2019-01-23 09:44:52 +05:30
Murali Reddy
d9570c5872
all toleration for nodes with taint node.kubernetes.io/not-ready (#558)
Fixes #547
2018-10-25 12:49:37 +05:30
Andrew Sy Kim
1c7866cd91 Allow CNI plugin to be disabled (#443) 2018-06-04 19:17:22 +07:00
Vladimir Pouzanov
ed34187113 Fixed the /var/run/docker.sock permissions in the DSR example (#368)
* Fixed the /var/run/docker.sock permissions in the DSR example

* Set both mounts to read-only
2018-04-05 09:01:10 +05:30
Murali Reddy
d7d0223238
[WIP] support for Hostport (#335)
* Support for hostport
- remove the hardcode cni conf file path
- move it to env variable
- keep it backward compatible even if env variable is not present
- support both .conf and .conflist
- daemonset with hostport support

Fixes: #168

* add unit test for InsertPodCidrInCniSpec for .conflist

* add documentation for hostport
2018-03-15 23:06:41 +05:30
Joakim Karlsson
336989088a
reverted rollingUpdate strategy (#300)
* reverted rollingUpdate strategy & added docs for how to achieve it instead
2018-02-07 15:19:30 +01:00
Joakim Karlsson
38f45a4a1c chnged max unavail to 1 according to #171 2018-02-06 11:45:56 +01:00
Joakim Karlsson
deba3fa2fe mutex on stats 2018-02-06 11:15:09 +01:00
Joakim Karlsson
311d726562 cleanup health checks daemonsets 2018-02-06 11:03:32 +01:00
Joakim Karlsson
bb49531d34 liveness checks 2018-02-06 10:50:55 +01:00
Joakim Karlsson
23f43135a0 Updated daemonsets to include health checks 2018-02-05 12:21:11 +01:00
Joakim Karlsson
42f717774d Updated generic cluster docs & daemonset (#284)
* fixed server adress in generic examples

* updated generic docs

* removed unnecessary mounts

* removed some steps not needed

* some clarification on functionality

* updated description

* updated description

* enriching docs with usefull links

* added note about containerised kubelet

* fixed link

* final touches

* one last link
2018-01-14 17:43:38 +05:30
Joakim Karlsson
1edee933af Documentation how to install kube-router on generic clusters (#281)
* generic deployment work

* better docs

* more docs

* prettify

* more docs

* more docs

* more docs

* more docs

* tidy up

* fixed mount paths

* fixed manifests

* better clarification of scope
2018-01-12 06:43:32 +05:30
Murali Reddy
6d432681de support for direct server return (#204)
new annotation is added `kube-router.io/service.dsr=tunnel` to enable DSR

Fixes #40
2017-10-24 18:20:58 +05:30
Bryan Zubrod
7c489a6e26 Update DaemonSet manifests (#188)
* Update DaemonSet, etc manifests

- Remove beta annotation versions of init containers
- Add YAML InitContainers spec to all manifests
- Add CNI config ConfigMap to all manifests
- Make indentation, volume names, etc consistent
- Set all kubeconfig volumes to readonly

* Use IfNotPresent image pull policy for vagrant testing

- Avoids an error with busybox init container image fetching
2017-10-08 18:40:21 -05:00
Bryan Zubrod
e19f2a69c2 BGP peer password auth, consistent configurations (#164)
* Add --peer-router-password option
Also:
- Consolodated NRC peer fields into a []config.NeighborConfig
  to store address, asn, and password for each peer.
- BREAKING: --peer-router and --peer-asn flags now take slices
  rather than strings.

* Add password auth node annotation for external peer

* Update documentation

New CLI flags and annotations
Renamed ones as well

* Consistent CLI flags, annotations, and peer config

BGP configs now all accept multiple values and are treated consistently.
Other refactoring was done as well.

* Stop bgpserver on peering errors to avoid listener leak

* Clarify BGP doc sections

Fix some typos
2017-09-24 23:21:12 -05:00
Murali Reddy
6ea240f6f4 Fix image refered in kubeadm daemonsets to release/latesr versions 2017-09-04 19:36:52 +05:30
Murali Reddy
d3356513e3 use kube-router as kube-proxy replacement
Fixes #118
2017-08-11 15:36:46 +05:30
Murali Reddy
1786a5ea32 kubeadm RBAC fixes and cluster steup with kubeadm instructions
Fixes #115
2017-08-10 18:11:31 +05:30
Murali Reddy
3b1257c0a3 adding explicit --kubeconfig param in example daemonset manifests
We removed implicit fallback to use /var/lib/kube-router/kubeconfig with the commit ccbba72

So kube-router takes explicit --master or --kubeconfig argument or implicitly try to use incluster configuration
2017-08-01 16:59:45 +05:30
Bryan Zubrod
dca10e9464 daemonset: Critical pod, toleration, and standardization improvements (#56)
* Standardize k8s-app=kube-router label
* Add tolerations to run on master/critical-only nodes
* Add critical pod annotation
2017-07-13 00:32:36 -05:00
Murali Reddy
b7cb427694 Example daemonset manifest that configures kube-router to advertise cluster ip and pod CIDR to
external routers
2017-05-21 06:50:42 +05:30
Murali Reddy
231e5cee71 enable kube-router to be run as daemonset 2017-04-27 03:08:37 +05:30