Commit Graph

50 Commits

Author SHA1 Message Date
Michal Jura
43bec106c7 [suse] Add SERVICE_ACCOUNT_KEY to Kuberneres cluster configuration
Change-Id: I18d6598e2f4b68ae7a672b794023e7408b7f8696
Partial-Bug: #1622949
2017-02-21 04:35:59 +00: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
Michal Jura
df37275fe1 [suse] Setting correct permissions for Kubernetes files
Change-Id: I595dfa66fb37b733bf50b18f52f7b124aa96906b
Partial-Bug: #1622949
2017-01-03 05:40:28 +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
Jenkins
e58e987449 Merge "[suse] Sync with cluster drivers" 2016-12-15 19:57:09 +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
Jenkins
0d9d8b1ebe Merge "DIB elements to support dcos for magnum" 2016-12-07 17:31:58 +00:00
fengbeihong
10e9132bb8 DIB elements to support dcos for magnum
This is a patch to build a centos image to support installing DC/OS as
a magnum coe.

Two elements are included: dcos and docker, only used to build a centos
image.

1. Element docker will install and configure docker in centos.
2. Element dcos will download dcos_generate_config.sh and do some
configurations for DC/OS.

Design spec in contrib/drivers/dcos_centos_v1/image/README.md.

Partially-Implements: blueprint mesos-dcos

Change-Id: I30fa4c102205aa2475b9491398c06da0d1e86f84
2016-12-06 10:10:36 +08: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
Dirk Mueller
617d55f9b7 [suse] configure flanneld on master node
The script had a typo that made it never do anything.

Change-Id: I10d50c7c7021d336cfcee790f2e16026c71d80ac
2016-10-25 22:26:55 +02:00
Dirk Mueller
b26c2d4a20 [suse] Update copyright/ownership information
The initial import was a bit of too much of a copy&paste, mildly
reword documentation and reflect copyright statements.

Change-Id: I64d51152e4b0081a7126777a8aedc54f38944502
2016-10-25 22:22:36 +02:00
yatin
15a053d4a8 [suse] Sync with cluster drivers
Change-Id: I0618a5d8be4c33e78d5295edca2f42e778e4a726
Partial-Bug: #1622949
2016-10-21 11:45:16 +05:30
Hieu LE
08a48895c4 Centralize config option: docker_registry section
Centralize config option of docker_registry section.
Replace oslo_conf cfg to magnum.conf.

Change-Id: I43d3ce068bb6638f71ea14577f34c1df3d7c9d8c
Implements: blueprint centralize-config-magnum
2016-10-11 11:05:40 +07:00
Jenkins
caeb9e2e92 Merge "[suse] Sync heat template version with other drivers" 2016-09-22 13:30:14 +00:00
yatin
8beab883e6 [suse] Fix OS::stack_id in kubeminion
OS::stack_id is currently set to kubeminion private ip. With this
patch it now refers to OS::stack_id.

Change-Id: I5695801f73a7e29aa0ce9909e1203764fe12b105
Partial-Bug: #1622949
2016-09-15 11:16:40 +05:30
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
Spyros Trigazis
917bf4e2dd Factor out common k8s definitions and mappings
Factor Out common kubernetes template definitions and address mapping
from Fedora Atomic, CoreOS and Suse drivers.

Partially-Implements: bp bay-drivers
Change-Id: Ib172c19acc1303041f7d8d9249df2d9ca1e4ff6f
2016-09-05 11:20:55 +02:00
Stephen Watson
2c9378dbd4 Updates drivers from BayModel to ClusterTemplate
Moves magnum.drivers from using Baymodel to ClusterTemplate naming to align
with bay to cluster blueprint.
First part of the rest of magnum.drivers update, with the next part renaming
Bay to Cluster.

Change-Id: I34c5a8bb2b2617b9a057cf7063d4749fa5a39f58
Implements: blueprint rename-bay-to-cluster
2016-09-01 21:54:38 +00:00
yatin karel
5c5bc5f91b Fix incorrect reference to bay-template-example.html
Change-Id: I5fa974bc082d2e344982ad3ad34b3de7af52d7a7
Closes-Bug: #1614639
2016-08-30 21:29:14 +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
yatin karel
21a3b21e77 Update default version of heat template
Make consistent default version of heat template across
kubernetes, swarm and mesos

Change-Id: I5f8231336a6832ae8ecd8f789ed0b51ba5062729
Closes-Bug: #1425368
2016-07-12 12:06:41 +05:30
murali allada
f09f314da4 k8s coreos bay driver
This patch moves k8s-coreos specific templates and
template_definition class to the new drivers folder.

It also deletes the /magnum/templates folder
as everything has been moved to the drivers directory.

