Ceilometer/MongoDB: Various small fixes

This PS updates various aspects of the ceilomter and mongodb charts
to bring them closer to operational.

Change-Id: If72f107297298aa7d02d17236404c9e86cd50ba5
This commit is contained in:
Pete Birley 2018-04-30 16:14:12 -05:00
parent 7f5869f868
commit 9d13827ce8
3 changed files with 20 additions and 8 deletions

View File

@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/}}
{{- if .Values.manifests.deployment_compute }}
{{- if .Values.manifests.daemonset_compute }}
{{- $envAll := . }}
{{- $dependencies := .Values.dependencies.static.compute }}
@ -24,13 +24,12 @@ limitations under the License.
{{- $serviceAccountName := "ceilometer-compute" }}
{{ tuple $envAll $dependencies $serviceAccountName | include "helm-toolkit.snippets.kubernetes_pod_rbac_serviceaccount" }}
---
apiVersion: apps/v1beta1
kind: Deployment
apiVersion: extensions/v1beta1
kind: DaemonSet
metadata:
name: ceilometer-compute
spec:
replicas: {{ .Values.pod.replicas.compute }}
{{ tuple $envAll | include "helm-toolkit.snippets.kubernetes_upgrades_deployment" | indent 2 }}
{{ tuple $envAll "compute" | include "helm-toolkit.snippets.kubernetes_upgrades_daemonset" | indent 2 }}
template:
metadata:
labels:

View File

@ -1495,6 +1495,7 @@ dependencies:
jobs:
- ceilometer-db-init-mongodb
- ceilometer-db-sync
- ceilometer-rabbit-init
- ceilometer-ks-user
- ceilometer-ks-endpoints
services:
@ -1510,6 +1511,7 @@ dependencies:
jobs:
- ceilometer-db-init-mongodb
- ceilometer-db-sync
- ceilometer-rabbit-init
- ceilometer-ks-user
- ceilometer-ks-endpoints
services:
@ -1525,6 +1527,7 @@ dependencies:
jobs:
- ceilometer-db-init-mongodb
- ceilometer-db-sync
- ceilometer-rabbit-init
- ceilometer-ks-user
- ceilometer-ks-endpoints
services:
@ -1540,6 +1543,7 @@ dependencies:
jobs:
- ceilometer-db-init-mongodb
- ceilometer-db-sync
- ceilometer-rabbit-init
- ceilometer-ks-user
- ceilometer-ks-endpoints
services:
@ -1562,9 +1566,12 @@ dependencies:
db_sync:
jobs:
- ceilometer-db-init
- ceilometer-db-init-mongodb
services:
- endpoint: internal
service: oslo_db
- endpoint: internal
service: mongodb
ks_endpoints:
jobs:
- ceilometer-ks-service
@ -1587,6 +1594,7 @@ dependencies:
jobs:
- ceilometer-db-init-mongodb
- ceilometer-db-sync
- ceilometer-rabbit-init
- ceilometer-ks-user
- ceilometer-ks-endpoints
services:
@ -1818,7 +1826,6 @@ pod:
api: 1
central: 1
collector: 1
compute: 1
notification: 1
lifecycle:
upgrades:
@ -1828,6 +1835,12 @@ pod:
rolling_update:
max_unavailable: 1
max_surge: 3
daemonsets:
pod_replacement_strategy: RollingUpdate
compute:
enabled: true
min_ready_seconds: 0
max_unavailable: 1
disruption_budget:
api:
min_available: 0
@ -1935,7 +1948,7 @@ manifests:
deployment_api: true
deployment_central: true
deployment_collector: true
deployment_compute: true
daemonset_compute: true
deployment_notification: true
ingress_api: true
job_bootstrap: true

View File

@ -47,7 +47,7 @@ images:
volume:
chown_on_start: true
enabled: false
enabled: true
size: 5Gi
class_name: general
class_path: volume.beta.kubernetes.io/storage-class