Commit Graph

88 Commits

Author SHA1 Message Date
Monty Taylor d0630f0d6f Retire stackforge/heat-coe-templates 2015-10-17 16:03:14 -04:00
Tom Cammann c71593bfaf Deprecate repo
Add heading to README to indicate that repository is no longer
maintained.

Change-Id: I3b7b6eda888eed2c1ba38f2e09728d2cc7f8f242
2015-07-24 10:36:02 +01:00
Lars Kellogg-Stedman 00c270604a fix gitreview for review.openstack.org
Change-Id: I8698acc308f1b995338a1a932a51e2a1ddfd8f21
2015-03-26 13:43:33 -04:00
Steven Dake d8e5fbd938 Merge pull request #15 from hongbin/docker-group
Add user to dockerroot group instead of docker
2015-03-22 20:57:01 -07:00
Steven Dake b076b7c42b Merge pull request #16 from hongbin/kubelet-option
Fix a wrong option for starting kubelet
2015-03-22 20:50:13 -07:00
Hongbin Lu 712b4aa177 Add user to dockerroot group instead of docker
The script for adding user to dcoker group would fail, since there
is no group with name 'docker' in current version of atomic image.
Use 'dockerroot' instead.
2015-03-23 03:43:36 +00:00
Hongbin Lu 9895fca3f4 Fix a wrong option for starting kubelet
The default kubenetes kubelet config file specified a wrong option.
At the file /etc/kubernetes/kubelet, it specified:
"--api_server=127.0.0.1:8080"
First, the flag should be "--api_servers". Second, it should use
the IP address of the master node instead of "127.0.0.1".

See: https://bugzilla.redhat.com/show_bug.cgi?id=1200924
2015-03-23 02:16:17 +00:00
Steven Dake 3a912636fd Merge pull request #14 from hongbin/dynamic-scale
Support dynamically add/remove minion
2015-03-22 16:27:38 -07:00
Lars Kellogg-Stedman 93d6f6dd80 added tox.ini
Change-Id: Id44026f406da2cce5c2b609c8aaffa370e29e34d
2015-03-19 15:39:22 -04:00
Hongbin Lu e1d544adc2 Support dynamically add/remove minion
Currently, the list of minions is statically specified in master node,
and the list of IP addresses of minion nodes is passed to master node
through user_data. This approach doesn't work well on scaling. For example,
adding a minion node through stack-update will cause an update on user_data,
which cause the master node to be replaced.

This commit addresses this issue by dynamically register minion node.
There are two cases:
* Scale out: the new minion nodes will register themselves to the cluster
  when they are booting.
* Scale in: a subset of minion nodes are deleted by Heat, and the
  master node will discover it and automatically deregister the
  deleted nodes.
2015-03-18 16:23:14 +00:00
Lars Kellogg-Stedman 2017ef5a76 added support scripts
Change-Id: I875972813927dd4ace2c7f710b73085ba16ba45c
2015-03-13 00:33:50 -04:00
Lars Kellogg-Stedman f13a0dce47 prep for travis-ci
Change-Id: I757b303cd3900d61b25699aff01a8b949ba136fc
2015-03-13 00:30:25 -04:00
Lars Kellogg-Stedman 88758e6856 beaker.yaml was erroneously included in repository
Change-Id: Idca165433fba315082ccba6becfad96850a4bf5e
2015-03-13 00:30:25 -04:00
Lars Kellogg-Stedman 56a5341fba value for docker_volume_size must be a string
the parameteters scetion specifies `type: string`, but YAML converts
bare numbers into integer types.

Change-Id: I3a430839eee7e4ad4e0dd3aa66720ed6ca0c49ec
2015-03-13 00:30:25 -04:00
Lars Kellogg-Stedman 90120c9c98 Merge pull request #12 from takac/master
Allow specification docker volume size
2015-03-03 23:05:02 -05:00
Tom Cammann 78fba1527b Add master flavor param to kubecluster
Add parameter to allow the kube master to be a different flavor from the
kube nodes.
2015-03-03 00:55:39 +00:00
Tom Cammann 7459b176a8 Allow specification docker volume size
Pass through docker_volume_size to the kubenode from kubecluster
template.
2015-02-25 09:55:16 +00:00
Lars Kellogg-Stedman ef48d08f20 configure flannel via systemd unit
send flannel json to etcd via systemd unit rather than
cloud-init script
2015-02-10 11:04:42 -05:00
Steven Dake 4e1b7aebd1 Merge pull request #11 from hongbin/replacement_policy
Set port replacement_policy to AUTO
2015-02-09 21:55:53 -07:00
Hongbin Lu 02ea53c27d Set port replacement_policy to AUTO
The default replacement_policy is REPLACE_ALWAYS, which means a stack update
will always replace the port regardless of any property changes. As a result,
all the VMs of the kubecluster will be replaced, which is undesired.
2015-02-10 04:45:12 +00:00
Lars Kellogg-Stedman b06de8f2f3 call daemon-reload before starting services 2015-01-21 16:48:11 -05:00
Lars Kellogg-Stedman c265ddedac fix json syntax problem 2015-01-21 16:47:57 -05:00
Lars Kellogg-Stedman 88a8bd0eef configure cinder volume for docker storage
these templates will now allocate a volume from cinder for each minion
and configure them volume as direct lvm docker storage.
2015-01-21 16:47:22 -05:00
Lars Kellogg-Stedman 7ae6e54204 default server_image wasn't useful 2015-01-21 16:46:13 -05:00
Lars Kellogg-Stedman 809d9bec0c updated requirements in README 2015-01-20 21:40:16 -05:00
Lars Kellogg-Stedman dce7cf20b7 modified docker/flannel binding based on eparis work
Specifically, these ideas:

