Commit Graph

29 Commits

Author SHA1 Message Date
Feilong Wang 001b9c6101 Fix label fixed_network_cidr
Now the label `fixed_network_cidr` is not handled correctly, no matter
if the label is set, the default value '10.0.0.0/24' is used for
fixed network anyway. This patch fixes it and renamed it as
`fixed_subnet_cidr` to make less confusion. The new behaviour will be:
1. If the label `fixed_subnet_cidr` is set but no fixed subnet passed
   in, then a new subnet will be created with the given CIDR.
2. If a fixed subnet is passed in by user, then label `fixed_subnet_cidr`
   will be override with the CIDR from the given subnet.

Task: 39847
Story: 2007712

Change-Id: Id05e36696bf85297a556fcd959ed897fe47b7354
2020-06-11 13:54:59 +12:00
huang.xiangdong 3cb6226ff0 Support multi DNS server
Using comma delimited ipv4 address list to specify multi dns server
"8.8.8.8,114.114.114.114".

Task: 29465
Story: 2004994

Change-Id: I031247b0cc2ae417f18b2a5b9b3832e78ed9dafd
2019-04-08 23:08:45 +00:00
Jenkins 34e92a9c54 Merge "[opensuse] Enabling external loadbalancer feature" 2017-07-12 13:59:00 +00:00
sayalilunkad c9e89e9b0a [opensuse] Increase wait_condition_timeout
Seen fails in some cases due to short timeout. This will be a safe
amount of time to avoid failures.

Change-Id: Iabe9751e5d3dba2cb7b57504bf38b55a5c7aba2d
2017-06-27 09:12:49 +00:00
sayalilunkad 6a5d02c482 [opensuse] Enabling external loadbalancer feature
Adding config to enable OpenStack loadbalancer for Kubernetes
cluster as backend. By default we keep it disabled to avoid having
to inject the openstack credentials in the cluster always.

Change-Id: I02f690b220e933d492671f53724a604a167d5abb
2017-06-02 15:09:42 +02:00
Michal Jura 1e2112def5 [suse] Add TLS support for k8s_opensuse_v1 driver
Partial-bug: #1622949
Change-Id: I4e8e8bddd8456c83f1bf1719256ddfca5a2723c4
2017-03-02 11:24:34 +01:00
Jenkins 88ddece127 Merge "[suse] Fix flanneld overlay network configuration" 2017-02-20 06:59:22 +00:00
Jenkins f4a66b9485 Merge "[suse] Update security group for kube_masters" 2017-02-07 23:49:52 +00:00
Bertrand NOEL 2a4ad9aa41 Make Kubernetes pods' health checks configurable
Make Kubernetes' kube-controller-manager and kube-scheduler
health checks configurable as a parameter to the cluster-template
(label).
Set their value higher for all deployments. And set their value
to a high number for tests, for the CI.

Change-Id: I65e2da12487c513419125f0525a4e21bac22210e
Closes-Bug: 1648826
2017-01-26 20:02:52 +00:00
Dirk Mueller a9a5381b59 [suse] Fix flanneld overlay network configuration
Change-Id: Iec98aaee2c72bee81937b9554ddcb0abd880c34c
2017-01-14 22:01:12 +01:00
Michal Jura b28218f3df [suse] Update security group for kube_masters
We would like to open following ports on kube_master:
  - for debug handlers kubectl exec and kubectl run commands
      protocol: tcp, port: 10250
  - for application service
      protocol: tcp, port_range: 30000 to 32767
  - for flanneld udp and vxlan backend
      protocol: udp, port: 8285 and port: 8472

Change-Id: Ie40e5c90c0b246960ff94b917f285a810120c340
Partial-Bug: #1622949
2017-01-10 10:07:40 +01:00
Michal Jura d7ed87e9ae [suse] Add min and max to flannel_network_subnet option
Change-Id: I7d5e9a545b9996e0036cd685fea52573416bd82f
Partial-Bug: #1622949
2017-01-10 09:58:24 +01:00
Jenkins 7f5e10a38f Merge "[suse] Update k8s_opensuse_v1 driver" 2017-01-06 16:52:32 +00:00
Michal Jura 07a68dcd95 [suse] Update k8s_opensuse_v1 driver
This change is collecting fixes and updates for k8s_opensuse_v1 drver
  * Fix indentation for bash scripts
  * Fix DOCKER_NETWORK_OPTIONS for configure-docker.sh
  * Add FLANNEL_BACKEND option
  * Update deprecated options for kubernetes services
  * Fix KUBE_NODE_IP option for kube-minions
  * Add kube_version and volume_driver options
  * Sync changes with opensuse Mitaka driver

