237 Commits

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

Change-Id: Ia0e853564955e0fbbe5a9e91a8b8924c703b1b02
2018-02-24 17:39:55 -05:00
Zuul
b84fd4da05 Merge "Fix prometheus clusterrole name" 2018-02-21 15:45:20 +00:00
Zuul
40b1c07f53 Merge "Add template for Fluent logging index" 2018-02-21 15:42:52 +00:00
Steve Wilkerson
77503d150c Fix prometheus clusterrole name
The clusterrole name for prometheus wasn't referenced correctly in
the clusterrolebinding, resulting in issues with prometheus
operating correctly

Change-Id: I5b843d8a2b6829356098d71503ffce4a66d3198a
2018-02-21 07:51:39 -06:00
Zuul
9b9425964b Merge "Remove pvc: key in prometheus chart's manifest tree" 2018-02-21 00:54:36 +00:00
Zuul
364c19d058 Merge "Add prometheus annotations to tiller-deploy service" 2018-02-20 21:08:06 +00:00
Steve Wilkerson
4f1f180e8e Add prometheus annotations to tiller-deploy service
This adds the prometheus annotations to the tiller chart, allowing
for the scraping of metrics from tiller.  currently, tiller exports
metrics specific to the grpc calls being made against it

Change-Id: Ibe10098689cc37a9de6306af86f4d63d8aab318b
2018-02-20 10:05:05 -06:00
Zuul
b205022b7f Merge "Apply a patch for fluentbit (v0.12.14)" 2018-02-20 15:26:10 +00:00
sungil
aea3032c7e Apply a patch for fluentbit (v0.12.14)
Due to bugs, fluentbit introduce a patch v0.12.14.
This PS apply this patch.

The bug report on fluentbit: https://github.com/fluent/fluent-bit/issues/486
Release Note: http://fluentbit.io/announcements/v0.12.14/

Change-Id: Ie4dfd812956d23b65b0189adcb063ab0c8cffd33
2018-02-20 09:54:14 +09:00
Steve Wilkerson
9244fae2bc Remove pvc: key in prometheus chart's manifest tree
The pvc: key was added back to the prometheus chart as part of the
rbac tidy change. This removes it again

Change-Id: I572a4054d53ce5cb382f8b6608397d4f8a7eabd0
2018-02-19 17:10:40 -06:00
Zuul
09b48986de Merge "RBAC: Include release name in cluster roles to prevent collision" 2018-02-19 22:49:54 +00:00
Zuul
d28ce2e6c8 Merge "Fix Ceph Grafana dashboard" 2018-02-19 22:05:04 +00:00
portdirect
515494ca98 RBAC: Include release name in cluster roles to prevent collision
This PS includes the release name in the cluster role to prevent
colision if the chart is deployed multiple times in the same
cluster.

Change-Id: I7166e5ee25b3d4c89879393c5f84c869585a2681
2018-02-19 13:13:56 -06:00
Steve Wilkerson
a153f5474f Add rules files to prometheus dynamically
This dynamically adds the rules files for prometheus to the
prometheus-etc configmap, and also dynamically adds volume mounts
to the prometheus statefulset for each rules file

This also removes the empty rules file trees in the prometheus
values.yaml file

Change-Id: I9acbbe57d71a23f69e9e172b2f3ad66985e99574
2018-02-19 17:55:10 +00:00
Zuul
457ff9552b Merge "Remove grafana etcd dashboard" 2018-02-18 21:00:32 +00:00
Zuul
3e39074b97 Merge "Zuul: Remove project name" 2018-02-18 08:59:35 +00:00
sungil
66919d28ef Add template for Fluent logging index
Fluent-logging stores logs on a elasticsearch by default. Elasticsearch
stores all fields as tokens by default, but some fields shoud be stored
for purposes such as retrieval, without splitting. Mapping in elasticsearch
is used to define a property of fields and Template can defines the mapping
for an index. fluent-logging use it to define the index structure. Specific
index type can be defined on the value file.

Change-Id: Id597111f478fcddf709b36d2db9ac5a5d6d8206f
2018-02-18 12:22:23 +09:00
portdirect
3713266f4c K8s: udpate KubeADM-AIO to use K8s v1.9.3
This PS updates the version of K8s used in the gate to v1.9.3

