36 Commits

Author SHA1 Message Date
Pete Birley
f57972b5b6 dependencies: move static dependencies under a 'static' key
This PS moves static dependencies under a 'static' key to allow
expansion to cover dynamic dependencies.

Change-Id: I38990b93aa79fa1f70af6f2c78e5e5c61c63f32c
2018-02-23 12:31:15 -08:00
Chris Wedgwood
6b844382ad yaml cleanup: trim multiline strings
Change-Id: Ice615c1d252651793dfa09b8e85a5b4228d68737
2018-02-20 16:39:52 +00:00
Pete Birley
b311f86193 Node Labels: update nodelabels to allow targeting of pods to nodes
This PS updates the node labels to allow pods to be targeted to nodes
on a per type basis.

Change-Id: I45d5383d04fcd1d98740a18d86c1cfc2cb8ec409
2018-02-19 11:51:09 -05:00
Rakesh Patnaik
47b5a11238 expose ingress metrics endpoint for nginx-vts exporter prometheus scrape target
Change-Id: I80b539cf0bf06fe0ba4e0ade8b4b301f4c063455
2018-02-10 06:36:55 +00:00
rakesh-patnaik
817ce4e4fe Configure ingress nginx controller with vts metrics for prometheus
Change-Id: I4801399114e182c6fc518785633a85056bedc096
2018-01-19 17:16:46 +00:00
portdirect
35dfb998f4 Ingress: Move to namespaced ingress controllers and edge VIP
This PS moves to namespace specific ingress controllers, and a
cluster wide ingress controller that acts as the external front
door to the cluster. The cluster ingress controller will also
be able to create a dummy interface that can be announced via the
OpenStack-Helm-Infra Calico chart.

The ability to exercise the edge VIP feature is currently only
demonstrated in the single node gate and guide, as it requires
additional configuration, or hardware to set up the routes in
a multinode env.

Change-Id: I8b823b93465f2e90aaabcca9ec9b783d34539e07
2018-01-15 01:23:45 -05:00
portdirect
e446e5eceb Ingress: Update image and add UDP/TCP proxying support
This PS updates the image used in the ingress controller and
adds UDP/TCP proxying. In addition the chart has been given
a spring clean to better match other OSH charts.

Change-Id: Ib892b82c4657c42e7531a2ce81746398e7bd4df5
2018-01-11 18:33:42 -05:00
portdirect
fa2620d54b RBAC for OSH
This PS applys RBAC rules to OSH, based off the work
done in https://review.openstack.org/#/c/526464/

Change-Id: I541b0ac1a3972566ef2b66571ae32744dab70c17
2017-12-26 10:24:19 -05:00
portdirect
475fc97d3a Ingress: Remove resolv.conf workaround
This PS removes the resolv.conf workaround as it has not been
required for some time, now that we can set the Pod DNS policy
to "ClusterFirstWithHostNet".

Change-Id: Ibdef3357e69f1f06f3d0c0b398466d1b9d24b8ca
2017-11-20 12:01:26 -05:00
portdirect
e5029cba65 Ingress: Move default deployment to daemonset
This PS moves the default deployment type to a daemonset - which is
more useful in many cases.

Change-Id: Ib64b204505644444583ca3b6f29f2739e2f2cc19
2017-11-20 11:55:21 -05:00
intlabs
fe6107cf76 Images: Update values to allow simple parse of images being used
This PS updates the values file layout for images to allow simple
parsing of the images in use by charts, allowing them to be queried
and modified much more simply. By moving the image tags to a 'tags'
key, we can extend the options used simply to accomodate extra
options simply (eg prefixing the tag for use with an internal
registry) or pre-pulling the images to reduce chart deploy failure.

Change-Id: I9ec1dbb00d997ab6cb021bf0b698f7aae740e95d
2017-10-23 10:05:20 -05:00
Grzegorz Grasza (xek)
1fe3ca34c9 Change entrypoint version
New kubernetes-entrypoint version was released. K8s-entrypoint
authors maintain images at Quay. The image uses CoreOS, which
is more lightweight than the current Ubuntu image, so it
should lessen the burden on the infrastructure.

Change-Id: Id8c2a4d065550ffbd64476377247cccf213b58e1
Partial-Implements: blueprint entrypoint-namespaces
2017-10-10 15:59:08 +02:00
Jenkins
57a54ff1b9 Merge "Ingress: Update labels" 2017-09-05 22:25:10 +00:00
Mateusz Blaszkowski
e4f0690eb2 'affinity' constraints added in remaining services
Change-Id: I1ca654fbcc0301591e6b290d41fce1797ea2820a
Signed-off-by: Mateusz Blaszkowski <mateusz.blaszkowski@intel.com>
2017-09-04 05:56:19 -04:00
Pete Birley
d503d5b6bf Ingress: Update labels
This PS fixes some issues and inconsistencies with the way labels
were applied to the ingress controller.

Change-Id: I98a71e75836f4c4673502ae1f7f7e13a4d19bf95
2017-09-03 11:51:04 +00:00
Pete Birley
fb8313e0aa Ingress: Disable resource constraints by default
This ps disables the resouce constraints upon the ingress controller
which was accently left on by default.

