blob: ba4ecad270bab210538b9561344acb47bf1882e1 [file] [log] [blame]
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001# Licensed under the Apache License, Version 2.0 (the "License");
2# you may not use this file except in compliance with the License.
3# You may obtain a copy of the License at
4#
5# http://www.apache.org/licenses/LICENSE-2.0
6#
7# Unless required by applicable law or agreed to in writing, software
8# distributed under the License is distributed on an "AS IS" BASIS,
9# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10# See the License for the specific language governing permissions and
11# limitations under the License.
12
13# Default values for senlin.
14# This is a YAML-formatted file.
15# Declare name/value pairs to be passed into your templates.
16# name: value
17
18---
19labels:
20 api:
21 node_selector_key: openstack-control-plane
22 node_selector_value: enabled
23 conductor:
24 node_selector_key: openstack-control-plane
25 node_selector_value: enabled
26 engine:
27 node_selector_key: openstack-control-plane
28 node_selector_value: enabled
29 health_manager:
30 node_selector_key: openstack-control-plane
31 node_selector_value: enabled
32 job:
33 node_selector_key: openstack-control-plane
34 node_selector_value: enabled
35 test:
36 node_selector_key: openstack-control-plane
37 node_selector_value: enabled
38
39release_group: null
40
41images:
42 tags:
43 scripted_test: docker.io/openstackhelm/heat:wallaby-ubuntu_focal
44 bootstrap: docker.io/openstackhelm/heat:wallaby-ubuntu_focal
45 db_init: docker.io/openstackhelm/heat:wallaby-ubuntu_focal
46 senlin_db_sync: docker.io/openstackhelm/senlin:wallaby-ubuntu_focal
47 db_drop: docker.io/openstackhelm/heat:wallaby-ubuntu_focal
48 rabbit_init: docker.io/rabbitmq:3.7-management
49 ks_user: docker.io/openstackhelm/heat:wallaby-ubuntu_focal
50 ks_service: docker.io/openstackhelm/heat:wallaby-ubuntu_focal
51 ks_endpoints: docker.io/openstackhelm/heat:wallaby-ubuntu_focal
52 senlin_api: docker.io/openstackhelm/senlin:wallaby-ubuntu_focal
53 senlin_conductor: docker.io/openstackhelm/senlin:wallaby-ubuntu_focal
54 senlin_engine: docker.io/openstackhelm/senlin:wallaby-ubuntu_focal
55 senlin_engine_cleaner: docker.io/openstackhelm/senlin:wallaby-ubuntu_focal
56 senlin_health_manager: docker.io/openstackhelm/senlin:wallaby-ubuntu_focal
57 dep_check: quay.io/airshipit/kubernetes-entrypoint:v1.0.0
58 image_repo_sync: docker.io/docker:17.07.0
59 pull_policy: "IfNotPresent"
60 local_registry:
61 active: false
62 exclude:
63 - dep_check
64 - image_repo_sync
65
66jobs:
67 engine_cleaner:
68 cron: "*/5 * * * *"
69 history:
70 success: 3
71 failed: 1
72
73conf:
74 rally_tests:
75 run_tempest: false
76 tests:
77 SenlinClusters.create_and_delete_cluster:
78 - args:
79 desired_capacity: 3
80 min_size: 0
81 max_size: 5
82 runner:
83 concurrency: 1
84 times: 1
85 type: constant
86 sla:
87 failure_rate:
88 max: 0
89 context:
90 profiles:
91 type: os.nova.server
92 version: "1.0"
93 properties:
94 name: cirros_server
95 flavor: 689eeda3-c6cd-450f-b000-58025c783763
96 image: df0c1a14-0940-4ae5-be5c-bb06aa407da2
97 networks:
98 - network: public
Oleksandr Kozachenkoc0022be2023-05-23 20:36:21 +020099 paste: {}
Mohammed Naserbcdd25c2023-01-18 03:38:47 +0000100 policy: {}
Mohammed Naserf3f59a72023-01-15 21:02:04 -0500101 senlin:
102 DEFAULT:
103 log_config_append: /etc/senlin/logging.conf
104 transport_url: null
105 host: senlin
106 database:
107 max_retries: -1
108 authentication:
109 auth_url: null
110 keystone_authtoken:
111 auth_type: password
112 auth_version: v3
113 memcache_security_strategy: ENCRYPT
Oleksandr Kozachenkoc0022be2023-05-23 20:36:21 +0200114 service_type: clustering
Mohammed Naserf3f59a72023-01-15 21:02:04 -0500115 senlin_api:
116 # NOTE(portdirect): the bind port should not be defined, and is manipulated
117 # via the endpoints section.
118 bind_port: null
119 oslo_policy:
120 policy_file: /etc/senlin/policy.yaml
121 logging:
122 loggers:
123 keys:
124 - root
125 - senlin
126 handlers:
127 keys:
128 - stdout
129 - stderr
130 - "null"
131 formatters:
132 keys:
133 - context
134 - default
135 logger_root:
136 level: WARNING
137 handlers: 'null'
138 logger_senlin:
139 level: INFO
140 handlers:
141 - stdout
142 qualname: senlin
143 logger_amqp:
144 level: WARNING
145 handlers: stderr
146 qualname: amqp
147 logger_amqplib:
148 level: WARNING
149 handlers: stderr
150 qualname: amqplib
151 logger_eventletwsgi:
152 level: WARNING
153 handlers: stderr
154 qualname: eventlet.wsgi.server
155 logger_sqlalchemy:
156 level: WARNING
157 handlers: stderr
158 qualname: sqlalchemy
159 logger_boto:
160 level: WARNING
161 handlers: stderr
162 qualname: boto
163 handler_null:
164 class: logging.NullHandler
165 formatter: default
166 args: ()
167 handler_stdout:
168 class: StreamHandler
169 args: (sys.stdout,)
170 formatter: context
171 handler_stderr:
172 class: StreamHandler
173 args: (sys.stderr,)
174 formatter: context
175 formatter_context:
176 class: oslo_log.formatters.ContextFormatter
177 datefmt: "%Y-%m-%d %H:%M:%S"
178 formatter_default:
179 format: "%(message)s"
180 datefmt: "%Y-%m-%d %H:%M:%S"
181
182network:
183 api:
184 ingress:
185 public: true
186 classes:
187 namespace: "nginx"
188 cluster: "nginx-cluster"
189 annotations:
190 nginx.ingress.kubernetes.io/rewrite-target: /
191 node_port:
192 enabled: false
193 port: 30778
194
195bootstrap:
196 enabled: false
197 ks_user: senlin
198 script: |
199 openstack token issue
200
201dependencies:
202 dynamic:
203 common:
204 local_image_registry:
205 jobs:
206 - senlin-image-repo-sync
207 services:
208 - endpoint: node
209 service: local_image_registry
210 static:
211 engine_cleaner:
212 jobs:
213 - senlin-db-sync
214 services:
215 - endpoint: internal
216 service: oslo_db
217 - endpoint: internal
218 service: oslo_messaging
219 - endpoint: internal
220 service: identity
221 api:
222 jobs:
223 - senlin-db-sync
224 - senlin-ks-user
225 - senlin-ks-endpoints
226 - senlin-rabbit-init
227 services:
228 - endpoint: internal
229 service: oslo_db
230 - endpoint: internal
231 service: identity
232 - endpoint: internal
233 service: oslo_messaging
234 db_drop:
235 services:
236 - endpoint: internal
237 service: oslo_db
238 db_init:
239 services:
240 - endpoint: internal
241 service: oslo_db
242 db_sync:
243 jobs:
244 - senlin-db-init
245 services:
246 - endpoint: internal
247 service: oslo_db
248 engine:
249 jobs:
250 - senlin-db-sync
251 - senlin-ks-user
252 - senlin-ks-endpoints
253 - senlin-rabbit-init
254 services:
255 - endpoint: internal
256 service: oslo_db
257 - endpoint: internal
258 service: identity
259 conductor:
260 jobs:
261 - senlin-db-sync
262 - senlin-ks-user
263 - senlin-ks-endpoints
264 - senlin-rabbit-init
265 services:
266 - endpoint: internal
267 service: oslo_db
268 - endpoint: internal
269 service: identity
270 health_manager:
271 jobs:
272 - senlin-db-sync
273 - senlin-ks-user
274 - senlin-ks-endpoints
275 - senlin-rabbit-init
276 services:
277 - endpoint: internal
278 service: oslo_db
279 - endpoint: internal
280 service: identity
281 ks_endpoints:
282 jobs:
283 - senlin-ks-service
284 services:
285 - endpoint: internal
286 service: identity
287 ks_service:
288 services:
289 - endpoint: internal
290 service: identity
291 ks_user:
292 services:
293 - endpoint: internal
294 service: identity
295 rabbit_init:
296 services:
297 - endpoint: internal
298 service: oslo_messaging
299 tests:
300 services:
301 - endpoint: internal
302 service: identity
303 - endpoint: internal
304 service: clustering
305 image_repo_sync:
306 services:
307 - endpoint: internal
308 service: local_image_registry
309
310# Names of secrets used by bootstrap and environmental checks
311secrets:
312 identity:
313 admin: senlin-keystone-admin
314 senlin: senlin-keystone-user
315 oslo_db:
316 admin: senlin-db-admin
317 senlin: senlin-db-user
318 oslo_messaging:
319 admin: senlin-rabbitmq-admin
320 senlin: senlin-rabbitmq-user
Mohammed Naserbcdd25c2023-01-18 03:38:47 +0000321 oci_image_registry:
322 senlin: senlin-oci-image-registry
Mohammed Naserf3f59a72023-01-15 21:02:04 -0500323
324# typically overridden by environmental
325# values, but should include all endpoints
326# required by this chart
327endpoints:
328 cluster_domain_suffix: cluster.local
329 local_image_registry:
330 name: docker-registry
331 namespace: docker-registry
332 hosts:
333 default: localhost
334 internal: docker-registry
335 node: localhost
336 host_fqdn_override:
337 default: null
338 port:
339 registry:
340 node: 5000
Mohammed Naserbcdd25c2023-01-18 03:38:47 +0000341 oci_image_registry:
342 name: oci-image-registry
343 namespace: oci-image-registry
344 auth:
345 enabled: false
346 senlin:
347 username: senlin
348 password: password
349 hosts:
350 default: localhost
351 host_fqdn_override:
352 default: null
353 port:
354 registry:
355 default: null
Mohammed Naserf3f59a72023-01-15 21:02:04 -0500356 identity:
357 name: keystone
358 auth:
359 admin:
360 region_name: RegionOne
361 username: admin
362 password: password
363 project_name: admin
364 user_domain_name: default
365 project_domain_name: default
366 senlin:
367 role: admin
368 region_name: RegionOne
369 username: senlin
370 password: password
371 project_name: service
372 user_domain_name: service
373 project_domain_name: service
374 test:
375 role: admin
376 region_name: RegionOne
377 username: senlin-test
378 password: password
379 project_name: test
380 user_domain_name: service
381 project_domain_name: service
382 hosts:
383 default: keystone
384 internal: keystone-api
385 host_fqdn_override:
386 default: null
387 path:
388 default: /v3
389 scheme:
390 default: http
391 port:
392 api:
393 default: 80
394 internal: 5000
395 clustering:
396 name: senlin
397 hosts:
398 default: senlin-api
399 public: senlin
400 host_fqdn_override:
401 default: null
402 path:
403 default: null
404 scheme:
405 default: http
406 port:
407 api:
408 default: 8778
409 public: 80
410 oslo_db:
411 auth:
412 admin:
413 username: root
414 password: password
415 senlin:
416 username: senlin
417 password: password
418 hosts:
419 default: mariadb
420 host_fqdn_override:
421 default: null
422 path: /senlin
423 scheme: mysql+pymysql
424 port:
425 mysql:
426 default: 3306
427 oslo_cache:
428 auth:
429 # NOTE(portdirect): this is used to define the value for keystone
430 # authtoken cache encryption key, if not set it will be populated
431 # automatically with a random value, but to take advantage of
432 # this feature all services should be set to use the same key,
433 # and memcache service.
434 memcache_secret_key: null
435 hosts:
436 default: memcached
437 host_fqdn_override:
438 default: null
439 port:
440 memcache:
441 default: 11211
442 oslo_messaging:
443 auth:
444 admin:
445 username: rabbitmq
446 password: password
447 senlin:
448 username: senlin
449 password: password
450 statefulset:
451 replicas: 2
452 name: rabbitmq-rabbitmq
453 hosts:
454 default: rabbitmq
455 host_fqdn_override:
456 default: null
457 path: /senlin
458 scheme: rabbit
459 port:
460 amqp:
461 default: 5672
462 http:
463 default: 15672
464 fluentd:
465 namespace: null
466 name: fluentd
467 hosts:
468 default: fluentd-logging
469 host_fqdn_override:
470 default: null
471 path:
472 default: null
473 scheme: 'http'
474 port:
475 service:
476 default: 24224
477 metrics:
478 default: 24220
479
480pod:
481 user:
482 senlin:
483 uid: 42424
484 affinity:
485 anti:
486 type:
487 default: preferredDuringSchedulingIgnoredDuringExecution
488 topologyKey:
489 default: kubernetes.io/hostname
490 weight:
491 default: 10
492 mounts:
493 senlin_api:
494 init_container: null
495 senlin_api:
496 volumeMounts:
497 volumes:
498 senlin_conductor:
499 init_container: null
500 senlin_conductor:
501 volumeMounts:
502 volumes:
503 senlin_engine:
504 init_container: null
505 senlin_engine:
506 volumeMounts:
507 volumes:
508 senlin_health_manager:
509 init_container: null
510 senlin_health_manager:
511 volumeMounts:
512 volumes:
513 senlin_bootstrap:
514 init_container: null
515 senlin_bootstrap:
516 volumeMounts:
517 volumes:
518 senlin_engine_cleaner:
519 init_container: null
520 senlin_engine_cleaner:
521 volumeMounts:
522 volumes:
523 senlin_tests:
524 init_container: null
525 senlin_tests:
526 volumeMounts:
527 volumes:
528 senlin_db_sync:
529 senlin_db_sync:
530 volumeMounts:
531 volumes:
532 replicas:
533 api: 1
534 conductor: 1
535 engine: 1
536 health_manager: 1
537 lifecycle:
538 upgrades:
539 deployments:
540 revision_history: 3
541 pod_replacement_strategy: RollingUpdate
542 rolling_update:
543 max_unavailable: 1
544 max_surge: 3
545 disruption_budget:
546 api:
547 min_available: 0
548 termination_grace_period:
549 api:
550 timeout: 30
551 resources:
552 enabled: false
553 api:
554 requests:
555 memory: "128Mi"
556 cpu: "100m"
557 limits:
558 memory: "1024Mi"
559 cpu: "2000m"
560 conductor:
561 requests:
562 memory: "128Mi"
563 cpu: "100m"
564 limits:
565 memory: "1024Mi"
566 cpu: "2000m"
567 engine:
568 requests:
569 memory: "128Mi"
570 cpu: "100m"
571 limits:
572 memory: "1024Mi"
573 cpu: "2000m"
574 health_manager:
575 requests:
576 memory: "128Mi"
577 cpu: "100m"
578 limits:
579 memory: "1024Mi"
580 cpu: "2000m"
581 jobs:
582 bootstrap:
583 requests:
584 memory: "128Mi"
585 cpu: "100m"
586 limits:
587 memory: "1024Mi"
588 cpu: "2000m"
589 db_init:
590 requests:
591 memory: "128Mi"
592 cpu: "100m"
593 limits:
594 memory: "1024Mi"
595 cpu: "2000m"
596 db_sync:
597 requests:
598 memory: "128Mi"
599 cpu: "100m"
600 limits:
601 memory: "1024Mi"
602 cpu: "2000m"
603 db_drop:
604 requests:
605 memory: "128Mi"
606 cpu: "100m"
607 limits:
608 memory: "1024Mi"
609 cpu: "2000m"
610 ks_endpoints:
611 requests:
612 memory: "128Mi"
613 cpu: "100m"
614 limits:
615 memory: "1024Mi"
616 cpu: "2000m"
617 ks_service:
618 requests:
619 memory: "128Mi"
620 cpu: "100m"
621 limits:
622 memory: "1024Mi"
623 cpu: "2000m"
624 ks_user:
625 requests:
626 memory: "128Mi"
627 cpu: "100m"
628 limits:
629 memory: "1024Mi"
630 cpu: "2000m"
631 rabbit_init:
632 requests:
633 memory: "128Mi"
634 cpu: "100m"
635 limits:
636 memory: "1024Mi"
637 cpu: "2000m"
638 tests:
639 requests:
640 memory: "128Mi"
641 cpu: "100m"
642 limits:
643 memory: "1024Mi"
644 cpu: "2000m"
645 engine_cleaner:
646 requests:
647 memory: "128Mi"
648 cpu: "100m"
649 limits:
650 memory: "1024Mi"
651 cpu: "2000m"
652 image_repo_sync:
653 requests:
654 memory: "128Mi"
655 cpu: "100m"
656 limits:
657 memory: "1024Mi"
658 cpu: "2000m"
659
660network_policy:
661 senlin:
662 ingress:
663 - {}
664 egress:
665 - {}
666
667helm3_hook: true
668
669manifests:
670 configmap_bin: true
671 configmap_etc: true
672 cron_job_engine_cleaner: true
673 deployment_api: true
674 deployment_conductor: true
675 deployment_engine: true
676 deployment_health_manager: true
677 ingress_api: true
678 job_bootstrap: true
679 job_db_init: true
680 job_db_sync: true
681 job_db_drop: false
682 job_image_repo_sync: true
683 job_ks_endpoints: true
684 job_ks_service: true
685 job_ks_user: true
686 job_rabbit_init: true
687 pdb_api: true
688 pod_test: true
689 network_policy: false
690 secret_db: true
691 secret_keystone: true
692 secret_rabbitmq: true
Mohammed Naserbcdd25c2023-01-18 03:38:47 +0000693 secret_registry: true
Mohammed Naserf3f59a72023-01-15 21:02:04 -0500694 service_ingress_api: true
695 service_api: true
696...