刘旭
cf4dd645a7
fix --etcd-servers-overrides invalid ( #3470 )
6 years ago
Rong Zhang
1ea7ec3189
Fix nginx_config_dir value not defined when use reset.yml ( #3524 )
6 years ago
Loic Gouarin
36322901a6
fix kube-controller-manager config with openstack-cacert ( #3435 )
6 years ago
Giacomo Longo
3f786542d3
Automatically infer bootstrap_os ( #3498 )
* Automatically infer bootstrap_os
* Rename bootstrap os to os_family
6 years ago
Antoine Legrand
c27a91f7f0
Split deploy steps in separate playbooks: part1 ( #3451 )
* Fix bootstrap_os/ubuntu idempotency
* Update bastion role
* move container_engine in sub-roles
* requires ansible 2.5
* ubuntu18 as first CI job
6 years ago
Erwan Miran
2ab2f3a0a3
Ability to define SSL certificates duration and SSL key size ( #3482 )
* Ability to specify ssl certificate duration and ssl key size - etcd/secrets
* Ability to specify ssl certificate duration and ssl key size - helm/contiv + fix contiv missing copy certs generation script
6 years ago
Rong Zhang
4f51607145
Upgrade kubernetes to v1.12.1 ( #3463 )
https://github.com/kubernetes/kubernetes/issues/69214
6 years ago
Chad Swenson
6602760a48
Support multiple local volume provisioner StorageClasses ( #3450 )
- Local Volume StorageClass configuration is now manged by `local_volume_provisioner_storage_classes`, a list of maps that specifies local storage classes with `name` `host_dir` and `mount_dir` keys per entry
- Tasks and templates updated to loop through local volume storage classes
- Previous defaults for path/class names were not changed
- Fixed an issue where a `kubernetes/preinstall` was creating directories inconsistently with the `kubernetes-apps/external_provisioner/local_volume_provisioner` task
6 years ago
Rong Zhang
af97febb04
Upgrade kubernetes to v1.12.0 ( #3410 )
* Upgrade kubernetes to v1.12.0
Use kubeadm v1alpha3 config
* Upgrade coredns and etcd
* Upgrage docker to 18.06
6 years ago
sangwook
0536125f75
Better fix for openstack cinder zone issue using ignore-volume-az option ( #2980 )
* Better fix for openstack cinder zone issue[1][2]
using ignore-volume-az option[3].
[1]: https://github.com/kubernetes-incubator/kubespray/pull/2155
[2]: https://github.com/kubernetes-incubator/kubespray/pull/2346
[3]: https://github.com/kubernetes/kubernetes/pull/53523
* Remove kube-scheduler-policy.yaml
6 years ago
Kuldip Madnani
36898a2c39
Adding pod priority for all the components. ( #3361 )
* Changes to assign pod priority to kube components.
* Removed the boolean flag pod_priority_assignment
* Created new priorityclass k8s-cluster-critical
* Created new priorityclass k8s-cluster-critical
* Fixed the trailing spaces
* Fixed the trailing spaces
* Added kube version check while creating Priority Class k8s-cluster-critical
* Moved k8s-cluster-critical.yml
* Moved k8s-cluster-critical.yml to kube_config_dir
6 years ago
Andreas Kruger
09b67c1ad5
Remove EFK from Kubespray
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
bcaf2f9ea3
contiv 1.2.1
6 years ago
rongzhang
f557b54489
Add `docker_` to values
6 years ago
rongzhang
0140cf71c8
Upgrade kubernetes to v1.11.3
6 years ago
rongzhang
51794e4c13
Deploying k8s clusters in a private environment
6 years ago
rongzhang
b249b06036
Move docker options to kubespray-defaults
6 years ago
rongzhang
c41ca22a78
Planning the configuration of docker parameters
6 years ago
Matthew Mosesohn
dc3e317d20
Fix backward compatibility with calico 2.6
6 years ago
Matthew Mosesohn
cd8e469b9c
Add missing variable kube_proxy_nodeport_addresses
6 years ago
Erwan Miran
a644b7c267
Introducing credentials_dir in order to be able to override it
6 years ago
Atoms
8c9588ab59
Add additional no proxy parameter for more customization
6 years ago
Erwan Miran
81c3f2c971
etcd_events_access_address should be used for peer_url and client_url
6 years ago
Takashi Okamoto
d407a590a6
container_manager variable to specify runtime.
6 years ago
Takashi Okamoto
5ab8a712d9
Add download_container flag to avoid docker pull when use cri-o.
6 years ago
Takashi Okamoto
b18ed5922b
Add etcd default value in kubespray-default.
6 years ago
Aivars Sterns
23fd3461bc
calico upgrade to v3 ( #3086 )
* calico upgrade to v3
* update calico_rr version
* add missing file
* change contents of main.yml as it was left old version
* enable network policy by default
* remove unneeded task
* Fix kubelet calico settings
* fix when statement
* switch back to node-kubeconfig.yaml
6 years ago
Erwan Miran
80cfeea957
psp, roles and rbs for PodSecurityPolicy when podsecuritypolicy_enabled is true
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
rongzhang
ea6af449a8
Remove istio support
Use helm install or support in future
6 years ago
rongzhang
b902602d16
Enable swap
6 years ago
Matthew Mosesohn
5c617c5a8b
Add tags to deploy components by --tags option ( #2960 )
* Add tags for cert serial tasks
This will help facilitate tag-based deployment of specific components.
* fixup kubernetes node
6 years ago
elementyang
5a4f07adca
change the way of getting etcd_member_name
6 years ago
elementyang
effd27a5f6
change the way that getting etcd_member_name
6 years ago
elementyang
7c22def422
add etcd_events_access_address
6 years ago
rongzhang
3232e2743e
Add manage swap on the worker node
6 years ago
Matthew Mosesohn
61e97251a5
Improve variable handling for disabling etcd events cluster
6 years ago
Antoine Legrand
c192a01b20
Enable by default the kubelet token auth
6 years ago
Wong Hoi Sing Edison
0ad0202e8f
Upgrade Kubernetes to 10.0.4 and etcd to 3.2.18
6 years ago
Di Xu
f4d762bb95
fix docker opts incompatible running on aarch64 Redhat/Centos
On Aarch64, the default cgroup driver for docker is systemd
instead of cgroupfs. Should conform kubelet to use systemd
as cgroup driver as well to keep it consistent with docker.
Without this change, below exception will be raised.
/usr/bin/docker-current: Error response from daemon: shim
error: docker-runc not installed on system.
Change-Id: Id496ec9eaac6580e4da2f3ef1a386c9abc2a5129
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
6 years ago
Anatoly Rugalev
eae4fa040a
Added docker_mount_flags option ( fixes #2624 )
6 years ago
Matthew Mosesohn
0945eb990a
Make it possible to skip docker role as a var ( #2686 )
6 years ago
Matthew Mosesohn
e95ba800ea
Define local volume provisioner dirs in defaults ( #2656 )
6 years ago
Vikas Kumar
94eb18b3d9
Replaced ansible_ssh_host with ansible_host in sample inventory file as the former is deprecated since Ansible v2.0
Fixed the reference of ansible_user in kubespray-defaults role
References:
- http://docs.ansible.com/ansible/latest/intro_inventory.html
6 years ago
Wong Hoi Sing Edison
195d6d791a
Integrate jetstack/cert-manager 0.2.3 to Kubespray
6 years ago
Spencer Smith
13c57147eb
only set no_proxy if other proxy vars are defined
6 years ago
Matthew Mosesohn
03bcfa7ff5
Stop templating kube-system namespace and creating it ( #2545 )
Kubernetes makes this namespace automatically, so there is
no need for kubespray to manage it.
6 years ago