MarkusTeufelberger
73c2ff17dd
Fix Ansible-lint error [E502] ( #4743 )
5 years ago
MarkusTeufelberger
e67f848abc
ansible-lint: add spaces around variables [E206] ( #4699 )
5 years ago
Matthew Mosesohn
741de6051c
Fix nodeselectors for contiv and nginx-ingress ( #4662 )
* Fix nodeselectors for contiv and nginx-ingress
Change-Id: Ib3eb6bd87193c69a90ee944c9164a0b6792c79ba
* Set kube proxy mode to iptables for addons task
Change-Id: Iff71a71f672405c74b4708c71db15ddc4391a53a
5 years ago
MarkusTeufelberger
88d919337e
ansible-lint: don't compare to empty string [E602] ( #4665 )
5 years ago
grialeyur
82119ca923
Add support calico kubernetes datastore and typha. ( #4498 )
* Add support calico kubernetes datastore and typha.
* Add typha_enabled to kubespray-defaults.
5 years ago
Matthew Mosesohn
fc072300ea
Purge legacy cleanup tasks from older than 1 year ( #4450 )
We don't need to support upgrades from 2 year old installs,
just from the last major version.
Also changed most retried tasks to 1s delay instead of longer.
5 years ago
MarkusTeufelberger
424e59805f
ansible-lint: Fix commands that are also available as module ( #4619 )
5 years ago
Andreas Krüger
d588532c9b
Update probe timeouts, delays etc. ( #4612 )
* Fix merge conflict
* Add check delay
* Add more liveness and readiness options to metrics-server
5 years ago
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
5 years ago
Zohar Mamedov
456596710e
kube-router manifest DSR adjustments ( #3828 )
5 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