blob: 48bf86ab96bf694e226b43f46db6b40a12804a53 [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
okozachenko12035aa48492023-09-05 19:47:07 +100099 paste:
100 pipeline:senlin-api:
101 pipeline: request_id faultwrap ssl versionnegotiation webhook authtoken context trust apiv1app
102 app:apiv1app:
103 paste.app_factory: senlin.api.common.wsgi:app_factory
104 senlin.app_factory: senlin.api.openstack.v1.router:API
105 filter:request_id:
106 paste.filter_factory: oslo_middleware.request_id:RequestId.factory
107 filter:faultwrap:
108 paste.filter_factory: senlin.api.common.wsgi:filter_factory
109 senlin.filter_factory: senlin.api.middleware:fault_filter
110 filter:context:
111 paste.filter_factory: senlin.api.common.wsgi:filter_factory
112 senlin.filter_factory: senlin.api.middleware:context_filter
113 filter:ssl:
114 paste.filter_factory: oslo_middleware.ssl:SSLMiddleware.factory
115 filter:versionnegotiation:
116 paste.filter_factory: senlin.api.common.wsgi:filter_factory
117 senlin.filter_factory: senlin.api.middleware:version_filter
118 filter:trust:
119 paste.filter_factory: senlin.api.common.wsgi:filter_factory
120 senlin.filter_factory: senlin.api.middleware:trust_filter
121 filter:webhook:
122 paste.filter_factory: senlin.api.common.wsgi:filter_factory
123 senlin.filter_factory: senlin.api.middleware:webhook_filter
124 filter:authtoken:
125 paste.filter_factory: keystonemiddleware.auth_token:filter_factory
Mohammed Naserbcdd25c2023-01-18 03:38:47 +0000126 policy: {}
Mohammed Naserf3f59a72023-01-15 21:02:04 -0500127 senlin:
128 DEFAULT:
129 log_config_append: /etc/senlin/logging.conf
130 transport_url: null
131 host: senlin
132 database:
133 max_retries: -1
134 authentication:
135 auth_url: null
136 keystone_authtoken:
137 auth_type: password
138 auth_version: v3
139 memcache_security_strategy: ENCRYPT
Oleksandr Kozachenkoc0022be2023-05-23 20:36:21 +0200140 service_type: clustering
Mohammed Naserf3f59a72023-01-15 21:02:04 -0500141 senlin_api:
142 # NOTE(portdirect): the bind port should not be defined, and is manipulated
143 # via the endpoints section.
144 bind_port: null
145 oslo_policy:
146 policy_file: /etc/senlin/policy.yaml
147 logging:
148 loggers:
149 keys:
150 - root
151 - senlin
152 handlers:
153 keys:
154 - stdout
155 - stderr
156 - "null"
157 formatters:
158 keys:
159 - context
160 - default
161 logger_root:
162 level: WARNING
163 handlers: 'null'
164 logger_senlin:
165 level: INFO
166 handlers:
167 - stdout
168 qualname: senlin
169 logger_amqp:
170 level: WARNING
171 handlers: stderr
172 qualname: amqp
173 logger_amqplib:
174 level: WARNING
175 handlers: stderr
176 qualname: amqplib
177 logger_eventletwsgi:
178 level: WARNING
179 handlers: stderr
180 qualname: eventlet.wsgi.server
181 logger_sqlalchemy:
182 level: WARNING
183 handlers: stderr
184 qualname: sqlalchemy
185 logger_boto:
186 level: WARNING
187 handlers: stderr
188 qualname: boto
189 handler_null:
190 class: logging.NullHandler
191 formatter: default
192 args: ()
193 handler_stdout:
194 class: StreamHandler
195 args: (sys.stdout,)
196 formatter: context
197 handler_stderr:
198 class: StreamHandler
199 args: (sys.stderr,)
200 formatter: context
201 formatter_context:
202 class: oslo_log.formatters.ContextFormatter
203 datefmt: "%Y-%m-%d %H:%M:%S"
204 formatter_default:
205 format: "%(message)s"
206 datefmt: "%Y-%m-%d %H:%M:%S"
Oleksandr Kozachenko42cd7612023-10-20 15:36:38 +0200207 senlin_api_uwsgi:
208 uwsgi:
209 add-header: "Connection: close"
210 buffer-size: 65535
Mohammed Nasercb5d9c32024-04-03 16:19:01 -0400211 chunked-input-limit: "4096000"
Oleksandr Kozachenko42cd7612023-10-20 15:36:38 +0200212 die-on-term: true
213 enable-threads: true
214 exit-on-reload: false
215 hook-master-start: unix_signal:15 gracefully_kill_them_all
Mohammed Nasercb5d9c32024-04-03 16:19:01 -0400216 http-auto-chunked: true
217 http-raw-body: true
Oleksandr Kozachenko42cd7612023-10-20 15:36:38 +0200218 lazy-apps: true
219 log-x-forwarded-for: true
220 master: true
Mohammed Nasercb5d9c32024-04-03 16:19:01 -0400221 need-app: true
Oleksandr Kozachenko42cd7612023-10-20 15:36:38 +0200222 procname-prefix-spaced: "senlin-api:"
223 route-user-agent: '^kube-probe.* donotlog:'
Mohammed Nasercb5d9c32024-04-03 16:19:01 -0400224 socket-timeout: 10
Oleksandr Kozachenko42cd7612023-10-20 15:36:38 +0200225 thunder-lock: true
226 worker-reload-mercy: 80
227 wsgi-file: /var/lib/openstack/bin/senlin-wsgi-api
Mohammed Naserf3f59a72023-01-15 21:02:04 -0500228
229network:
230 api:
231 ingress:
232 public: true
233 classes:
234 namespace: "nginx"
235 cluster: "nginx-cluster"
236 annotations:
237 nginx.ingress.kubernetes.io/rewrite-target: /
238 node_port:
239 enabled: false
240 port: 30778
241
242bootstrap:
243 enabled: false
244 ks_user: senlin
245 script: |
246 openstack token issue
247
248dependencies:
249 dynamic:
250 common:
251 local_image_registry:
252 jobs:
253 - senlin-image-repo-sync
254 services:
255 - endpoint: node
256 service: local_image_registry
257 static:
258 engine_cleaner:
259 jobs:
260 - senlin-db-sync
261 services:
262 - endpoint: internal
263 service: oslo_db
264 - endpoint: internal
265 service: oslo_messaging
266 - endpoint: internal
267 service: identity
268 api:
269 jobs:
270 - senlin-db-sync
271 - senlin-ks-user
272 - senlin-ks-endpoints
273 - senlin-rabbit-init
274 services:
275 - endpoint: internal
276 service: oslo_db
277 - endpoint: internal
278 service: identity
279 - endpoint: internal
280 service: oslo_messaging
281 db_drop:
282 services:
283 - endpoint: internal
284 service: oslo_db
285 db_init:
286 services:
287 - endpoint: internal
288 service: oslo_db
289 db_sync:
290 jobs:
291 - senlin-db-init
292 services:
293 - endpoint: internal
294 service: oslo_db
295 engine:
296 jobs:
297 - senlin-db-sync
298 - senlin-ks-user
299 - senlin-ks-endpoints
300 - senlin-rabbit-init
301 services:
302 - endpoint: internal
303 service: oslo_db
304 - endpoint: internal
305 service: identity
306 conductor:
307 jobs:
308 - senlin-db-sync
309 - senlin-ks-user
310 - senlin-ks-endpoints
311 - senlin-rabbit-init
312 services:
313 - endpoint: internal
314 service: oslo_db
315 - endpoint: internal
316 service: identity
317 health_manager:
318 jobs:
319 - senlin-db-sync
320 - senlin-ks-user
321 - senlin-ks-endpoints
322 - senlin-rabbit-init
323 services:
324 - endpoint: internal
325 service: oslo_db
326 - endpoint: internal
327 service: identity
328 ks_endpoints:
329 jobs:
330 - senlin-ks-service
331 services:
332 - endpoint: internal
333 service: identity
334 ks_service:
335 services:
336 - endpoint: internal
337 service: identity
338 ks_user:
339 services:
340 - endpoint: internal
341 service: identity
342 rabbit_init:
343 services:
344 - endpoint: internal
345 service: oslo_messaging
346 tests:
347 services:
348 - endpoint: internal
349 service: identity
350 - endpoint: internal
351 service: clustering
352 image_repo_sync:
353 services:
354 - endpoint: internal
355 service: local_image_registry
356
357# Names of secrets used by bootstrap and environmental checks
358secrets:
359 identity:
360 admin: senlin-keystone-admin
361 senlin: senlin-keystone-user
362 oslo_db:
363 admin: senlin-db-admin
364 senlin: senlin-db-user
365 oslo_messaging:
366 admin: senlin-rabbitmq-admin
367 senlin: senlin-rabbitmq-user
Mohammed Naserbcdd25c2023-01-18 03:38:47 +0000368 oci_image_registry:
369 senlin: senlin-oci-image-registry
Mohammed Naserf3f59a72023-01-15 21:02:04 -0500370
371# typically overridden by environmental
372# values, but should include all endpoints
373# required by this chart
374endpoints:
375 cluster_domain_suffix: cluster.local
376 local_image_registry:
377 name: docker-registry
378 namespace: docker-registry
379 hosts:
380 default: localhost
381 internal: docker-registry
382 node: localhost
383 host_fqdn_override:
384 default: null
385 port:
386 registry:
387 node: 5000
Mohammed Naserbcdd25c2023-01-18 03:38:47 +0000388 oci_image_registry:
389 name: oci-image-registry
390 namespace: oci-image-registry
391 auth:
392 enabled: false
393 senlin:
394 username: senlin
395 password: password
396 hosts:
397 default: localhost
398 host_fqdn_override:
399 default: null
400 port:
401 registry:
402 default: null
Mohammed Naserf3f59a72023-01-15 21:02:04 -0500403 identity:
404 name: keystone
405 auth:
406 admin:
407 region_name: RegionOne
408 username: admin
409 password: password
410 project_name: admin
411 user_domain_name: default
412 project_domain_name: default
413 senlin:
414 role: admin
415 region_name: RegionOne
416 username: senlin
417 password: password
418 project_name: service
419 user_domain_name: service
420 project_domain_name: service
421 test:
422 role: admin
423 region_name: RegionOne
424 username: senlin-test
425 password: password
426 project_name: test
427 user_domain_name: service
428 project_domain_name: service
429 hosts:
430 default: keystone
431 internal: keystone-api
432 host_fqdn_override:
433 default: null
434 path:
435 default: /v3
436 scheme:
437 default: http
438 port:
439 api:
440 default: 80
441 internal: 5000
442 clustering:
443 name: senlin
444 hosts:
445 default: senlin-api
446 public: senlin
447 host_fqdn_override:
448 default: null
449 path:
450 default: null
451 scheme:
452 default: http
453 port:
454 api:
455 default: 8778
456 public: 80
457 oslo_db:
458 auth:
459 admin:
460 username: root
461 password: password
462 senlin:
463 username: senlin
464 password: password
465 hosts:
466 default: mariadb
467 host_fqdn_override:
468 default: null
469 path: /senlin
470 scheme: mysql+pymysql
471 port:
472 mysql:
473 default: 3306
474 oslo_cache:
475 auth:
476 # NOTE(portdirect): this is used to define the value for keystone
477 # authtoken cache encryption key, if not set it will be populated
478 # automatically with a random value, but to take advantage of
479 # this feature all services should be set to use the same key,
480 # and memcache service.
481 memcache_secret_key: null
482 hosts:
483 default: memcached
484 host_fqdn_override:
485 default: null
486 port:
487 memcache:
488 default: 11211
489 oslo_messaging:
490 auth:
491 admin:
492 username: rabbitmq
493 password: password
494 senlin:
495 username: senlin
496 password: password
497 statefulset:
498 replicas: 2
499 name: rabbitmq-rabbitmq
500 hosts:
501 default: rabbitmq
502 host_fqdn_override:
503 default: null
504 path: /senlin
505 scheme: rabbit
506 port:
507 amqp:
508 default: 5672
509 http:
510 default: 15672
511 fluentd:
512 namespace: null
513 name: fluentd
514 hosts:
515 default: fluentd-logging
516 host_fqdn_override:
517 default: null
518 path:
519 default: null
520 scheme: 'http'
521 port:
522 service:
523 default: 24224
524 metrics:
525 default: 24220
526
527pod:
528 user:
529 senlin:
530 uid: 42424
531 affinity:
532 anti:
533 type:
534 default: preferredDuringSchedulingIgnoredDuringExecution
535 topologyKey:
536 default: kubernetes.io/hostname
537 weight:
538 default: 10
539 mounts:
540 senlin_api:
541 init_container: null
542 senlin_api:
543 volumeMounts:
544 volumes:
545 senlin_conductor:
546 init_container: null
547 senlin_conductor:
548 volumeMounts:
549 volumes:
550 senlin_engine:
551 init_container: null
552 senlin_engine:
553 volumeMounts:
554 volumes:
555 senlin_health_manager:
556 init_container: null
557 senlin_health_manager:
558 volumeMounts:
559 volumes:
560 senlin_bootstrap:
561 init_container: null
562 senlin_bootstrap:
563 volumeMounts:
564 volumes:
565 senlin_engine_cleaner:
566 init_container: null
567 senlin_engine_cleaner:
568 volumeMounts:
569 volumes:
570 senlin_tests:
571 init_container: null
572 senlin_tests:
573 volumeMounts:
574 volumes:
575 senlin_db_sync:
576 senlin_db_sync:
577 volumeMounts:
578 volumes:
579 replicas:
580 api: 1
581 conductor: 1
582 engine: 1
583 health_manager: 1
584 lifecycle:
585 upgrades:
586 deployments:
587 revision_history: 3
588 pod_replacement_strategy: RollingUpdate
589 rolling_update:
590 max_unavailable: 1
591 max_surge: 3
592 disruption_budget:
593 api:
594 min_available: 0
595 termination_grace_period:
596 api:
597 timeout: 30
598 resources:
599 enabled: false
600 api:
601 requests:
602 memory: "128Mi"
603 cpu: "100m"
604 limits:
605 memory: "1024Mi"
606 cpu: "2000m"
607 conductor:
608 requests:
609 memory: "128Mi"
610 cpu: "100m"
611 limits:
612 memory: "1024Mi"
613 cpu: "2000m"
614 engine:
615 requests:
616 memory: "128Mi"
617 cpu: "100m"
618 limits:
619 memory: "1024Mi"
620 cpu: "2000m"
621 health_manager:
622 requests:
623 memory: "128Mi"
624 cpu: "100m"
625 limits:
626 memory: "1024Mi"
627 cpu: "2000m"
628 jobs:
629 bootstrap:
630 requests:
631 memory: "128Mi"
632 cpu: "100m"
633 limits:
634 memory: "1024Mi"
635 cpu: "2000m"
636 db_init:
637 requests:
638 memory: "128Mi"
639 cpu: "100m"
640 limits:
641 memory: "1024Mi"
642 cpu: "2000m"
643 db_sync:
644 requests:
645 memory: "128Mi"
646 cpu: "100m"
647 limits:
648 memory: "1024Mi"
649 cpu: "2000m"
650 db_drop:
651 requests:
652 memory: "128Mi"
653 cpu: "100m"
654 limits:
655 memory: "1024Mi"
656 cpu: "2000m"
657 ks_endpoints:
658 requests:
659 memory: "128Mi"
660 cpu: "100m"
661 limits:
662 memory: "1024Mi"
663 cpu: "2000m"
664 ks_service:
665 requests:
666 memory: "128Mi"
667 cpu: "100m"
668 limits:
669 memory: "1024Mi"
670 cpu: "2000m"
671 ks_user:
672 requests:
673 memory: "128Mi"
674 cpu: "100m"
675 limits:
676 memory: "1024Mi"
677 cpu: "2000m"
678 rabbit_init:
679 requests:
680 memory: "128Mi"
681 cpu: "100m"
682 limits:
683 memory: "1024Mi"
684 cpu: "2000m"
685 tests:
686 requests:
687 memory: "128Mi"
688 cpu: "100m"
689 limits:
690 memory: "1024Mi"
691 cpu: "2000m"
692 engine_cleaner:
693 requests:
694 memory: "128Mi"
695 cpu: "100m"
696 limits:
697 memory: "1024Mi"
698 cpu: "2000m"
699 image_repo_sync:
700 requests:
701 memory: "128Mi"
702 cpu: "100m"
703 limits:
704 memory: "1024Mi"
705 cpu: "2000m"
706
707network_policy:
708 senlin:
709 ingress:
710 - {}
711 egress:
712 - {}
713
714helm3_hook: true
715
716manifests:
717 configmap_bin: true
718 configmap_etc: true
719 cron_job_engine_cleaner: true
720 deployment_api: true
721 deployment_conductor: true
722 deployment_engine: true
723 deployment_health_manager: true
724 ingress_api: true
725 job_bootstrap: true
726 job_db_init: true
727 job_db_sync: true
728 job_db_drop: false
729 job_image_repo_sync: true
730 job_ks_endpoints: true
731 job_ks_service: true
732 job_ks_user: true
733 job_rabbit_init: true
734 pdb_api: true
735 pod_test: true
736 network_policy: false
737 secret_db: true
738 secret_keystone: true
739 secret_rabbitmq: true
Mohammed Naserbcdd25c2023-01-18 03:38:47 +0000740 secret_registry: true
Mohammed Naserf3f59a72023-01-15 21:02:04 -0500741 service_ingress_api: true
742 service_api: true
743...