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
Andreas Krüger
ddffdb63bf
Remove non-kubeadm deployment ( #3811 )
* Remove non-kubeadm deployment
* More cleanup
* More cleanup
* More cleanup
* More cleanup
* Fix gitlab
* Try stop gce first before absent to make the delete process work
* More cleanup
* Fix bug with checking if kubeadm has already run
* Fix bug with checking if kubeadm has already run
* More fixes
* Fix test
* fix
* Fix gitlab checkout untill kubespray 2.8 is on quay
* Fixed
* Add upgrade path from non-kubeadm to kubeadm. Revert ssl path
* Readd secret checking
* Do gitlab checks from v2.7.0 test upgrade path to 2.8.0
* fix typo
* Fix CI jobs to kubeadm again. Fix broken hyperkube path
* Fix gitlab
* Fix rotate tokens
* More fixes
* More fixes
* Fix tokens
6 years ago
Rong Zhang
ddc19f43ba
Add cloud provider config to kubeadm deployments ( #3766 )
6 years ago
Egor
9a5438ce2f
Fix kubeadm-config: add kube_network_node_prefix ( #3761 )
6 years ago
Rong Zhang
0cfcd39d55
Switch to kubeadm deployment mode ( #3461 )
* Switch to kubeadm deployment mode
Discuss:https://github.com/kubernetes-incubator/kubespray/issues/3301
* Add non-kubeadm upgrage to kubeadm cluster
6 years ago
Danny Kulchinsky
9ae2eefb9a
Add resource-container flag to kube-proxy manifest ( #3519 )
* Add resource-container flag to kube-proxy manifest
* add resourceContainer: "" to kubeadm kube-proxy configs
6 years ago
Erwan Miran
3fafa583d1
hostnameOverride on a per-node basis ( #3708 )
6 years ago
Dann
98d766c68e
Moves apiserver port to bindPort when using controlPlaneEndpoint ( #3449 )
6 years ago
Erwan Miran
7bec169d58
Fix ansible syntax to avoid ansible deprecation warnings ( #3512 )
* failed
* version_compare
* succeeded
* skipped
* success
* version_compare becomes version since ansible 2.5
* ansible minimal version updated in doc and spec
* last version_compare
6 years ago
Rong Zhang
76fe84fe93
Use imageRepository instead of the unifiedControlPlaneImage ( #3484 )
6 years ago
LiuDui
192f7967c9
Remove excess space ( #3421 )
6 years ago
Andreas Krüger
d6ebe8c3e7
Sync manifests with kubeadm ( #3383 )
6 years ago
Jan Wozniak
a330b281e8
Check `openstack_cacert` for empty string
6 years ago
Andreas Kruger
cac485756b
Mount basic auth or token auth dirs to support it on kubeadm deployments
6 years ago
Andreas Kruger
1c999b2a61
Move kube_kubeadm_controller_extra_args to controllerManagerExtraArgs section. It was placed in controllerManagerExtraVolumes
6 years ago
Andreas Kruger
8d1c0c469c
Added missing enable-aggregator-routing option
6 years ago
Andreas Kruger
26d7380c2e
Sync manifests from non-kubeadm to kubeadm deploy
6 years ago
rongzhang
77e08ba204
Support dynamic kubelet config
https://kubernetes.io/blog/2018/07/11/dynamic-kubelet-configuration/
6 years ago
Erwan Miran
af74d85b7d
Remove --insecure-bind-address when insecure-port=0
6 years ago
Chad Swenson
97e5f28537
Revert "Remove insecure-port and insecure-bind-address when possible"
6 years ago
Erwan Miran
a5509fc2ce
Remove insecure-port and insecure-bind-address when possible
6 years ago
rongzhang
435e098751
Fix feature-gates
6 years ago
mlushpenko
8e95974930
Fix ports for kubeadm client and master configs for ha setups
6 years ago
rongzhang
9eade647e6
Fix kubeadm lb
6 years ago
Erwan Miran
52ab54eeea
Fix missing quotes for audit-log-path and wrong placement of feature-gates
6 years ago
Takashi Okamoto
d407a590a6
container_manager variable to specify runtime.
6 years ago
Takashi Okamoto
236f066635
kubeadm cri-o support.
6 years ago
rongzhang
5a4352657d
Fix install audit failed
1.fix audit log not write
2.fix Parameter not recognized
3.delete kubedm futuregates auditing and use apiServerExtraArgs
6 years ago
Samuele Chiocca
f13bc796d9
added nodePortAddresses on kubeadm conf v1alpha2 (not present on v1alpha1)
6 years ago
Erwan Miran
c34900e569
Define apiserver flags directly instead of relying on auditPolicy section in order to have the ability to redirect audit log to stdout with kubeadm
6 years ago
rongzhang
59176ebbb9
Add kubeadm controlplaneEndpoint
Nginx LB(default)
Other LB by kubeadm controlplane
6 years ago
Erwan Miran
54548d3b95
kubeadm mounts the hostpaths itself
6 years ago
Erwan Miran
58d4d65fab
minor variable fix and reuse + handle auditlog redirected to stdout
6 years ago
rongzhang
2ffc1afe40
Support audit
6 years ago
Rong Zhang
a11e1eba9e
Upgrade kubernetes to V1.11.x ( #3078 )
Upgrade Kubernetes to V1.11.2
The kubeadm configuration file version has been upgraded from v1alpha1 to v1alpha2
Add bootstrap kubeadm-config.yaml with external etcd
6 years ago
Robert Everson
4eadf3228e
Only add admission plugins if defined
6 years ago
Robert Everson
6ed65d762b
Separate out plugins into 2 variables
6 years ago
Robert Everson
ac18f6cf8b
Add support for admission controllers in 1.10 and above
6 years ago
southquist
c685dc493f
allow for setting the cacert on openstack cloud provider
7 years ago
Matthew Mosesohn
61e97251a5
Improve variable handling for disabling etcd events cluster
6 years ago
Matthew Mosesohn
7c93e71801
Upgrade k8s to 1.10.2 ( #2748 )
* Upgrade k8s to 1.10.2
Bumped etcd version to 3.2.16 as recommended
* Add ipvs fix for v1.10
* change flannel addons test to ha
7 years ago
woopstar
86e3506ae6
Etcd cluster setup makeover
The current way to setup the etc cluster is messy and buggy.
- It checks for cluster is healthy before the cluster is even created.
- The unit files are started on handlers, not in the task, so you mess with "flush handlers".
- The join_member.yml is not used.
- etcd events cluster is not configured for kubeadm
- remove duplicate runs between running the role on etcd nodes and k8s nodes
7 years ago
Andreas Kruger
af5f376163
Revert
7 years ago
woopstar
004b0a3fcf
Fix merge conflict
7 years ago
Dann Bohn
1d0415a6cf
fixes typo in kube_override_hostname for kubeadm
7 years ago
Dann Bohn
9fa995ac9d
only sets nodeName in kubeadm-config when kube_override_hostname is set
7 years ago
Bharat Kunwar
13e47e73c8
Update kubeadm-config.yaml.j2
As requested
7 years ago
Bharat Kunwar
6c4e5e0e3d
Update kubeadm-config.yaml.j2
7 years ago
woopstar
40c0f3756b
Encapsulate item instead of casting to string
7 years ago