52 Commits

Author SHA1 Message Date
Jenkins
592692fdf8 Merge "Update deployment for kubernetes 1.6" 2017-06-02 15:35:15 +00:00
Darla Ahlert
78dd37efc2 Update deployment for kubernetes 1.6
In Kubernetes 1.6, the deployment API version was changed
from extensions/v1beta1 to apps/v1beta1

Change-Id: I14ee465de381d25866224b9eae3512f0b42588d3
2017-06-02 08:45:08 -05:00
Jenkins
d391a06c70 Merge "Consistency: Move Glance container start commands to scripts" 2017-06-01 23:34:04 +00:00
Jenkins
efc68f4347 Merge "Make remaining volumeMounts readOnly" 2017-06-01 21:40:26 +00:00
Pete Birley
c0651f3e22 Consistency: Move Glance container start commands to scripts
This PS moves the container start commands to scripts. This brings
the service into alignment with others in OpenStack-Helm, and enables
easier debugging and modifcation of the launch commands for services.

Change-Id: I433b5d94d3cfc8c9167a4f4ee75fb460a9c6bd9a
2017-06-01 10:34:42 -05:00
Pete Birley
8c29949c0d Helm-Toolkit: Update naming to be explict and remove old functions.
This PS updates the way helm-toolkit functions are named to
reference the full path they are loacted at. This should make
development and debugging easier. Addtionally unused functions
have been pruned as well.

Change-Id: I03c553f1d01bccc70c86768b416b147c90d9b2f0
2017-05-31 19:52:02 +00:00
Larry Rensing
ed2b82977b Make remaining volumeMounts readOnly
This cleanup adds a readOnly tag for the remaining volumeMounts
across the project.

Change-Id: I1035c075c2e0c6f2b1b76a14e45094ed4e90a879
2017-05-26 13:46:30 +00:00
Chris Wedgwood
b7150eb0b4 Allow glance to use file method
Allow glance to use the "pvc" method, this was previously called file
but has been renamed for clarity.

We now require Kubernetes 1.6 or later; remove the storage annotation
in favor of storageClassName.

Change-Id: I315eaf68937f91b56c1a26954072bda53767c606
2017-05-25 17:22:14 +00:00
Jenkins
3bb2c91bdb Merge "Cleanup - Adding volume overrides" 2017-05-22 16:23:32 +00:00
Dae Seong Kim
9672d2b184 hotfix to change cephclientglancekeyring key
cephclientglancekeyring key is removed. so it needs to be changed
to glance-etc.

Closes-Bug: #1692459
Related-Bug: #1691011
Change-Id: Ie4b45648a68069c910dbe47c53c4f091dc424da7
2017-05-22 20:46:31 +09:00
Jenkins
d2de9550f0 Merge "Adding pod disruption budget for glance" 2017-05-19 20:46:26 +00:00
Larry Rensing
3067a60468 Adding pod disruption budget for glance
This PS adds a default pod disruption budget for glance-api and
glance-registry to ensure at least one replica of each is running.

Change-Id: I06364bc2bb816fd4877353857b1adfb13a35a0a7
2017-05-18 16:20:22 +00:00
Larry Rensing
b02c4d215e Cleanup - Adding volume overrides
Added volume overrides for the remaining kubernetes manifests

Change-Id: I582609b38ac511ef920f849fdfd45fd03ad32677
2017-05-18 14:58:27 +00:00
Dae Seong Kim
b58c5d2515 move ceph info under conf property
Now ceph.enabled property in values.yaml file is not used anywhere
and almost all configuration about ceph is moved under conf property.
In addition, default values.yaml file has no ceph.glance_user property
and still the property is used in templetes.

It looks it's time to move remained ceph properties under conf tree
and remove ceph tree.