Change-Id: I284083e0cdf828701c439c44edfd3a975dcd69c3
2018-02-17 15:21:06 -05:00
Ganesh Mahalingam
c263929d6c Update timeout for infra jobs
Change-Id: Idcd931b377cce4481c13d10952b05cdd984cf3c4
Signed-off-by: Ganesh Mahalingam <ganesh.mahalingam@intel.com>
2018-02-16 14:59:35 -08:00
Steve Wilkerson
1976118b49 Remove grafana etcd dashboard
This removes the etcd dashboard as a default dashboard for grafana
as it currently doesn't work out of the box

Change-Id: Icd435268756336113219df66068f62c8870ed9f9
2018-02-16 11:42:05 -06:00
Steve Wilkerson
590501d0aa Fix Ceph Grafana dashboard
Two incorrect expressions were causing issues in reporting the
number of OSDs In and the number of OSDs Down. This updates the
expressions to fix these issues

Change-Id: I41c3588a227edc8fe986061886a27d1f694d6e92
2018-02-16 11:02:35 -06:00
Zuul
1bfa439a6b Merge "Add fluentd prometheus exporter for logging metrics" 2018-02-14 15:49:01 +00:00
Zuul
f808c525f8 Merge "Add deep merge utility to helm-toolkit" 2018-02-14 01:29:27 +00:00
Steve Wilkerson
5d95b0e2cb Add fluentd prometheus exporter for logging metrics
This adds templates for a prometheus exporter for fluentd to
adequately capture log metrics and fluentd service metrics for
consumption by prometheus

Change-Id: I6d6a8c2be07af819dc6d99b8ce5f1d4b635a69f0
2018-02-13 19:09:35 +00:00
Sean Eagan
641c79c902 Add deep merge utility to helm-toolkit
Adds "helm-toolkit.utils.merge" which is a replacement for the
upstream sprig "merge" function which didn't quite do what we
wanted, specifically it didn't merge slices, it just overrode
one with the other.  This PS also updates existing callsites
of the sprig merge with "helm-toolkit.utils.merge".

Change-Id: I456349558d4cf941d1bcb07fc76d0688b0a10782
2018-02-13 10:08:50 -06:00
Zuul
382a63260a Merge "Grafana: Remove tab from values.yaml file" 2018-02-12 18:24:36 +00:00
portdirect
7a322f0a08 KubeADM: Label namespaces
This PS removes the duplicate labeling of K8s namespaces everytime
the kubeadm image is run - as this action is performed by the
container itself while deploying k8s. It also updates the playbook
to label the kube-public ns.

Change-Id: Icfaabe54d263e0bbc52f2ac11835cb5d92ad32a4
2018-02-11 13:59:15 -05:00
Zuul
3b130197e7 Merge "Fix namespace label" 2018-02-09 16:30:26 +00:00
Siri Kim
54a39127ac Grafana: Remove tab from values.yaml file
Remove tab from values.yaml file.

Change-Id: I9566dee1de1ade0d4bdb0b9b85f5d7dfa0b73859
2018-02-08 17:35:36 -08:00
Zuul
4297f786b0 Merge "Add elasticsearch exporter" 2018-02-07 23:30:04 +00:00
Zuul
8691034b6d Merge "Update prometheus metrics gathering in post-job" 2018-02-07 23:04:15 +00:00
Steve Wilkerson
094e0103a9 Add elasticsearch exporter
This adds a chart for an elasticsearch exporter to expose metrics
for prometheus. This also moves the exporter to be included as
part of the chart it's meant to target as opposed to its own
separate chart

Change-Id: I491f4d1efba633827d8a6255218daeb9d427f922
2018-02-07 10:59:27 -06:00
Zuul
27c46b5603 Merge "Provide additional flexibility for the calico chart" 2018-02-06 22:10:21 +00:00
Steve Wilkerson
6af03cd6d9 Update prometheus metrics gathering in post-job
This updates the prometheus metrics gathering role to dynamically
detect deployed namespaces instead of using hardcoded tasks for
each namespace. This allows the use of this job in openstack-helm
without needing to manually add additional namespaces

Change-Id: I2304aceab8dcda5471af708f57924193f03ee8f3
2018-02-05 18:21:49 -06:00
Tin Lam
ae54ad7cd0 Fix namespace label
This patch set fixes the namespace labels and adds in a new log file to
describe all namespaces to troubleshoot gate issues where labels are not
applied properly.