Change-Id: I573a4c52f727570aafcd4a1eb16c5c13131323a8
2017-08-29 13:35:00 +00:00
Jenkins
420e37cb7e Merge "Ingress: fix ingress error page backend service" 2017-08-25 13:21:29 +00:00
Pete Birley
8b58159e2d Ingress: fix ingress error page backend service
This Ps fixes the ingress error page service, which was not
attaching to the error page pod.

Change-Id: Ia4ce523d0e17a80a0860cf7bdbdc46875b344617
2017-08-25 01:47:22 +00:00
Jaesang Lee
a0cfd9a14c Support Nginx custom configuration in Ingress
This PS support to render nginx configuration to be controlled. It
enables to config nginx paramter in values.yaml

Change-Id: Ie36efddceeb2feb1aedb88f5852fb706c161aa05
Closes-Bug: 1712263
2017-08-22 06:46:55 +00:00
Jawon Choo
9f7e6eda90 pod resources mismatched in ingress chart
in ingress chart,
ingress/error resource configuration is mismatched.

Change-Id: Idd9ea2692981b2ba971a259844f703ec9e7307b1
Closes-Bug: #1711980
2017-08-21 11:41:31 +09:00
Pete Birley
ff8744a9b9 Licence: Remove licence header from rendered files
This PS removes the licence header from rendered output from tiller,
significantly reducing the configmap size of charts deployed to the
cluster.

Change-Id: I5d1b246f2068f3b83bf59ba79fe8b88bbc9a6161
2017-08-07 17:16:13 -05:00
Pete Birley
8f8a80019a Jobs: Add labels to all jobs
This PS adds labels to all jobs in OpenStack-Helm, allowing them to be
found by label searches. This makes management of large clusters using
tools like Armada easier.

Change-Id: I49b2cb7a94fab96958f187ca11e2c2a0c80ff843
2017-08-05 20:17:12 +00:00
Pete Birley
f30cbcf108 Update pod affinity to allow customisation
This PS updates the pod affinity function to allow customisation by
operators at the point of deployment.

Change-Id: I8b7b2f584e990e068051d9a6d5cc7b1e1adb5aa5
2017-07-28 15:02:47 +00:00
Seungkyu Ahn
e7f82d7695 Support underscore headers in ingress
Nginx's configuration has the underscore header value disabled.
When uploading image, glance api uses underscore header.
For example, x-image-meta-disk_format or x-image-meta_name.

Change-Id: I86e7f7d8d908904a4e45fa68f6bd613028d45801
2017-07-19 23:16:50 +09:00
Pete Birley
e852e1e62d Ingress: Fix deployment type switching
This PS fixes the switching of deployment types from: Deployment to
Daemonset.

Change-Id: I4b1ddb70189d74b071b35f0e1f81cf26d53a21f6
2017-07-17 17:58:56 -05:00
Pete Birley
4d066332a7 Values: Move replicas to pod key
This PS move s the replicas key to be under the pod key in the values.
It brings further consolation of related configuration params to be
nested under common keys across all charts.

Change-Id: I420b06debd0a62ba5d83497be43ff6c49c49d339
2017-07-13 23:08:08 -05:00
Pete Birley
20527cb57c Move k8s pod params under common key
This PS moves K8s pod params under a common key.

Change-Id: Ib4e72e82a4f1540fa800c39d0dcc91b286d96c93
2017-07-11 23:28:47 +00:00
Tin Lam
670a78bcbe Fix file permission and readOnly flag
This patchset enforces stricter file permission on *-etc configmap and
sets readOnly flag to true in a number of charts.

Change-Id: I233689a5d56dd1352e0d81997a94b4cdd6bed5d2
Signed-off-by: Tin Lam <tin@irrational.io>
2017-07-08 13:24:14 -05:00
Pete Birley
ac06f49849 Unify and normalise K8s Resources and Upgrade Strategy
This PS unifies and normalises Kubernetes resource allocation and
update strategy across all OpenStack-Helm elements.

Change-Id: Ia41fc453cb5191fa447ca6e1aa0f5b431c939dc8
2017-07-06 17:48:16 +00:00
Pete Birley
c0cf2337a2 Ingress controller for public endpoints
This PS provides the framework for Ingress controller based access to
public APIs.

Services covered:
 * Barbican
 * Cinder
 * Glance
 * Heat
 * Horizon
 * Keystone
 * Magnum
 * Mistral
 * Neutron
 * Nova
 * Senlin

Change-Id: I82d55f6ca41859ebed3312ec7d95b353df09e772
Implements: blueprint api-ingress
External-Tracking-Id: OSH-58, OSH-62
2017-06-28 17:37:10 -05: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
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
Jenkins
fb11f693ab Merge "Cleanup - add remaining configmap hashes" 2017-05-20 23:08:07 +00: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
Larry Rensing
365132a4c5 Cleanup - add remaining configmap hashes
This adds a configmap-bin/etc hash value to the remainder of the manifests

Change-Id: Icccadccfd1d68e89b452b1c722e28b7340d9164b
2017-05-15 20:51:35 +00:00
Pete Birley
5b37bcfb06 Ingress Controller chart
This PS adds a basic ingress controller chart for Openstack-Helm

Change-Id: Icee97fd118a8dab0563cf91400f80ee695e85dfe
2017-04-25 08:54:31 -05:00