Closes-Bug: #1691011
Change-Id: I98f7a85eef517ab806432a7342aa3601e8183e0b
2017-05-18 11:44:20 +09:00
Larry Rensing
fea453ba72 Consolidate volumes across charts
This PS standardizes configmap mounts across all charts to be named
<project>-etc or <project>-bin.  This reduces the amount of volumes
listed in each file.

Change-Id: Idbaf495fa243bb9ea0f6ad755ca4f899d5fc0d6f
2017-05-16 15:49:51 +00:00
Pete Birley
caf549386b Glance: make PV flexible
This PS makes the PV used for the file backend flexible, allowing
operators to specify the annotation and size used/allocated.

Change-Id: I6d153143f9cc268c4c543e392ddf115e5db67a57
2017-05-02 22:31:26 -05:00
Pete Birley
489b641d33 Glance Config Overrides
This commit moves Glance to use the configuration methods from Heat,
Nova, Neutron and Keystone.

It includes a _values-mvp.yaml that applies values suitable for using
a file backend, including the auto creation of a PVC.

Change-Id: I55a96982a7d0adbc118492aff4b56adf127b2cd1
2017-04-25 15:59:09 -05:00
Pete Birley
80f93c1c38 Updated initcontainer for glance-bootstrap job 2017-04-07 14:32:43 -05:00
wilkers-steve
7fc4a735af Merge pull request #294 from larryrensing/feat/bootstrap-services-glance
feat: image bootstrap for glance
2017-04-06 16:17:07 -05:00
wilkers-steve
d0a9bd2202 Merge pull request #289 from portdirect/0.3.0/db-management-job-scripts
feat: replace ansible with PyMySQL for DB Creation
2017-04-06 08:39:05 -05:00
Pete Birley
64bbf6700c Update Glance DB Jobs 2017-04-04 11:33:42 -05:00
Darla Ahlert
bdf1c242ed Add NodePort to remainder of services 2017-03-31 10:34:21 -05:00
Alan Meadows
3886ba09e9 update other entrypoint macrros correctly this time 2017-03-22 12:31:37 -07:00
Alan Meadows
0537f138ac update other entrypoint macrros with empty mounts parameter until they are refactored 2017-03-22 12:30:21 -07:00
Larry Rensing
c687ea779d added ability to bootstrap glance image 2017-03-21 13:39:07 -05:00
Pete Birley
f057460303 Remove unused post script from glance 2017-03-15 12:12:40 -05:00
Pete Birley
a5e1d7c608 Update Glance Keystone Jobs to match common architecture 2017-03-15 12:09:10 -05:00
Pete Birley
acc243a768 Move Glance to endpoint type lookups 2017-03-03 01:08:59 +00:00
Brandon B. Jozsa
a0c80ac038 add license headers to glance 2017-02-17 09:59:51 -05:00
Pete Birley
116931bb51 Rename common chart, and update all references to functions within it. (#167)
* Rename common chart to helm-toolkit

* Update useage of helpers to include reference to chart they come from.

* Update helm-toolkit function naming

Also catches several functions missed in previous PS

* Update remaining requirements.yaml to use helm-toolbox

* Dep Check container fix for common -> helm-toolbox renaming
2017-02-14 16:52:38 -08:00
Marcellin Tchassem
fc21a2e924 Add resources limits and requests for some charts (#163)
* Add resources limits and requests for each chart

* Refactor the resources limits and requests to follow a patern

* Fix some coding issues

* fix issues resulting from feedback on the resources PR

* Reset some variables to a static value in the neutron chart.

* Substituting variable entrypoint by dependency_check in the concerned files

* Few adjustments

* Update deploy-region.yaml

* Update deployment.yaml

* Add resources limits and requests for each chart

Squah all commits in one.

* Add resources limits and requests for some charts

* cleaning

* Fix indendation issue

* Update deployment.yaml

* Update daemonset-ovs-vswitchd.yaml
2017-02-01 19:47:59 -08:00
Pete Birley
8317202e3d Standardise DB Job names
Standardise the DB creation job name to service-db-init for all services.
2017-01-22 05:45:30 +00:00
Pete Birley
1a13f9ba83 Add support for daemonsets to the Kubernetes-Entrypoint init-container.
It also makes two other changes:

 * Moves the entrypoint container manifest snippet to its own file to reduce loading on the _funcs.tpl file
 * Changes dep-check-init-cont to dep_check_init_cont to match the formatting of other defines used in OpenStack Helm
2017-01-22 05:35:31 +00:00
Alan Meadows
2edf1bcc99 Bugfixes for functional release tagging
* Allow glance to support using default secrets
  if none are provided

* Resolve configmap mounting issue with glance
  ceph secrets

* Ensure keystone wsgi workers/threads are set to
  reasonable numbers for a container implementation
2017-01-20 09:30:08 -06:00
Pete Birley
09efab76ca Add glance registry config mounts 2017-01-20 01:21:48 +00:00
Pete Birley
b1ce9b093b Add glance registry config 2017-01-20 01:19:37 +00:00
Pete Birley
b31a365aea Fix glance containers entrypoints
Also improves glance containers volume specification yaml.
2017-01-20 01:05:07 +00:00
Pete Birley
f498fcb6dd fix typos in init-container merge 2017-01-19 23:49:22 +00:00
Steve Wilkerson
182a27ea7f Add glance config-dir
Added --config-dir flag to the glance-api command
2017-01-19 17:32:58 -06:00
Alan Meadows
ce47732a6b Merge branch 'upstream_master' into glance_changes 2017-01-19 17:09:55 -06:00
DTadrzak
71427ce905 A few changes according to intlabs's review.
Signed-off-by: DTadrzak <daniel.tadrzak@intel.com>
2017-01-16 10:47:43 +01:00
Steve Wilkerson
b4d873e1a1 Fix file name in configmap-etc.yaml
Overlooked a file extension in one of the data entries in the
etc configmap.
2017-01-15 16:40:52 -06:00
Steve Wilkerson
393ed4cf47 Culmination of glance changes
Due to some messy rebases and a botched git history, implemented
all changes into one PR
2017-01-13 15:40:38 -06:00
DTadrzak
f4283675d5 Adjust formatting
Signed-off-by: DTadrzak <daniel.tadrzak@intel.com>
2017-01-13 13:44:16 +01:00
DTadrzak
d3d38876c8 A few changes according to Alan's review.
Signed-off-by: DTadrzak <daniel.tadrzak@intel.com>
2017-01-13 13:34:28 +01:00
DTadrzak
fcc594aac8 Adding: templates for init-containers. Unfortunately I need to break it for
two templates, because i don't how to pass two variables to template.

PR also adjust layout of configuration files in Nova.

Signed-off-by: DTadrzak <daniel.tadrzak@intel.com>
2017-01-13 13:33:51 +01:00
DTadrzak
6f124d5107 Adding NodeSelector field to Jobs
According to #101

Signed-off-by: DTadrzak <daniel.tadrzak@intel.com>
2017-01-11 15:01:58 +01:00
Alan Meadows
c9d27bac4d Add rolling update parameters to all current charts
This ensures that all charts have a consistent and overridable
approach to their pod replacement strategies, along with sane
defaults.
2017-01-09 15:08:46 -08:00
Alan Meadows
bcf23c7399 Endpoint lookup fixes for consistent keystone catalog endpoints
This introduces changes across several charts, for consistent
endpoint lookup routines.  Today, only the internal endpoints
are defined (and copied to admin and public).  This can later
be expanded to handle unique public and admin endpoints.

This ensures the catalog is populated with consistent URLs
for all services.
2017-01-03 12:20:26 -08:00
DTadrzak
c22e7ba78d Another Glance-fix.
Without those changes i wasn't able to run glance-post.
Necessary changes in order to make glance-post work.

Signed-off-by: DTadrzak <daniel.tadrzak@intel.com>
2016-12-20 17:27:42 +01:00