Change-Id: I6b2ca49e4d7d5fcfb96d0abc373d6476fd907358
Paritially-Implements: blueprint bay-drivers
2016-07-11 12:35:06 -05:00
Egor Guz
020fae5d84 Update Dev Quick-Start links to officail docs
Moved all Dev Quick-Start realted documents to docs/source folder
(html files will be genrated for them at
http://docs.openstack.org/developer/magnum),
Updated all Dev Quick-Start interanl links to
http://docs.openstack.org/developer/magnum, converted Mesos cluster
with Heat to rst (requred for docs)

Change-Id: Ibba5f44fc5ce9cab30adc0957b6103c811329a06
2015-10-05 00:35:46 -07:00
Tom Cammann
6bb1768847 doc8 all documentation and fix doc style
Add doc8 to `tox -edocs` command. doc8 will check syntax/style check
rst documents and fail if not compliant.

Change-Id: Id2e9ed1f96cac27dc5e38f828fd2d824dad31c49
2015-09-16 16:58:11 +01:00
Kai Qiang Wu(Kennan)
8ec20a29f1 Fix the wrong platform usage
As 'vm' is not proper for platform, we now used server_type
to replace platfrom. As server_type can be vm or baremetal(bm) etc.

Closes-Bug: #1473257
Change-Id: I9e769e73ba3ea48069f0e69c4a93240bb1fe6c63
2015-07-22 01:25:24 +00:00
Andrew Melton
3a8ab855a8 Add Template Definitions
The idea here is to provide a way for magnum to discover and interact
with templates meant to build bays. Template definition discovery is
done through python entry_points, and each class lists the bay_types
it can provide. Each template definition contains a mapping of magnum
object attributes and heat template parameters/outputs.

This will be useful for not only allowing different CoEs, OSes, and
platforms. But can also provide the discovery mechanism for templates
once they are pulled into their own repository.

Partial-Implements: bp multiple-bay-templates

Change-Id: Ia596657856cd861c94e58dcd65acae0677a36d73
2015-04-09 08:47:15 -07:00
Kennan
c05ffe1693 Remove contrib directory for devstack
As the magnum/devstack has related files and plugin
descrptions, remove old contrib/devstack directory

Change-Id: I70f17512267516d676d78ca1dd06044906fae163
2015-04-09 14:15:01 +08:00
Davanum Srinivas
4c2b973859 Convert to new DevStack plugin model for functional testing
Switch over to the new plugin style as documented here:
http://docs.openstack.org/developer/devstack/plugins.html

Makes it very easy to setup a CI job. Added a new
directory for functional job and the tests are run
from the post_test_hook.sh. There's even a "magnum bay-list"
in the shell script to show that we are actually making
calls to the magnum API endpoint and things are working
fine. Note that this is just the minimal plumbing needed
and there's a lot more effort needed to come up with
proper test cases for testing magnum functionality.

Closes-Bug: #1439621
Change-Id: I88d45015338ef55713b32de196f9071c8fc2031b
2015-04-02 21:14:20 -04:00
lqslan
22b7124c2f Fix some typos in magnum document
Change-Id: I5180e3c24170512fb5fa98bc396bff8c1e7aedca
2015-03-31 21:23:14 +08:00
Jay Lau (Guangya Liu)
590c312ae0 Update magnum document to use openstack as namespace
Magnum is now moved to openstack namespace, all of the document
should also be updated to reflect this.

Change-Id: I8c91e99098acdfd2253b2ecd7100fc54aae370af
2015-03-28 20:14:42 +08:00
Steven Dake
d915e4e063 Modify documentation to point to kubernetes-0.11 atomic image
The current fedora atomic image uses kubernetes 0.6.0.  The latest
atomic image uses 0.11.0.  Unfortunately the Fedora community doesn't
release updates to atomic until a major release.

Change-Id: I6ab93469b7e57e1eeeb730189bcc63f1cd5da0bb
Closes-bug: #1434468
2015-03-23 07:16:41 -07:00
Surojit Pathak
d8717786f0 Removing duplicate service definition
Services related to magnum were defined twice.
Removing one such occurrence and positioning
with more appropriate comment.

Closes-bug: #1434747

Change-Id: I5fa3bf8fa2779cd9da77539a91534709fe6cdd75
2015-03-21 00:39:06 +00:00
Michal Rostecki
e58a7dade9 Fixed path in Devstack plugin README
README suggested that stack.sh script is in /opt/stack/magnum
instead of /opt/stack/devstack.

Change-Id: I030189a485c401d44dc8c5ad637b216ed91e71eb
2015-03-16 08:33:09 +00:00
Tom Cammann
b4e4a6d1dd Add devstack module to contrib
Add devstack module and with instructions on using it included in the
quickstart guide. The old manual process for using magnum with devstack
has been kept to retain information on how to deploy magnum manually. A
localrc for use with devstack has also been included rather than forcing
the user to copy and paste from the docs.

Closes-bug: 1430053
Change-Id: I373021378fd25d5a6cdb6213eaa21f8045a66be6
2015-03-16 00:52:22 +00:00