Matthew Mosesohn
05dc2b3a09
Use K8s 1.14 and add kubeadm experimental control plane mode ( #4514 )
* Use K8s 1.14 and add kubeadm experimental control plane mode
This reverts commit d39c273d96
.
* Cleanup kubeadm setup run on first master
* pin kubeadm_certificate_key in test
* Remove kubelet autolabel of kube-node, add symlink for pki dir
Change-Id: Id5e74dd667c60675dbfe4193b0bc9fb44380e1ca
5 years ago
Andreas Krüger
656633f784
YAMLLint everything ( #4576 )
5 years ago
Maxime Guyot
a6dc50e7cb
Add host information for canal readiness probe ( #4548 )
5 years ago
Maxime Guyot
ec3daedf9e
Revert "Fix for unknown 'kubernetes.io' or 'k8s.io' labels specified with --node-labels ( #4320 )" ( #4553 )
This reverts commit 586ad89d50
.
5 years ago
andreyshestakov
78f6f6b889
Mark "Calico | Set global as_num" as "unchanged" ( #4539 )
This command executes with "--skip-exists" parameter, so it is idempotent
and should not be marked as "changed".
5 years ago
Matthew Mosesohn
c5fb734098
Switch calicoctl from a container to a binary ( #4524 )
5 years ago
Matthew Mosesohn
d39c273d96
Revert "Use K8s 1.14 and add kubeadm experimental control plane mode ( #4317 )" ( #4510 )
This reverts commit 316508626d
.
5 years ago
Matthew Mosesohn
316508626d
Use K8s 1.14 and add kubeadm experimental control plane mode ( #4317 )
* Use Kubernetes 1.14 and experimental control plane support
* bump to v1.14.0
5 years ago
Andreas Krüger
5e0249ae7c
Add HAProxy as internal loadbalancer ( #4480 )
5 years ago
Maxime Guyot
353afa7cb0
Fix ipip: false in calico v3 ( #4473 )
5 years ago
Neven Miculinic
a30ad1e5a5
Added generic CNI network plugin ( #4322 )
* Added generic CNI network plugin
* Added CNI network plugin documentation
* added necessary fix
5 years ago
Robert Neumann
586ad89d50
Fix for unknown 'kubernetes.io' or 'k8s.io' labels specified with --node-labels ( #4320 )
* Fix the file path for all.yml and k8s-cluster.yml
* Fix --node-labels namespace error "unknown labels specified"
* Update templates and configs kubelet node-labels
5 years ago
Maxime Guyot
b15f3e182d
add default routing to canal and disable bird checks ( #4468 )
Co-Author: Paweł Skrzyński
5 years ago
Matthew Mosesohn
4fe2aa6bf7
Use install_cni init container for cni copy for calico/canal ( #4416 )
5 years ago
ml
483f1d2ca0
Calico felix - Fix jinja2 boolean condition ( #4348 )
* Fix jinja2 boolean condition
* Convert all felix variable to booleans instead.
5 years ago
chadswilson
d469282f1c
add blockSize to IPPool spec for Calico >= v3.3.0 ( #4224 )
* add blockSize to IPPool spec for Calico >= v3.3.0
* fix "cidr" spec in Calico IPPool resource for my PR
5 years ago
Matthew Mosesohn
acbf3db233
Remove hard dependence on facts for all nodes ( #4304 )
* Remove hard dependence on facts for all nodes
* Update main.yaml
* Update main.yaml
5 years ago
Anupam Basak
9e8e069b23
remove kube bridge on reset ( #4250 )
5 years ago
hikoz
67832aada9
changed_when:false ( #4189 )
5 years ago
Wong Hoi Sing Edison
1c12c19150
weave: Upgrade to 2.5.1 ( #4248 )
Upstream Changes:
- weave 2.5.1 (https://github.com/weaveworks/weave/releases/tag/v2.5.1 )
Our Changes:
- Sync templates with upstream changes
5 years ago
Chad Swenson
8872b2e0c6
Fix calico when kube_override_hostname is set ( #4235 )
This fixes an issue where the `nodename` in calico's cni config json can fall out of sync with the k8s node name used by the calico pod if `kube_override_hostname` is set
5 years ago
hikoz
9a91ef8628
change permission after unarchive ( #4191 )
5 years ago
Danny Kulchinsky
226d5ed7de
[Calico] Define FELIX_KUBENODEPORTRANGES when kube-proxy in ipvs mode ( #4173 )
* Define FELIX_KUBENODEPORTRANGES when kube-proxy in ipvs mode
* ensure kube_apiserver_node_port_range is defined
5 years ago
Sorin Sbarnea
316b73178d
Add timeout to Get current version of calico cluster version ( #4149 )
Avoid waiting forever for this task that should be very quick.
Fixes : #4148
5 years ago
Erwan Miran
f6d60a7e89
Calico: Ability to define the default IPPool CIDR (instead of kube_pods_subnet) ( #4131 )
* Calico: Ability to define the default IPPool CIDR (instead of kube_pods_subnet)
* Documentation for calico_pool_cidr (and calico_advertise_cluster_ips which has been forgotten...)
5 years ago
wangxf
a096761306
[PR-Calico]Support calico 3.4.0 ( #4102 )
* Suport calico 3.4.0
Signed-off-by: wangxf1987 <xiaofeix.wang@gmail.com>
* Remove symlink + cni conflist template when 3.3.0+, handle Canal, addition of install-cni: sidecar(3.3.0) or initontainer(3.4.0), KUBECONFIG_FILEPATH, calico_cert_dir, advertise cluster ips
* scheduler.alpha.kubernetes.io/critical-pod deprecated since 1.12
5 years ago
Erwan Miran
556a8d68bc
Set IP env var to autodetect when calico_ip_auto_method is defined ( #4105 )
5 years ago
Douglas Hellinger
4479cc48fe
Introduce `calico_upgrade_url` var for Calico upgrade tool.
So that binary can be sourced from anywhere - not only github.
5 years ago
Danny Kulchinsky
257019d424
Mount host's xtable lock and enable calico lokcing for <v3.2.1
5 years ago
ihard
30a9149b52
add vars for cilium init container ( #3893 )
* add vars for cilium init container
* make yamllint happy
* add var cilium_init in downloads
6 years ago
Zohar Mamedov
456596710e
kube-router manifest DSR adjustments ( #3828 )
6 years ago
Andreas Krüger
d5ce5874e8
Streamline path to certs dir ( #3836 )
* Streamline path to certs dir
* More fixes
* Set path to etcd certs in kubernetes defaults instead
6 years ago
Rong Zhang
225f765b56
Upgrade kubernetes to v1.13.0 ( #3810 )
* Upgrade kubernetes to v1.13.0
* Remove all precense of scheduler.alpha.kubernetes.io/critical-pod in templates
* Fix cert dir
* Use kubespray v2.8 as baseline for gitlab
6 years ago
Erwan Miran
2c1dd69891
Reset tasks specific to Calico ( #3813 )
6 years ago
Rong Zhang
e0781483fa
Use download binary instead of copying from the container ( #3786 )
6 years ago
Joost Cassee
f2635776cd
Make Calico Felix log level configurable ( #3781 )
6 years ago
Erwan Miran
d33434647b
Fix node selector for contiv etcd proxy ( #3765 )
6 years ago
Oleg Dolya
2aefa25448
fix args peer router ips and asns ( #3644 )
6 years ago
Johnny Halfmoon
53bde23a5e
fixed ansible include/import inheritance issue ( #3716 )
6 years ago
Wong Hoi Sing Edison
9ebdf0e3cf
weave: Upgrade to 2.5.0 ( #3660 )
* weave: Upgrade to 2.5.0
Upstream Changes:
- weave 2.5.0 (https://github.com/weaveworks/weave/releases/tag/v2.5.0 )
- Adds support for Kubernetes `hostPort` mapping
- Adds support for Kubernetes `ipBlock` NetworkPolicy feature
Our Changes:
- Templates sync with upstream manifests
- Remove legacy nodePort fix
* BC for weave < 2.5.0
6 years ago
Mark Eisenblätter
7deb842030
calico-node: add prometheus annotations ( #3645 )
add prometheus annotations to calico-node if
calico_felix_prometheusmetricsenabled is enabled.
This will allow a kubernetes_sd to automaticly find the pods and start
scraping.
6 years ago
Ryler Hockenbury
e8901a2422
Apply linux node selector to coreDNS deployment ( #3688 )
* Apply linux node selector to coreDNS deployment
* Remove comment before linux node selector on manifests
* mend
6 years ago
Egor
5c7eef70b4
Fix kube-router annotations: add conditions ( #3670 )
6 years ago
Louis Woods
bc9e14a762
Adds support for Multus (multiple interfaces) CNI plugin ( #3166 )
* Adds support for Multus (multiple interfaces) CNI plugin
Multus is a latin word for "Multi". As the name suggests, it acts as a
Multi plugin in Kubernetes and provides multiple network interface
support in a pod. Multus uses the concept of invoking delegates by
grouping multiple plugins into delegates and invoking them in the
sequential order of the CNI configuration file provided in json format.
* Change CNI version (0.1.0->0.3.1) of Contiv to be compatible with Multus
6 years ago
Robert Liotta
2a00c931e4
Added the missing environment for proxy for get_url ( #3603 )
* Added the missing environment for proxy for get_url
* Update upgrade.yml
* Fixed spaces
* Fixed spaces
* Update upgrade.yml
6 years ago
Erwan Miran
4f12ba00d1
Fix calico peering with router(s) ( #3547 )
6 years ago
Egor
ccc3f89060
Add kube-router annotations ( #3533 )
6 years ago
Matthew Mosesohn
127969d65f
Align node-role value for kubeadm compatibility ( #3558 )
kubeadm sets node label node-role.kubernetes.io/master=''
and this is not configurable. We should use it everywhere.
6 years ago
Erwan Miran
87193fd270
Fix ansible syntax to avoid ansible warnings (one more) ( #3536 )
* warning on meta flush_handlers
* avoid rm
* avoid "Module remote_tmp /root/.ansible/tmp did not exist and was created with a mode of 0700, this may cause issues when running as another user. To avoid this, create the remote_tmp dir with the correct permissions manually" warning on subsequent tasks using blockinfile
* is match
6 years ago
Erwan Miran
4d2b6b71f2
Fix contiv api certificate generation ( #3531 )
6 years ago