Change-Id: I33bf90331ff78ed538a55451f6de64c4a576cb2d
Partial-Bug: #1622949
Partially-Implements: blueprint k8s-opensuse-support
2017-01-06 03:26:54 +00:00
Michal Jura 0b1c59b21b [suse] Tune default value for docker_volume_size
Change-Id: I88fa0a21bef34cdca2284ec22f1759736762509f
Partial-Bug: #1622949
2017-01-06 03:24:45 +00:00
Jenkins d30df64f5c Merge "[suse] Allow k8s cluster without floating ip" 2016-12-15 20:35:01 +00:00
Jenkins 8182d7f213 Merge "[suse] add support of LBaaS v2" 2016-12-15 20:34:21 +00:00
Jenkins 7a2ef5957e Merge "[suse] Add proxy config" 2016-12-15 20:30:26 +00:00
yatin 9b10456a58 [suse] Allow k8s cluster without floating ip
With this patch k8s opensuse cluster can be created
without floating ip.

Change-Id: Id0da2057bcf6b1ad518fed3aadb7141caddc4955
2016-12-14 03:58:04 +00:00
yatin c00d197954 [suse] add support of LBaaS v2
Add support of LBaaS v2 to suse k8s driver.
This patch also allows suse k8s cluster to be created
without enabling LBaaS.

Change-Id: I5de4059aa1185973be1c556a4b7565c62f76f9f9
Partial-Bug: #1622949
2016-12-14 03:57:18 +00:00
yatin 29ca630978 [suse] Add proxy config
Support of proxy for docker was missing in suse k8s
driver, added support of proxy with this patch.

Change-Id: I1dae1177f48a6c770df836e13384f0a9fb7774fc
Partial-Bug: #1622949
2016-12-14 03:56:18 +00:00
Dirk Mueller 089933784e [suse] Fix template descriptions
A lot of changes have been done in descriptions meanwhile
in the inspiration source of these heat templates, so merge
them here as well

Change-Id: I6c58efa430dd7eb4ee069781fcd39ec73bbe5e58
2016-12-13 10:27:41 +01:00
Dirk Mueller ace25e10f2 [suse] Add hidden attr to password in the Heat Template
The password should be a secret, we can mark it as
hidden for that, see

http://docs.openstack.org/developer/heat/template_guide/hot_spec.html#parameters-section

Change-Id: I05f018d128583e8933be06876b908c2864410a2e
2016-11-22 13:14:23 +01:00
Jenkins 58733c92e1 Merge "Change the type of flannel_network_subnetlen to 'number'" 2016-11-10 11:54:13 +00:00
Jenkins caeb9e2e92 Merge "[suse] Sync heat template version with other drivers" 2016-09-22 13:30:14 +00:00
yatin b0bcbecc5d [suse] Sync heat template version with other drivers
Updated heat template version to 2014-10-16 to sync with other
cluster drivers.

Change-Id: I26fc5b915a62bc839abcc3bf6a1f59dcf8f10060
Partial-Bug: #1622949
2016-09-14 18:38:19 +05:30
yatin 735db5401a [suse] Rename bay to cluster
Change-Id: If09e50508c26b8f489a55b9b5453c2ae5744e672
Implements: blueprint rename-bay-to-cluster
Partial-Bug: #1622949
2016-09-14 18:34:36 +05:30
yatin 82dc0eb69b Change the type of flannel_network_subnetlen to 'number'
Parameter: 'flannel_network_subnetlen' is currently defined as string for
opensuse driver. With this patch flannel_network_subnetlen is changed
to 'number'.

Change-Id: I1bddca23029a448a8bed490c3a37a97e41cc1414
Partial-Bug: #1622949
2016-09-13 15:51:16 +05:30
Michal Jura b5d05fc955 Add openSUSE driver support to Magnum
Change-Id: I3eb83867cca1f4d47b84d31d75d9f8f333af372b
Closes-bug: #1600197
2016-08-10 17:37:42 +02:00