Change-Id: I34c43c345f9a49df8d7fcf2e7824220a22698d46
Signed-off-by: Tin Lam <tin@irrational.io>
2018-02-05 15:43:40 -06:00
Zuul
266e96abbc Merge "Update kibana image to 5.6.4 tag" 2018-02-04 16:54:26 +00:00
Zuul
d5c6d42ecc Merge "Disable Elasticsearch NFS snapshot repository by default" 2018-02-04 16:54:25 +00:00
James E. Blair
e60bce18f7 Zuul: Remove project name
Zuul no longer requires the project-name for in-repo configuration.
Omitting it makes forking or renaming projects easier.

Change-Id: I35277bfa2de254337854c6058e32f91ac1d621c8
2018-02-02 08:50:55 -08:00
Steve Wilkerson
e04be06ee3 Update kibana image to 5.6.4 tag
Updates the kibana version to match the elasticsearch version

Change-Id: I4ba2410ebf00ce2b269806f46f2c0a14652b71dc
2018-02-01 14:26:48 -06:00
Zuul
cf02db5570 Merge "Add node selectors to elasticsearch chart" 2018-02-01 20:22:28 +00:00
Zuul
61792ba9af Merge "Remove helm_tests image key from openstack-exporter" 2018-02-01 15:54:56 +00:00
Zuul
5ab1e126d8 Merge "Rollback helm version to 2.7.2" 2018-02-01 15:23:29 +00:00
portdirect
2d725fd00b Rollback helm version to 2.7.2
The update to helm 2.8.0 resulted in issues with releases not
registering as ready before timing out. This rolls the version back
until those issues are addressed

Change-Id: Id58f85f150054d82c047bd360258ebe9e571360f
2018-01-31 21:28:58 +00:00
Steve Wilkerson
220310bd2f Add node selectors to elasticsearch chart
This adds node selectors to all templates in the elasticsearch
chart, as they were previously missed

Change-Id: I34ea5751663b2e993c5f73a78a1f91133919752c
2018-01-31 15:19:28 -06:00
Steve Wilkerson
b15d0ed0d2 Fix alertmanager volumemount
The volume mount name for the permissions init container was
overlooked when the PVC for alertmanager was removed and the
volume renamed. This changes the mount appropriately

Change-Id: I5db6594a3192ec78354e5f3d3d41e96317488664
2018-01-30 19:57:11 -06:00
Zuul
1fa00dec4a Merge "Alertmanager: Use volumeclaimtemplate for storage" 2018-01-30 23:52:47 +00:00
Steve Wilkerson
fa5fbd0e1f Remove helm_tests image key from openstack-exporter
The openstack-exporter doesn't have helm tests currently, so there
is no need for a helm_tests image key.

Change-Id: I7d1f737170a343e4ec66c4d7ace3ba76cdffb329
2018-01-30 16:09:48 -06:00
Zuul
3036dd24c6 Merge "kube-state-metrics for kubernetes version 1.8" 2018-01-30 17:37:52 +00:00
Zuul
0cdee45661 Merge "K8s/Helm: Bump versions to current release" 2018-01-30 17:18:34 +00:00
Alan Meadows
c10713bde9 Provide additional flexibility for the calico chart
* Ingests the bird templates so that we can override them
to support things such as custom BGP ports (listen) and
neighbors (remote)

* Supports announcing addresses that are within the
.Values.networking.bgp.ipv4|6.additional_cidrs list
in support of ingress controllers that can create
dummy interfaces and assign addresses to be announced

* Introduces a new job to perform calicoctl manipulation to
support manipulating the mesh, adding peers, and changing the
ipPool settings which is value driven

* Support custom port binding and specific interface binding
to allow custom BGP port selection for IPv4 and IPv6

* Instantiates calicoctl as a utility on hosts

* Adds a new function to helm-toolkit to retrieve the http
or https prefix for an endpoint

* Supports https based etcd backends with new certificate
parameters

* Finally, introduces more strict bgp listening to allow
multiple hostNet bgp speakers to run in parallel

Change-Id: Ib4d00befddbd8498b9dcc693409b8b2577458497
2018-01-30 08:43:04 -08:00