bfraz
f0f8379e1b
Update aws tf ( #5435 )
...
* update aws tf to function as expected
* update tf version
* update syntax for tf v0.12
* update tf version in readme
* update per tf for v0.12
2019-12-12 03:42:33 -08:00
Maxime Guyot
eda1dcb7f6
Fix TF inventory script ( #5424 )
2019-12-10 03:41:29 -08:00
Hugo Blom
40e35b3fa6
Support Openstack servergroups ( #5412 )
...
* add support for nova servergroups
* Add documentation for openstack nova servergroups
* uppdate to TF 0.12.12 format and fix etcd
* revert for_each change
* fix variables and formatting in main.tf
* try to avoid errors
* update variable
* Update main.tf
* Update main.tf
* update all other instance resources
2019-12-09 01:15:10 -08:00
Maxime Guyot
b15d41a96a
Add support to Ansible 2.9 ( #5361 )
2019-12-05 07:24:32 -08:00
Maxime Guyot
401d441c10
Fix Python code style for inventory_builder ( #5362 )
2019-12-05 01:48:32 -08:00
Maxime Guyot
b1fbead531
Update to TF v0.12.12 ( #5267 )
2019-12-04 07:20:58 -08:00
Matthew Mosesohn
e44b0727d5
Allow inventory_builder to add nodes with hostname ( #5398 )
...
Change-Id: Ifd7dd7ce8778f4f1be2016cae8d74452173b5312
2019-12-02 08:13:04 -08:00
zhanwang
f779cb93d6
update URL for Gluster Getting Started Guide ( #5390 )
...
update URL for Gluster Getting Started Guide
2019-11-28 00:45:03 -08:00
holmesb
bc3a8a0039
Fixes issue #5299 ( #5300 )
2019-11-11 03:13:41 -08:00
Eric Lake
108a6297e9
Terraform dynamic inventory 0.12.12 ( #5298 )
...
* Update parsing of terraform state file for 0.12.12
* Resource does not seem to have a module element but instead has
provider
* Return the boolean right way if it is already a bool since a bool does
not have an lower method
* Remove the setting of ansible_ssh_user to root for all Packet
Not all servers in packet are accessed as root by default. CoreOS
systems use the `core` user. Removing this allows the user to specify
the remote user with an extra_var or in an ansible.cfg file.
* Default to root user for packet devices except on CoreOS
* Update TF_VERSION for packet in tf-validate-packet
Update TV_VERSION to 0.12.12 for gitlab-ci tf-validate-packet tests
* convert packet terraform files to TV_VERSION 4
* initalize terraform before copying the variable file to the top level dir
2019-10-29 00:02:42 -07:00
Julien Pervillé
d1b1add176
contrib/heketi: use inventory node ip in topology instead of guessing it ( #5233 )
2019-10-16 04:25:42 -07:00
Hugo Blom
a8c5a0afdc
Make it possible to disable access_ip (openstack provider) ( #5239 )
...
* Add a variable do disable access_ip
* Document the use of use_access_ip
2019-10-07 04:09:09 -07:00
陈谭军
8bc0710073
clean up document ( #5214 )
2019-10-02 04:41:07 -07:00
Maxime Guyot
8712bddcbe
Add docs for TF vars introduced PR 4239 ( #5201 )
2019-09-26 04:31:07 -07:00
陈谭军
99dbc6d780
clean-up doc,spelling mistakes ( #5206 )
2019-09-26 04:25:08 -07:00
Etienne Champetier
81cb302399
MetalLB: fail if kube_proxy_strict_arp is false ( #5180 )
...
When using IPVS, kube_proxy_strict_arp = true is required
https://github.com/danderson/metallb/issues/153#issuecomment-518651132
Add kube_proxy_strict_arp to inventory/sample
2019-09-26 04:21:06 -07:00
Robert Neumann
a5d165dc85
Customize host root volume size by Terrafrom provisioning ( #4239 )
...
* print hostnames (#5110 )
Terrafrom - customize hosts root volume size
disable block_device by default value
Terraform formatting fix
Fixed typos
* fix resources after rebase
* Fix glusterfs image issue
2019-09-25 05:17:59 -07:00
陈谭军
2fc02ed456
fix-typo ( #5199 )
2019-09-25 04:04:00 -07:00
Matthew Mosesohn
27ec548b88
Add support for k8s v1.16.0-beta.2 ( #5148 )
...
Cleaned up deprecated APIs:
apps/v1beta1
apps/v1beta2
extensions/v1beta1 for ds,deploy,rs
Add workaround for deploying helm using incompatible
deployment manifest.
Change-Id: I78b36741348f47a999df3841ee63cf4e6f377830
2019-09-10 12:06:54 -07:00
leonmbecker
5f02068f90
Documenting Terraform variable az_list
explicitly ( #5132 )
...
* added az_list to README section
* added az_list to cluster.tfvars
2019-09-09 07:41:19 -07:00
Csergő Bálint
56523812d3
print hostnames ( #5110 )
2019-08-29 05:07:57 -07:00
mcayland
3732c3a9b1
terraform/openstack: add network_dns_domain variable ( #5093 )
...
This allows the user to optionally specify the dns_domain attribute on the
generated internal kubernetes network.
2019-08-21 05:09:15 -07:00
Hugo Blom
4dba34bd02
add cinder max attached volumes ( #5089 )
2019-08-19 23:45:32 -07:00
Hugo Blom
da015e0249
Updated Openstack to terraform 0.12 ( #5062 )
...
* update openstack to terraform 0.12(.5)
* replace cluter.tf with cluster.tfvars
* update README.md to terraform 0.12
* update Openstack CI tests to use terraform 0.12
* specify terraform version in openstack README
* gitlab CI to copy cluster.tfvars in case of openstack provider
* The terraform/openstack dynamic inventory can read
tfstate v4 (generated by terraform 0.12) and convert them internally
ro v3 (as generated by terraform 0.11.x).
Additionally the script has been updated to Python 3.
2019-08-18 01:30:05 -07:00
shlo
554857da97
add cluster name into filer if specifed in environment variable ( #5085 )
2019-08-16 19:28:08 -07:00
Matthew Mosesohn
5707f79b33
Allow to configure number of kube-masters ( #5073 )
...
Change-Id: Ia3f30a1216b3ea063cd72c839ef6dff753cf10c6
2019-08-13 18:52:24 -07:00
Mario
973afef96e
Fix variable for rbd_provisioner_user_secret ( #5042 )
...
* Update main.yml
* fix dead link 404
2019-08-08 20:03:25 -07:00
Vitaliy Dmitriev
dc6ad64ec7
[contrib/heketi]: tear down additions and fixes. Heketi updated to version 9 ( #5027 )
...
* lvm packages removal during tear down skipped by default
* lvm utils execution PATH fixed for CentOS/RH
* Heketi updated to the latest version 9
Signed-off-by: Vitaliy Dmitriev <vi7alya@gmail.com>
2019-08-01 04:00:16 -07:00
Gustavo Muniz do Carmo
e0410661fa
azure loadbalancer vars generation ( #4892 )
2019-07-15 01:27:06 -07:00
Scott Charron
e6fb686156
added the ability to define and deploy multiple address pools to metallb ( #4757 )
2019-06-11 00:20:21 -07:00
Johnny Halfmoon
5e80603bbb
updated vagrant doc ( #3719 )
2019-06-10 23:58:14 -07:00
Trond Hasle Amundsen
56ae3bfec2
Add support for IPv6 for Openstack in terraform.py via metadata ( #4716 )
...
* Add support for IPv6 for Openstack in terraform.py via metadata
* document terraform.py metadata variables for openstack
2019-06-09 23:01:05 -07:00
Vladimir Kiselev
045acc724b
fix relative paths for bastion host template ( #4126 )
...
This is a fix for #4124
2019-06-05 01:51:55 -07:00
MarkusTeufelberger
73c2ff17dd
Fix Ansible-lint error [E502] ( #4743 )
2019-05-16 00:27:43 -07:00
Robert Neumann
787a9c74fa
Terraform wait for floating IP instance has been associated ( #4321 )
...
* Add wait for floating ip associate with instance
* Terraform formatting fix
* Sort Open Telekom Cloud in compatible list
2019-05-09 02:16:50 -07:00
MarkusTeufelberger
f3fbf995ca
Update default CentOS version on Azure
2019-05-07 13:37:42 +02:00
MarkusTeufelberger
e67f848abc
ansible-lint: add spaces around variables [E206] ( #4699 )
2019-05-02 14:24:21 -07:00
MarkusTeufelberger
9335cdcebc
ansible-lint: Add exception for invocation of "rm" ( #4609 )
2019-04-29 01:34:20 -07:00
Andreas Krüger
38af93b60c
Remove rkt support ( #4671 )
2019-04-29 01:14:20 -07:00
MarkusTeufelberger
88d919337e
ansible-lint: don't compare to empty string [E602] ( #4665 )
2019-04-28 23:00:20 -07:00
Jiang Yi Tao
f518b90c6b
associate fips for masters with no etcd ( #4657 )
2019-04-28 22:58:20 -07:00
Maxime Guyot
696d481e3b
Fix dynamic inventory parsing in contrib/tf/packet ( #4645 )
2019-04-25 00:40:46 -07:00
Maxime Guyot
6af1f65d3c
Fix python syntax in Terraform dynamic inventory ( #4643 )
2019-04-24 10:34:04 -07:00
Maxime Guyot
37d98e79ec
Pin Terraform provider versions ( #4620 )
2019-04-23 22:22:01 -07:00
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
2019-04-23 14:46:02 -07:00
Matthew Mosesohn
d89ecb8308
disable metrics server and fix terraform ( #4617 )
...
* disable metrics server in centos7-flannel-addons job
Change-Id: I1d87923547584896f64dda9ea8feb5581ad48cbe
* Fix tf facility->facilities syntax
Change-Id: I434bfe53f47e8e4a546890e0b62d24bde6e6d6a7
* Update Terraform CI for facilities
* Fix undefined variable error
2019-04-23 12:06:03 -07:00
Maxime Guyot
50751bb610
Revert "Optimize kube resources creation ( #4572 )" ( #4621 )
...
This reverts commit f8fdc0cd93
.
2019-04-23 20:37:23 +03:00
andreyshestakov
f8fdc0cd93
Optimize kube resources creation ( #4572 )
2019-04-22 23:34:10 -07:00
Maxime Guyot
04f2682ac6
Drop unused dynamic inventory functions ( #4138 )
2019-04-21 01:59:45 -07:00
rptaylor
873b5608cf
add master_allowed_remote_ips (with terraform fmt) ( #4022 )
2019-04-21 01:57:44 -07:00
Maxime Guyot
b218e17f44
ansible-lint: E403 Package installs should not use latest ( #4500 )
2019-04-18 01:34:08 -07:00
Maxime Guyot
1cf76a10db
Disable usage of default security group ( #4533 )
2019-04-17 02:10:03 -07:00
Andreas Holmsten
7f1d9ff543
[contrib/terraform/openstack] Add k8s_allowed_remote_ips variable ( #4506 )
...
* Add k8s_allowed_remote_ips variable
Useful for defining CIDRs allowed to initiate a SSH connection when
you don't want to use a bastion.
* Add TF_VAR_k8s_allowed_remote_ips variable to tf-apply-ovh
2019-04-15 07:22:08 -07:00
Remous-Aris Koutsiamanis
27958e4247
Fix "Prevent inventory.py from configuring an even number of nodes in etcd" #4399 ( #4465 )
...
by making clusters with fewer than 3 nodes have only 1 etcd node
2019-04-10 05:52:14 -07:00
Maxime Guyot
e865c50574
Fix terraform fmt on contrib/terraform/aws ( #4484 )
2019-04-10 04:32:14 -07:00
Maxime Guyot
80f31818df
Add terraform validate for contrib/terraform/aws ( #4438 )
2019-04-10 02:14:14 -07:00
Karen Almog
20ebb49568
Don't create security groups for a bastion host on openstack, if doesn't exist ( #4291 )
2019-04-09 04:01:09 -07:00
Andreas Holmsten
01cf11b961
Run terraform fmt and add step to CI ( #4405 )
...
* Run terraform fmt
* Add terraform fmt to .terraform-validate CI step
* Add tf-validate-aws CI step
* Revert "Add tf-validate-aws CI step"
This reverts commit e007225fac
.
2019-04-08 02:22:24 -07:00
Andreas Holmsten
3da392d1cf
Add OWNERS to contrib/terraform ( #4441 )
2019-04-08 00:36:24 -07:00
Maxime Guyot
9155339cf0
Fix pep8 warnings ( #4368 )
2019-04-05 12:51:22 -07:00
Maxime Guyot
e485fab7eb
Add CI for contrib/terraform/ ( #4133 )
2019-04-04 01:42:52 -07:00
MarkusTeufelberger
9ffc65f8f3
Yamllint fixes ( #4410 )
...
* Lint everything in the repository with yamllint
* yamllint fixes: syntax fixes only
* yamllint fixes: move comments to play names
* yamllint fixes: indent comments in .gitlab-ci.yml file
2019-04-01 02:38:33 -07:00
tikitavi
1babba753d
adapt inventory script to python 2.7 version ( #4407 )
2019-03-29 06:08:13 -07:00
Matthew Mosesohn
ec08303f82
Revert "Fix #4237 : update kube cert path ( #4354 )" ( #4369 )
...
This reverts commit ea7a6f1cf1
.
This change modified the certs dir for Kubernetes, but did not move the directories for existing clusters.
2019-03-20 05:56:57 -07:00
Maxime Guyot
e640233947
Use sample inventory file in doc ( #4052 )
2019-03-18 01:43:15 -07:00
Dmitry Chepurovskiy
ea7a6f1cf1
Fix #4237 : update kube cert path ( #4354 )
2019-03-17 23:55:11 -07:00
Peter Metz
38009a215a
fix(contrib/metallb): adds missing become: true in role ( #4356 )
...
On CoreOS, without this, it fails to kubectl apply MetalLB due to lack of privileges.
2019-03-17 18:15:09 -07:00
tikitavi
2560c4dda3
fixing dump of ordered dictionaries in inventory script ( #4343 )
2019-03-13 02:57:34 +03:00
tikitavi
254a0ab69d
fix inventory script ( #4342 )
...
hosts are ordered dictionary
remove ansible_user from inventory file
2019-03-13 01:46:46 +03:00
tikitavi
7b3e59ed0a
fix inventory script ( #4339 )
...
- fix order of entries when the new yaml file is created
- fix group in case there are no hosts in it
2019-03-12 11:02:44 -07:00
tikitavi
44de04be89
update inventory builder for public and private IP per node ( #4323 )
2019-03-07 18:30:12 +03:00
tikitavi
b73f009c07
rewrite inventory script to create inventory file in YAML format ( #4303 )
...
* rewrite inventory script to create inventory file in YAML format
* minor fixes to inventory script
* change requirments for the inventory script
2019-02-28 17:28:27 +03:00
Christian Berendt
44ee4b507c
terraform: use openstackclient instead of novaclient ( #4280 )
...
The openstackclient is the preferred CLI for OpenStack
environments and should be used instead of novaclient.
2019-02-25 20:13:16 -08:00
Maxime Guyot
bb495006c8
Update MetalLB to v0.7.3 ( #4194 )
2019-02-25 20:05:45 -08:00
Christian Berendt
c386172be7
terraform: correct the spelling of Betacloud ( #4282 )
2019-02-25 19:38:32 -08:00
Ted Wexler
b5a895d1ec
Run 'terraform fmt' in contrib/terraform/openstack ( #4242 )
2019-02-17 21:04:41 -08:00
Robert Neumann
8b289ad9e1
Fix the file path for all.yml and k8s-cluster.yml ( #4210 )
2019-02-11 14:55:41 -08:00
Maxime Guyot
954676b3d8
Update the admin cert paths ( #4135 )
2019-02-11 14:10:10 -08:00
tikitavi
befa8a6cbd
fix error with delete host in inventory.py script ( #4203 )
...
* fix error with delete host in inventory.py script
* minor fix
2019-02-11 15:57:51 +03:00
Maxime Guyot
7e974f1401
Fix MetaLB library ( #4195 )
2019-02-07 17:31:53 +03:00
tikitavi
263c8731f2
add to inventory.py script ability to indicate ip ranges ( #4182 )
...
* add to inventory.py script ability to indicate ip ranges
* add test for range2ip function for inventory.py script
some fixes
* add negative test for range2ip function for inventory.py script
2019-02-06 18:22:13 +03:00
Petr Ruzicka
91e2d61cf2
Adding link to ../../contrib in README ( #4097 )
2019-01-31 14:44:06 -08:00
Maxime Guyot
40f1c51ec3
Add support for Packet with Terraform ( #4043 )
...
* Add support for Packet with Terraform
Co-Author: johnstudarus <john@jhlconsulting.com>
* removed advanced features to streamline
* clarifying usage
* Update README.md
provide a better test to validate things are working OK
* Update README.md
clarifying what to set
* minor wordsmithing
* Fix admin cert path
* clarifying how to configure keys
* enabling kubeconfig_localhost
pull over the configuration file via playbooks rather than the key files individually
* Create output.tf
* Add support for node specific plans
2019-01-31 07:24:36 -08:00
Sascha Marcel Schmidt
435993891b
fix assertions, use msg instead of message ( #3913 )
2019-01-09 11:01:47 -08:00
Đào Hoàng Sơn
01cd4cf1c6
Remove vault role from inventory_builder. ( #3863 )
...
Related to https://github.com/kubernetes-sigs/kubespray/pull/3684
2018-12-09 18:13:42 +01:00
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
2018-12-06 02:33:38 -08:00
Miao Zhou
885c6cff71
Fix AWS Node Labels Error
...
Now the `kubespray-aws-inventory.py` script always set a node_labels key
to ansible_host.
When AWS instance did not set property labels, it would be an empty
string.
The TASK `Write kubelet config file (kubeadm or non-kubeadm)` will
failed with a msg:
`AnsibleUndefinedVariable: 'unicode object' has no attribute 'items'`.
2018-11-23 17:37:41 +08:00
Evgeny Zislis
29ee581067
pin hvac version to 0.6.4 ( #3692 )
2018-11-15 02:08:33 -08:00
Mateus Caruccio
087b7fa38e
Set node labels from AWS instance tag ( #3544 )
...
Set kubernetes node labels from a given comma-separated list of `key=value` from AWS instance tag `kubespray-node-labels`.
2018-11-14 00:21:56 -08:00
Antoine Legrand
3dcb914607
Remove Vault ( #3684 )
...
* Remove Vault
* Remove reference to 'kargo' in the doc
* change check order
2018-11-10 08:51:24 -08:00
Thomas Nys
fb9155c450
Add the option to create a DNS record for bastion deployed to Azure ( #3675 )
...
This is rather convenient if you want to configure exceptions on a
company firewall.
2018-11-09 11:30:35 +01:00
Thomas Nys
dc3195310c
Add the option to add multiple ssh public keys for Azure infrastructure ( #3674 )
...
This give users the option to define multiple ssh public keys when
deploying the base infrastructure on Azure.
2018-11-08 15:25:07 +01:00
Erwan Miran
89ac53acd7
_ansible_item_label is not necessarily set ( #3646 )
2018-11-07 12:39:44 -08:00
Andreas Holmsten
289be0a0db
Fix capitalisation
2018-11-05 12:47:23 +01:00
Aivars Sterns
3c5f20190f
Merge pull request #3629 from holmsten/terraform-ops-worker-allowed-ports
...
[contrib/terraform/openstack] Allow user defined port ranges for worker security group
2018-11-03 17:52:00 +02:00
Andreas Holmsten
6c34745958
Add worker_allowed_ports
...
* [contrib/terraform/openstack] Add worker_allowed_ports
Allow user to define in terraform template which ports and remote
IPs that are allowed to access worker nodes. This is useful when you
don't want to open up whole NodePort range to the outside world, or
ports outside NodePort range.
2018-11-01 17:48:37 +01:00
Ye Ben
d8b357ce49
fix typo doesnt -> doesn't
...
fix typos in line 114 and 116: doesnt -> doesn't
2018-10-31 21:27:58 +08:00
AdamDang
b8bafb2893
Fix a typo in dind/README.md ( #3620 )
...
appropiate->appropriate
2018-10-31 11:01:13 +01:00
Ted Wexler
58b4fea2b1
Add an 'access_ip' for openstack resources to the terraform inventory builder script ( #3592 )
...
* Add an 'access_ip' for openstack resources to the terraform inventory builder script
* Update Openstack README
* Only use ipv4
* If there's a floating IP assigned to an openstack instance, use that for access_ip
2018-10-29 19:28:23 +01:00
Maxime Guyot
38beab8fe8
Add support for router less deployments
2018-10-19 12:39:34 +02:00
Miouge1
6e34918b52
Add list of know working OpenStack clouds
2018-10-18 11:04:04 +02:00
Andreas Krüger
52b5309385
Merge pull request #3532 from jjo/jjo-improve-dind
...
[jjo] improve contrib/dind/run-test-distros.sh via spec files
2018-10-17 09:47:16 +02:00
Mateus Caruccio
7f4e048052
kubespray-aws-inventory.py ported to python 3 ( #3528 )
2018-10-16 23:53:39 -07:00
JuanJo Ciarlante
7fe7357154
improve contrib/dind/README.md
2018-10-16 21:25:41 -03:00
JuanJo Ciarlante
635261eb12
[jjo] improve dind run-test-distros.sh via spec files
2018-10-16 21:25:41 -03:00
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
2018-10-16 15:33:30 -07:00
Andreas Krüger
b1974ab3cf
Merge pull request #3515 from SataQiu/fix-20181012
...
fix typo
2018-10-16 09:11:08 +02:00
JuanJo Ciarlante
4077934519
[jjo] add DIND support to contrib/ ( #3468 )
...
* [jjo] add DIND support to contrib/
- add contrib/dind with ansible playbook to
create "node" containers, and setup them to mimic
host nodes as much as possible (using Ubuntu images),
see contrib/dind/README.md
- nodes' /etc/hosts editing via `blockinfile` and
`lineinfile` need `unsafe_writes: yes` because /etc/hosts
are mounted by docker, and thus can't be handled atomically
(modify copy + rename)
* dind-host role: set node container hostname on creation
* add "Resulting deployment" section with some CLI outputs
* typo
* selectable node_distro: debian, ubuntu
* some fixes for node_distro: ubuntu
* cpu optimization: add early `pkill -STOP agetty`
* typo
* add centos dind support ;)
* add kubespray-dind.yaml, support fedora
- add kubespray-dind.yaml (former custom.yaml at README.md)
- rework README.md as per above
- use some YAML power to share distros' commonality
- add fedora support
* create unique /etc/machine-id and other updates
- create unique /etc/machine-id in each docker node,
used as seed for e.g. weave mac addresses
- with above, now netchecker 100% passes WoHooOO!
🎉 🎉 🎉
- updated README.md output from (1.12.1, verified
netcheck)
* minor typos
* fix centos node creation, needs earlier udevadm removal to avoid flaky facts, also verified netcheck Ok \o/
* add Q&D test-distros.sh, back to manual /etc/machine-id hack
* run-test-distros.sh cosmetics and minor fixes
* run-test-distros.sh: $rc fix and minor formatting changes
* run-test-distros.sh output cosmetics
2018-10-15 09:44:02 +02:00
Julien Senon
fac8aaa44e
Update template for bastion ( #3523 )
...
Update template to have bastion section
2018-10-15 09:42:22 +02:00
SataQiu
9ca583d984
fix typo
2018-10-12 15:53:30 +08:00
Giacomo Longo
3f786542d3
Automatically infer bootstrap_os ( #3498 )
...
* Automatically infer bootstrap_os
* Rename bootstrap os to os_family
2018-10-10 23:32:10 -07:00
LiuDui
e813b26963
Remove excess Spaces ( #3452 )
2018-10-10 19:28:39 -07:00
SataQiu
6f4054679e
Remove the redundant space ( #3418 )
2018-09-29 20:31:57 -07:00
KMilhan
df7d53b9ef
Fix ready
to not to be an AnsibleUnsafeText ( #3404 )
2018-09-28 05:07:27 -07:00
Andreas Holmsten
0a9a42b544
Change from Nova security groups to Neutron ( #2910 )
...
* Replace `openstack_compute_secgroup_v2` with `openstack_networking_secgroup_v2`
The `openstack_networking_secgroup_v2` resource allow specifications of
both ingress and egress. Nova security groups define ingress rules only.
This change will also allow for more user-friendly specified security
rules, as the different security group resources have different HCL
syntax.
2018-09-28 11:35:02 +02:00
Aivars Sterns
bacd8c70e1
Merge pull request #3149 from rguichard/fix-router-id-output
...
fix the output of router_id with the right id
2018-09-19 15:34:03 +03:00
Rong Zhang
3cd38e0d4c
Merge pull request #3245 from ctang1989/patch-1
...
terraform.tfvars.example is not correct, remove.
2018-09-17 20:41:08 +08:00
Sascha Marcel Schmidt
cd3b30d3bf
fix path to configuration
2018-09-13 10:15:31 +02:00
Sascha Marcel Schmidt
6a5c828b6c
fix bin_dir
2018-09-11 16:27:20 +02:00
Sascha Marcel Schmidt
97aa87612a
use bin_dir
2018-09-11 16:27:17 +02:00
Sascha Marcel Schmidt
157639e451
use privileged user
2018-09-06 16:38:11 +02:00
k8s-ci-robot
a3caeba242
Merge pull request #2931 from torvitas/master
...
Heketi/GlusterFS
2018-09-06 03:07:35 -07:00
Sascha Marcel Schmidt
df6cf9aa51
add cleanup
2018-09-05 17:18:53 +02:00
Sascha Marcel Schmidt
5cf1396cb7
removes unnecessary check
2018-09-05 17:17:49 +02:00
Sascha Marcel Schmidt
6ffddbff24
fix database not available heketi error
2018-09-05 16:03:32 +02:00
Sascha Marcel Schmidt
64b0ce974d
use bin_dir variable
2018-09-05 16:02:55 +02:00
Sascha Marcel Schmidt
ce776f0f6a
actually use heketi auth
2018-09-05 15:59:56 +02:00
Sascha Marcel Schmidt
949984601f
actually use heketi auth
2018-09-05 15:58:44 +02:00
唐超
ca6c5e2a6a
terraform.tfvars.example is not correct, remove.
2018-09-05 17:41:34 +08:00
Sascha Marcel Schmidt
9cc8ef4b91
MetalLB as loadbalancer for on premise deployments ( #3027 )
...
* add metallb as loadbalancer for on premise deployments
* improve configuration
* add variables to DaemonSet
2018-09-04 15:17:23 +03:00
Timo Ribbers
83e3b72220
Fix node hostname in glusterfs inventory.example
...
Remove duplicate hostname usage.
2018-08-22 11:03:38 +02:00
rguichard
6650bc6b25
fix the output of router_id with the right id
2018-08-21 13:21:25 +02:00
Antoine Legrand
b490231f59
Merge pull request #2025 from kubernetes-incubator/terraform-aws-inventory
...
contrib/terraform/aws: Make path to generated inventory configurable
2018-08-17 15:55:38 +02:00
Antoine Legrand
bc844ca96e
Merge pull request #3079 from wikiselev/master
...
fix glusterfs ppa and glusterfs server command name errors
2018-08-16 16:15:32 +02:00
Antoine Legrand
a642931422
Merge pull request #3019 from holmsten/terraform-ops-worker-groups
...
[contrib/terraform/openstack] Add supplementary node groups
2018-08-16 16:06:53 +02:00
Sascha Marcel Schmidt
19e2868484
fix path to bootstrap tear down
2018-08-10 13:42:28 +02:00
wikiselev
53aee6dc24
fix glusterfs ppa and glusterfs server command name errors
2018-08-09 10:14:14 +01:00
Sascha Marcel Schmidt
9fba448053
recator to use kube module, finally fix race condition in storage tasks
2018-08-08 14:22:50 +02:00
Magnus Holm
fcfe12437c
contrib/terraform/terraform.py: fix for Ansible 2.6.2+, issue #3067
2018-08-07 15:22:14 +02:00
Simon Li
d284961d47
Change heketi-tear-down to run on nodes instead of localhost delegate_to
2018-08-07 13:52:49 +02:00
Simon Li
8ac57201a7
Prefix heketi kubectl calls with {{ bin_dir }}
2018-08-07 13:48:16 +02:00
Rong Zhang
16bd0d2b5d
Merge pull request #2900 from drekle/configure_openstack_subnet_CIDR
...
Configure openstack subnet cidr
2018-08-07 17:27:01 +08:00
Rong Zhang
2c38e4e1ac
Merge pull request #3059 from okumin/fix-glusterfs-group_vars
...
Fix a broken symbolic link for group_vars
2018-08-07 16:55:32 +08:00
Rong Zhang
411d07a4f6
Merge pull request #3047 from rguichard/openstack-az-support
...
availability zones support for OpenStack
2018-08-07 16:51:41 +08:00
okumin
a953f1ca8b
Fix a broken symbolic link for group_vars
2018-08-04 23:49:06 +09:00
Rong Zhang
9172150966
Merge pull request #3044 from jerryrelmore/patch-4
...
Clarify etcd deployment script failure mechanism
2018-08-01 22:57:14 +08:00
rguichard
c19643cee2
availability zones support for OpenStack
...
allow masters, nodes and gluster nodes (within each group) to be scheduled
on differents AZ.
2018-08-01 16:42:58 +02:00
Jerry Elmore
1385091768
Clarify etcd deployment script failure mechanism
...
Attempting to clarify the language surrounding the etcd node deployment script failure mechanism. I had this error when doing a new cluster deployment last night and, though it should have been, it wasn't immediately apparent to me what was causing the issue (since my default master node hostnames do not specify whether they are also acting as etcd replicas).
2018-07-31 15:15:49 -04:00
rguichard
1a38a9df88
add security groups for traffic to 30000-32767/tcp
...
This will make NodePort services work out of the box
2018-07-27 14:57:29 +02:00
Sascha Marcel Schmidt
2bd8fbb2dd
add missing templates
2018-07-25 16:46:12 +02:00
Sascha Marcel Schmidt
205ea33b10
"fix" race condition
2018-07-25 16:42:57 +02:00
Sascha Marcel Schmidt
c42397d7db
run kubectl on one of the masters
2018-07-25 16:42:30 +02:00
Sascha Marcel Schmidt
306a6a751f
wait for job to complete
2018-07-08 13:16:25 +02:00
Sascha Marcel Schmidt
318c69350e
pin heketi image version
2018-07-08 13:15:54 +02:00
Sascha Marcel Schmidt
6d1804d8a4
also remove storage class
2018-07-05 14:19:18 +02:00
Sascha Marcel Schmidt
ee67ece641
suppress unnecessary change
2018-07-05 14:18:27 +02:00
Rong Zhang
4d7426ec95
Fix terraform env Not effective ( #2966 )
...
Add TF_VAR_ to terraform env
2018-07-05 12:20:02 +03:00
Sascha Marcel Schmidt
f703814561
add tear down playbook
2018-07-05 02:15:05 +02:00
Sascha Marcel Schmidt
c39835628d
prevent some race conditions, increase over all time limits
2018-07-05 02:14:36 +02:00
Sascha Marcel Schmidt
1253725975
add necessary chdir
2018-07-04 19:31:25 +02:00
Sascha Marcel Schmidt
f4c1d6a5d7
remove unnecessary check for existing artifact
2018-07-04 19:08:02 +02:00
Sascha Marcel Schmidt
d7abdced05
fix typo
2018-07-04 18:58:45 +02:00
Sascha Marcel Schmidt
78aeef074e
add hint on how to install heketi-cli
2018-07-04 18:40:48 +02:00
Sascha Marcel Schmidt
0b7aa33bc2
add jmespath as requirement
2018-07-04 18:25:35 +02:00
Andreas Holmsten
b900bd6e94
[contrib/terraform/openstack] Add supplementary node groups
...
* Add supplementary node groups
To add additional ansible groups to the k8s nodes, such as
`kube-ingress` for running ingress controller pods. Empty by default.
2018-06-28 16:46:20 +02:00
Sascha Marcel Schmidt
8e275ab2bd
change order and validation of bootstrap and rest tasks as well as
...
volumes
2018-06-27 12:30:14 +02:00
Sascha Marcel Schmidt
b56f465145
fix creation of heketi volumes and storage provisioning validation
2018-06-27 10:12:23 +02:00
Sascha Marcel Schmidt
74cad6b811
pin versions of container images
2018-06-27 10:11:14 +02:00
Sascha Marcel Schmidt
8ef0cf771f
update link
2018-06-25 15:09:22 +02:00
Sascha Marcel Schmidt
9516170ce5
remove unnecessary become flag
2018-06-25 15:09:19 +02:00
Sascha Marcel Schmidt
5aefa847df
add fences
2018-06-25 15:09:16 +02:00
Sascha Marcel Schmidt
831ef7ea2c
add readme
2018-06-25 15:09:13 +02:00
Sascha Marcel Schmidt
9c7e30e4b4
add sample inventory
2018-06-25 15:09:03 +02:00
Sascha Marcel Schmidt
8c5bfc7718
add debian compatibility
2018-06-25 15:08:53 +02:00
Sascha Marcel Schmidt
61046a6923
move heketi playbook
2018-06-25 15:08:35 +02:00
Sascha Marcel Schmidt
9d2fabc9b9
add heketi/glusterfs as additional contributional network storage
2018-06-25 15:08:18 +02:00
Derek Lemon
27d62941b2
Add the subnet_cidr as a required argument to the network module
2018-06-14 17:41:58 +00:00
Derek Lemon
ab345c5f69
Change was not picked up
2018-06-14 17:31:04 +00:00
Derek Lemon
a06f641b6c
Configurable openstack subnet cidr
2018-06-14 16:40:32 +00:00
hvle
a2a26755fe
docs(azure cli): update links
...
install and login links
2018-06-07 07:10:33 +02:00
Paul Montero
3f1887316b
Set widely used header for python for different OS
2018-05-17 17:00:49 -05:00
Giri Kuncoro
3a1f6810b7
Remove loadbalancer_apiserver binding on readme
2018-05-08 14:55:52 +05:30
Giri Kuncoro
0fb017b9c1
Rename ansible user env vars
2018-05-02 14:07:54 +07:00
Pablo Moreno
df6c5b28a1
[contrib/terraform/openstack] Backward compatibility changes ( #2539 )
...
* [terraform/openstack] Restores ability to use existing public nodes and masters as bastion.
* [terraform/openstack] Uses network_id as output
* [terraform/openstack] Fixes link to inventory/local/group_vars
* [terraform/openstack] Adds supplementary master groups
* [terraform/openstack] Updates documentation avoiding manual setups for bastion (as they are not needed now).
* [terraform/openstack] Supplementary master groups in docs.
* [terraform/openstack] Fixes repeated usage of master fips instead of bastion fips
* [terraform/openstack] Missing change for network_id to subnet_id
* [terraform/openstack] Changes conditional to element( concat ) form to avoid type issues with empty lists.
2018-04-30 18:11:07 +03:00
avoidik
26caad4f12
Allow ansible_ssh_private_key_file for Openstack
2018-03-31 02:38:01 +03:00
Andreas Krüger
7e58b96328
Merge pull request #2525 from avoidik/openstack_subnet_fix
...
Return subnet_id as defined in kubespray.tf
2018-03-30 13:42:12 +02:00
avoidik
076b5c153f
Return subnet_id as defined in kubespray.tf
2018-03-27 11:13:36 +03:00
dvazar
9511178666
fixed: creation of an inventory template
2018-03-26 12:00:02 +07:00
Spencer Smith
2132ec0269
Merge pull request #2378 from dleske/reorg-inventory-for-opst
...
Update OpenStack contrib to use per-cluster inventory layout
2018-03-09 15:21:21 -05:00
RongZhang
dada98143c
Fix kubespary rpm spec file some requires ( #2417 )
...
Fix kubespary rpm spec file some requires
2018-03-05 13:53:51 +03:00
brant
739f6c78ad
remove [calico-rr]
2018-03-02 15:41:04 +08:00
brant
40d72d1865
added [calico-rr]
2018-03-02 13:48:11 +08:00
Drew Leske
b6698e686a
Update README.md with minor fixes/clarifications
2018-02-23 16:54:13 -08:00
Drew Leske
66bd570584
Update README.md with minor fixes and cleanup
2018-02-23 15:05:29 -08:00
Drew Leske
e2c5a3895b
Rename sample inventory directory to be less awkward
2018-02-23 14:39:31 -08:00
Drew Leske
fe719c1bc1
Update OpenStack contrib to use per-cluster inventory layout
...
Supports Kubespray workspace with multiple OpenStack-deployed k8s
clusters.
* Create sample inventory directory for template
* Moved broken `group_vars` symlink to sample directory
* Created sample cluster Terraform file
* Updated documentation
2018-02-23 12:08:45 -08:00
Drew Leske
89fe6505f9
Correct use of deprecated argument to TF/OpenStack module
...
https://www.terraform.io/docs/providers/openstack/r/networking_router_v2.html#external_gateway
2018-02-22 22:41:19 -08:00
Aivars Sterns
bfe196236f
Merge pull request #2033 from ArchiFleKs/terraform-fix-cred
...
Update Terraform docs and authentication method
2018-02-21 12:16:24 +02:00
Wong Hoi Sing Edison
4a36b091f4
Update default CONFIG_FILE for contrib/inventory_builder/inventory.py
2018-02-12 18:01:56 +08:00
Wong Hoi Sing Edison
1a1d154e14
Support multiple inventory files under individual inventory directory
2018-02-08 08:08:15 +08:00