http://pkgs.fedoraproject.org/cgit/flannel.git/commit/?id=8d0e6c275d6eb3c779d4f3f5e29b84dd865796b2
2015-01-20 21:38:44 -05:00
Lars Kellogg-Stedman 8f59b7d60d use thttpd for demo webserver
while the onehttpd image is somewhat smaller, thttpd seems
like a slightly more mature project.
2015-01-03 22:59:41 -05:00
Lars Kellogg-Stedman 0bf1587d08 just run a dummy webserver 2015-01-02 17:38:44 -05:00
Lars Kellogg-Stedman 36ba26ec88 fix sed expression 2015-01-02 15:55:39 -05:00
Lars Kellogg-Stedman 6595da2f66 integrate wait-for-flanneld into docker.service.yaml 2015-01-02 15:55:27 -05:00
Lars Kellogg-Stedman cb51ae97b7 use flanneld sysconfig for etcd url 2015-01-02 14:48:59 -05:00
Lars Kellogg-Stedman 6cf8b904b5 added note re: vxlan backend issues on centos 2015-01-02 13:30:19 -05:00
Lars Kellogg-Stedman 18d9c6e683 make portal_net address range a parameter 2015-01-02 13:24:23 -05:00
Lars Kellogg-Stedman 8bf59371da thanks scollier for hint re: --data-urlencode 2015-01-02 12:18:54 -05:00
Lars Kellogg-Stedman 343bdebae7 added license 2015-01-02 10:27:16 -05:00
Lars Kellogg-Stedman 48d6f7a73f comments and script cleanup 2015-01-02 10:27:08 -05:00
Lars Kellogg-Stedman 6a203edd7a disable selinux in config file 2015-01-02 10:26:47 -05:00
Lars Kellogg-Stedman 38240ccdb4 updated README 2015-01-02 10:26:47 -05:00
Lars Kellogg-Stedman efb3418f69 add fix for https://github.com/docker/docker/issues/9468 2015-01-02 10:25:37 -05:00
Lars Kellogg-Stedman 5b0e39a93b cleanup unused sed command 2014-12-31 23:06:50 -05:00
Lars Kellogg-Stedman b235dcf86f use less confusing name for flannel json config
the flanneld systemd unit uses /etc/sysconfig/flanneld, so using
/etc/sysconfig/flannel was liable to cause confusion
2014-12-31 23:06:10 -05:00
Lars Kellogg-Stedman 08d87382cb make vxlan support conditional (+ doc updates)
it turns out that flannel's vxlan backend will crash centos 7, but works
fine under fedora 21.  added a new 'flannel_use_vxlan' parameter to make
the backend selection conditional.

we now put selinux in permissive mode to avoid problems with fedora 21.
2014-12-31 21:38:48 -05:00
Lars Kellogg-Stedman daee9e0fde permit kube api access via services 2014-12-31 00:13:42 -05:00
Lars Kellogg-Stedman 747d06c879 add a "minion" default user
create a default user in the templates rather than relying on whatever
is used in the underlying images, which may be "centos" or "fedora"
or "ec2-user" or something else.
2014-12-30 23:43:02 -05:00
Lars Kellogg-Stedman b1c36cdd31 refactor config using software config support
this splits the giant user-data script into smaller modules.  this
makes things easier to manage and also permits us to use cloud-config
scripts in addition to shell scripts.
2014-12-30 22:47:10 -05:00
Lars Kellogg-Stedman 0d981def48 use centos atomic host
this updates heat-kubernetes to use centos atomic host and flannel
2014-12-29 23:14:53 -05:00
Lars Kellogg-Stedman 538f7ad137 remove get-image.sh
switching to centos-7 atomic host, which already includes
docker and kubernetes (etc), so the get-image.sh script is no longer
necessary.
2014-12-22 14:26:50 -05:00
Lars Kellogg-Stedman e552f6623f show completion notification 2014-10-31 14:55:19 -04:00
Lars Kellogg-Stedman b2ad1fbd1f corrections to get-image.sh script
- fixed an order-of-operations issue that could have resulted in
  conflicts between docker-io and legacy "docker" package
- customize a copy of downloaded image rather than the original (to make
  it easier to start from scratch)
- make sure to clean up yum cache
2014-10-20 23:54:02 -04:00
Lars Kellogg-Stedman 4959a0ab9d Merge pull request #7 from rthallisey/master
If statement should pass if IMAGE exists
2014-10-20 19:00:00 -04:00