Commit Graph
35 Commits
Author SHA1 Message Date
Adarsh J 2227c3ee24 [stable/concourse] Fix substitutions - {} with () in args (#3758)
* Upgrade the chart version
2018-02-19 18:04:37 -08:00
Will Tran 63a555bbb6 [stable/concourse] Tune fatal errors. (#3483)
* [stable/concourse] Tune fatal errors.

Remove guardian.api.garden-server.run.failed from the list of fatal errors,
this can be triggered merely from configuring a task to run a command that
doesn't exist.

* Update Chart.yaml
2018-02-09 13:41:52 -08:00
Michael Bannister 73270cc071 [stable/concourse] Fix truncation of postgresql name (#3539)
* Increase length of postgresql name to match same in postgresql chart

Fixes #3527

* Increment chart version

* Update Chart.yaml
2018-02-09 13:15:51 -08:00
Lingming Xia ce2c6c648a fix typos in stable/concourse/templates/NOTES.txt (#3606) 2018-02-08 02:50:44 -08:00
John Wells e48b680cf9 [stable/concourse] Fix typo in Vault cert paths. (#3465) 2018-01-30 12:46:07 -08:00
Will Tran ac5f935304 [stable/concourse] Upgrade to Concourse 3.8.0. (#3203)
Make necessary improvements to Concourse worker lifecycle management.

Add additional fatal errors emitted as of Concourse 3.8.0 that should
trigger a restart, and remove "unkown volume" as one such error as this
will happen normally when running multiple concourse-web pods.

Try to start workers with a clean slate by cleaning up previous
incarnations of a worker. Call retire-worker before starting. Also
clear the concourse-work-dir before starting.

Call retire-worker in a loop and don't exit that loop until the old
worker is gone. This allows us to remove the fixed worker.postStopDelaySeconds
duration.

Add a note about persistent volumes being necessary.

Add containerPlacementStrategy, default random to better spread load
across workers.
2018-01-16 11:33:26 -08:00
Will Tran bd48ed8666 [stable/concourse] Add Prometheus scrape annotations (#3202)
Avoids needing to specify these in `web.service.annotations`
2018-01-05 09:02:12 -08:00
matthope 31aef51bff [stable/concourse] Add support for exposing prometheus metrics. (#3125)
In concourse, to expose prometheus metrics, need to set the env vars:
  CONCOURSE_PROMETHEUS_BIND_IP = 0.0.0.0
  CONCOURSE_PROMETHEUS_BIND_PORT = portnumber

This provides an HTTP endpoint to scrape the metrics.

Enabling metrics via the values.yaml is half the battle, still need to configure prometheus (potentially via service discovery and annotations) to scrape the data.
2018-01-02 02:31:35 -08:00
matthope 8aa0dfc8ea [stable/concourse] Fix typo in minimum k8s version for StatefulSet upgradeStrategy (#3117) 2017-12-20 09:26:34 -08:00
Daniel Norman 8e220da2d8 correct typo in comment (#3077)
* correct typo in comment

* Update Chart.yaml

* Update Chart.yaml
2017-12-18 13:01:36 -08:00
Marcel Beck ff565534a5 [stable/concourse] Add rbac to concourse worker (#2922)
* Add rbac to concourse worker

* Switch to rbac.authorization.k8s.io/v1

* Enable rbac per default

See: https://github.com/kubernetes/helm/blob/master/docs/chart_best_practices/rbac.md

* Set default rbac version to v1beta1

* Update Chart.yml
2017-12-18 10:29:35 -08:00
matthope 77b6b6f6a7 [stable/concourse] Add "worker.podManagementPolicy" (#2983)
* [stable/concourse] Add "worker.podManagementPolicy"

* Switched workers.podManagementPolicy to default to "Parallel" which is more useful for Concourse workers.

* Removed `default "Parallel"` as this is included in the Values file, as per https://github.com/kubernetes/charts/pull/2983#discussion_r157244521

* Removed conditional that required k8s 1.7+ -- https://github.com/kubernetes/charts/pull/2983#discussion_r157244764

* removed extraneous blank line
2017-12-16 02:34:36 -08:00
matthope 64cb62ff1d [stable/concourse] Add ability to set annotations on web service. (#2982) 2017-12-15 17:36:58 +01:00
Aaryaman Vasishta c5ce3fe836 [stable/concourse] Fix minimum version required for StatefulSet upgradeStrategy (#2871) 2017-11-30 09:28:23 -08:00
JP Phillips e8b8635780 [stable/concourse] provide configuration(s) for integrating Concourse with Vault (#2446)
* provide configuration(s) for integrating Concourse with Vault

enabled configuring Concourse to use Vault for managing secrets, exposes 3 types of Auth Backends: tokens, approle, and TLS

* provide configuration(s) for integrating Concourse with Vault

enabled configuring Concourse to use Vault for managing secrets, exposes 3 types of Auth Backends: tokens, approle, and TLS
2017-11-27 11:57:40 -08:00
Ergin Babani f8949cf7cb Add the ability to set toleration for the web and worker pods (#2729)
* Add the ability to set toleration for the web and worker pods

* Version bump for setting tolerations.

* Update Chart.yaml
2017-11-25 16:13:16 +01:00
Nehal J Wani 4e95425ced [stable/concourse] Allow injection of add'l env vars to workers (#2590)
This can be helpful for users behind a corporate proxy who wish
to use resource types which require fetching containers images
from outside the organization's network.
2017-11-17 22:30:06 +01:00
Scott Rigby fd156964ba [stable/concourse] bump dependency postgresql 0.8.3 (#2391)
* [stable/concourse] bump dependency postgresql 0.8.3

* Bump stable/concourse version
2017-10-27 22:35:18 -07:00
Erick Tryzelaar a22174fff3 [stable/concourse] Version bump and make updateStrategy configurable (#1847)
* [stable/concourse] Add variable for the worker updateStrategy

This allows concourse users to change the update strategy for the
worker nodes. It defaults to using rolling updates.

* [stable/concourse] Bump Concourse version to 3.5.0
2017-10-18 18:22:14 -05:00
Ryo Sakamoto db6f07443b [stable/concourse]concourse nodeaffinity and fixed nodeport (#2063)
* [stable/concourse]web and worker assigned specified node with nodeAffinity

* [stable/concourse] web nodeport fixed if web.service.type is "NodePort"

* [stable/concourse] nodePort and nodeAffinity default value set

* [stable/concourse] modified README

* [stable/concourse] version increment

* take in https://github.com/kubernetes/charts/pull/2063#discussion_r143343633

* modified values.yaml

* modifed typo in web-svc.yaml

* web nodeAffinity parameter change to additionalAffinities (https://github.com/kubernetes/charts/pull/2300)

* add web.additionalAffinities comment to value.yaml

* modified README.md

* modified comment indent
2017-10-12 22:52:42 +05:30
Will Tran 805c1e93fd [stable/concourse] Worker lifecycle management (#2109)
* Make Concourse resilient to worker pod restarts.

Add time between worker stop and start. A shell is used to start the worker and sleep after the process terminates. SIGTERM is not propagated to the concourse process as a result, but this is actually desired for the shutdown process, below.

Gracefully de-register a worker using `retire-worker` instead of `land-worker` in the `preStop` hook. This tells concourse that the worker and its container volumes will not be coming back, which is the case when worker pods restart. Because SIGTERM doesn't reach the concourse process, `retire-worker` is the only mechanism used for graceful shutdown. If all containers are cleaned up within `worker.terminationGracePeriodSeconds`, the concourse process terminates on its own and the pod finishes terminating, otherwise the pod's container is killed. In either case, the worker disappears on ATC's end. See https://concourse.ci/worker-internals.html for more info.

Fixes https://github.com/kubernetes/charts/issues/2103

* Add a livenessProbe to Concourse workers that detects fatal errors.

Logs seem to be the only reliable way of detecting issues that prevent workers from taking on work. Tee the log to a file, and truncate it each time the livenessProbe runs.

Fixes https://github.com/kubernetes/charts/issues/2104

* Bump version to 0.7.0 and add myself to maintainers list.
2017-10-04 12:42:43 -07:00
Frode Egeland 70390438b5 [stable/concourse] Allow for additional affinities (#2300) 2017-10-01 00:07:10 -04:00
kevinschumacher d0fa8f259e [stable/concourse] #1785 namespace defined templates with chart name (#1983) 2017-09-10 15:45:33 -05:00
Scott Rigby 11e6fce0eb [stable/concourse] bump dependency postgresql 0.8.1 (#1945)
* [stable/concourse] bump dependency postgresql 0.8.1

* Bump stable/concourse version

* Fix postgresql.fullname template
2017-09-04 17:12:52 -05:00
Guang Ya Liu dcf1cbce70 [stable/concourse] Use storageClassName for concourse. (#1974) 2017-09-04 14:09:39 -05:00
Erick Tryzelaar 7161f1a4cc [stable/concourse] promote pod affinity from annotation to spec (#1756)
* [stable/concourse] fix json to work with kubernetes v1.7

This updates @pfeodrippe's pull request to address
@unguiculus's comments. It moves the affinity into the
kubernetes 1.7 compatible affinity. It follows the pattern
used to fix cockroachdb in #1326.

Closes #1462, #1525, #1306

* [stable/concourse] Add worker statefulset annotations

This allows us to attach things like kube2iam annotations to
the stateful sets to allow Concourse workers to access private ECR
repositories.

* [stable/concourse] Bump chart version
2017-08-23 07:26:52 +05:30
Eugene Pirogov a65685f48b [stable/concourse] Fix imageTag in readme (#1765) 2017-08-17 23:17:33 +05:30
Boaz Yaniv b41fbc8a62 [stable/concourse] Add support for encryption key (#1545)
* Support Concourse encryption key

* Bump chart version

* [stable/concourse] Bump version 0.3.2

* [stable/concourse] Add viglesiasce as maintainer

Also update frodenas to use GitHub ID
2017-08-09 21:55:18 -07:00
Mark St.Godard 4b7eb10030 Concourse 3.3.0 and GitLab Auth configuration for main team (#1493)
* Provide GitLab Auth configuration for main team

- Concourse 3.3.0 introduced GitLab OAuth provider
- These config changes will provide the ability to set GitLab auth configuration for the Concourse main team
- Update README.md and values.yml with placeholders

See related:
- http://concourse.ci/downloads.html#v330
- https://github.com/concourse/atc/pull/172

* [stable/concourse] Bump to 0.3.1
2017-08-09 21:46:10 -07:00
Will Tran 8e9a005c76 Make the baggageclaim FS driver configurable. (#1528)
Default to naive for compatibility reasons, but a warning message will be shown on install or upgrade when naive is used.

Also set the default persistent volume size to 20Gi, 10Gi will easily run out of space.

Helps address kernel compatiblity issues with FS drivers, see https://github.com/concourse/concourse/issues/1230.

Fixes #1479.
2017-08-09 16:05:36 -07:00
Will Tran 40a297e720 Concourse postgres conditional dependency (#1390)
* Conditional dependency on postgres.

Fixes #1056

* Update readme for conditional PostgreSQL dependency

Also add a section on restarting workers

* Update Chart.yaml
2017-07-05 18:24:49 -07:00
Fabian Ruff 0e646ace48 concourse: remove public part of signing key (#596)
* concourse: remove public part of signing key
* version bump
2017-02-15 01:24:58 -06:00
Fabian Ruff b4ff0dd30c concourse: Be more precise about the default pull policy (#597)
* concourse: Be more precise about the default pull policy
* version bump
2017-02-13 15:30:03 -06:00
Adnan Abdulhussein b551703ffe [stable/concourse] update description and add icon (#574)
* [stable/concourse] update description and add icon

* Update Chart.yaml

bumped chart version
2017-02-10 16:17:54 -08:00
Ferran Rodenas 439fb530df Add Concourse CI chart (#376)
* Add Concourse CI chart

* concourse: Add namespace to port-forward
2017-01-26 09:11:54 -08:00