97ac197a6e
Move to v0.3.1 of kubernetes-entrypoint which has 2 breaking changes to pod dependencies, and also adds support for depending on jobs via labels. Change-Id: I49d2cea11fbe5c5919ae22a020b877ebbb285992
236 lines
5.7 KiB
YAML
236 lines
5.7 KiB
YAML
# Copyright 2017 The Openstack-Helm Authors.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
# Default values for rabbitmq.
|
|
# This is a YAML-formatted file.
|
|
# Declare name/value pairs to be passed into your templates.
|
|
# name: value
|
|
|
|
labels:
|
|
server:
|
|
node_selector_key: openstack-control-plane
|
|
node_selector_value: enabled
|
|
prometheus_rabbitmq_exporter:
|
|
node_selector_key: openstack-control-plane
|
|
node_selector_value: enabled
|
|
test:
|
|
node_selector_key: openstack-control-plane
|
|
node_selector_value: enabled
|
|
|
|
images:
|
|
tags:
|
|
prometheus_rabbitmq_exporter: docker.io/kbudde/rabbitmq-exporter:v0.21.0
|
|
prometheus_rabbitmq_exporter_helm_tests: docker.io/openstackhelm/heat:newton
|
|
rabbitmq: docker.io/rabbitmq:3.7.4
|
|
dep_check: quay.io/stackanetes/kubernetes-entrypoint:v0.3.1
|
|
scripted_test: docker.io/rabbitmq:3.7.4-management
|
|
pull_policy: "IfNotPresent"
|
|
|
|
pod:
|
|
affinity:
|
|
anti:
|
|
type:
|
|
default: preferredDuringSchedulingIgnoredDuringExecution
|
|
topologyKey:
|
|
default: kubernetes.io/hostname
|
|
replicas:
|
|
server: 3
|
|
prometheus_rabbitmq_exporter: 1
|
|
lifecycle:
|
|
upgrades:
|
|
deployments:
|
|
revision_history: 3
|
|
pod_replacement_strategy: RollingUpdate
|
|
rolling_update:
|
|
max_unavailable: 1
|
|
max_surge: 3
|
|
termination_grace_period:
|
|
prometheus_rabbitmq_exporter:
|
|
timeout: 30
|
|
disruption_budget:
|
|
mariadb:
|
|
min_available: 0
|
|
resources:
|
|
enabled: false
|
|
prometheus_rabbitmq_exporter:
|
|
limits:
|
|
memory: "1024Mi"
|
|
cpu: "2000m"
|
|
requests:
|
|
memory: "128Mi"
|
|
cpu: "500m"
|
|
server:
|
|
limits:
|
|
memory: "128Mi"
|
|
cpu: "500m"
|
|
requests:
|
|
memory: "128Mi"
|
|
cpu: "500m"
|
|
jobs:
|
|
tests:
|
|
limits:
|
|
memory: "1024Mi"
|
|
cpu: "2000m"
|
|
requests:
|
|
memory: "128Mi"
|
|
cpu: "100m"
|
|
|
|
conf:
|
|
enabled_plugins:
|
|
- rabbitmq_management
|
|
- rabbitmq_peer_discovery_k8s
|
|
prometheus_exporter:
|
|
capabilities:
|
|
- no_sort
|
|
log_level: info
|
|
skipverify: 1
|
|
rabbitmq:
|
|
listeners:
|
|
tcp:
|
|
# NOTE(portdirect): This is always defined via the endpoints section.
|
|
1: null
|
|
cluster_formation:
|
|
peer_discovery_backend: rabbit_peer_discovery_k8s
|
|
k8s:
|
|
address_type: hostname
|
|
node_cleanup:
|
|
interval: "10"
|
|
only_log_warning: "true"
|
|
cluster_partition_handling: autoheal
|
|
queue_master_locator: min-masters
|
|
loopback_users.guest: "false"
|
|
|
|
dependencies:
|
|
static:
|
|
prometheus_rabbitmq_exporter:
|
|
services:
|
|
- endpoint: internal
|
|
service: oslo_messaging
|
|
prometheus_rabbitmq_exporter_tests:
|
|
services:
|
|
- endpoint: internal
|
|
service: prometheus_rabbitmq_exporter
|
|
- endpoint: internal
|
|
service: monitoring
|
|
rabbitmq:
|
|
jobs: null
|
|
tests:
|
|
services:
|
|
- endpoint: internal
|
|
service: oslo_messaging
|
|
|
|
monitoring:
|
|
prometheus:
|
|
enabled: false
|
|
rabbitmq_exporter:
|
|
scrape: true
|
|
|
|
network:
|
|
management:
|
|
ingress:
|
|
public: true
|
|
classes:
|
|
namespace: "nginx"
|
|
cluster: "nginx-cluster"
|
|
annotations:
|
|
nginx.ingress.kubernetes.io/rewrite-target: /
|
|
prometheus_rabbitmq_exporter:
|
|
port: 9095
|
|
|
|
# typically overridden by environmental
|
|
# values, but should include all endpoints
|
|
# required by this chart
|
|
endpoints:
|
|
cluster_domain_suffix: cluster.local
|
|
monitoring:
|
|
name: prometheus
|
|
namespace: null
|
|
hosts:
|
|
default: prom-metrics
|
|
public: prometheus
|
|
host_fqdn_override:
|
|
default: null
|
|
path:
|
|
default: null
|
|
scheme:
|
|
default: 'http'
|
|
port:
|
|
api:
|
|
default: 9090
|
|
public: 80
|
|
oslo_messaging:
|
|
auth:
|
|
erlang_cookie: openstack-cookie
|
|
user:
|
|
username: rabbitmq
|
|
password: password
|
|
hosts:
|
|
default: rabbitmq
|
|
# NOTE(portdirect): If left empty, the release name sha suffixed with dsv
|
|
# will be used for to produce a unique hostname for clustering
|
|
# and discovery.
|
|
discovery: null
|
|
# NOTE(portdirect): the public host is only used to the management WUI
|
|
# If left empty, the release name sha suffixed with mgr, will be used to
|
|
# produce an unique hostname.
|
|
public: null
|
|
host_fqdn_override:
|
|
default: null
|
|
path: /
|
|
scheme: rabbit
|
|
port:
|
|
clustering:
|
|
# NOTE(portdirect): the value for this port is driven by amqp+20000
|
|
# it should not be set manually.
|
|
default: null
|
|
amqp:
|
|
default: 5672
|
|
http:
|
|
default: 15672
|
|
public: 80
|
|
prometheus_rabbitmq_exporter:
|
|
namespace: null
|
|
hosts:
|
|
default: rabbitmq-exporter
|
|
host_fqdn_override:
|
|
default: null
|
|
path:
|
|
default: /metrics
|
|
scheme:
|
|
default: 'http'
|
|
port:
|
|
metrics:
|
|
default: 9095
|
|
|
|
volume:
|
|
chown_on_start: true
|
|
enabled: true
|
|
class_name: general
|
|
size: 256Mi
|
|
|
|
manifests:
|
|
configmap_bin: true
|
|
configmap_etc: true
|
|
ingress_management: true
|
|
pod_test: true
|
|
monitoring:
|
|
prometheus:
|
|
configmap_bin: true
|
|
deployment_exporter: true
|
|
service_exporter: true
|
|
service_discovery: true
|
|
service_ingress_management: true
|
|
service: true
|
|
statefulset: true
|