blob: 6145c6daf6efba511ada22518680994067e7dc2d [file] [log] [blame]
Mohammed Naserb7b97d62022-03-12 16:30:00 -05001# Copyright (c) 2022 VEXXHOST, Inc.
2#
3# Licensed under the Apache License, Version 2.0 (the "License"); you may
4# not use this file except in compliance with the License. You may obtain
5# a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12# License for the specific language governing permissions and limitations
13# under the License.
14
Mohammed Naser2145fc32023-01-29 23:23:03 +000015_nova_helm_values:
Mohammed Naserb7b97d62022-03-12 16:30:00 -050016 endpoints: "{{ openstack_helm_endpoints }}"
17 labels:
18 agent:
19 compute_ironic:
20 node_selector_key: openstack-control-plane
21 node_selector_value: enabled
22 images:
Michiel Piscaer60d09f92023-01-20 18:58:55 +010023 tags: "{{ atmosphere_images | vexxhost.atmosphere.openstack_helm_image_tags('nova') }}"
Mohammed Naser01338322022-03-22 14:51:31 -040024 network:
Mohammed Naserd6db2452023-07-23 14:34:59 +000025 backend:
26 - "{{ atmosphere_network_backend | default('openvswitch') }}"
Mohammed Naser01338322022-03-22 14:51:31 -040027 ssh:
28 enabled: true
29 public_key: "{{ _nova_ssh_publickey.public_key }}"
Mohammed Naser2145fc32023-01-29 23:23:03 +000030 private_key: "{{ nova_ssh_key }}"
Mohammed Naserb7b97d62022-03-12 16:30:00 -050031 bootstrap:
32 structured:
33 flavors:
34 enabled: false
35 pod:
Mohammed Naserc6392302024-01-04 00:43:02 -050036 useHostNetwork:
37 novncproxy: false
Mohammed Naserb7b97d62022-03-12 16:30:00 -050038 replicas:
39 api_metadata: 3
40 osapi: 3
41 conductor: 3
42 scheduler: 3
43 novncproxy: 3
44 spiceproxy: 3
45 conf:
Mohammed Naser92f11502022-08-10 17:24:32 -040046 ceph:
47 enabled: "{{ atmosphere_ceph_enabled | default(true) | bool }}"
Mohammed Naserb7b97d62022-03-12 16:30:00 -050048 nova:
49 DEFAULT:
okozachenko7cda09a2022-04-07 23:25:03 +100050 allow_resize_to_same_host: true
Mohammed Naserb7b97d62022-03-12 16:30:00 -050051 cpu_allocation_ratio: 4.5
52 ram_allocation_ratio: 0.9
53 disk_allocation_ratio: 3.0
54 resume_guests_state_on_host_boot: true
55 osapi_compute_workers: 8
56 metadata_workers: 8
Mohammed Nasere936b492023-07-19 15:16:06 +020057 api:
58 list_records_by_skipping_down_cells: false
ricolin61202492023-06-01 12:38:10 +080059 barbican:
60 barbican_endpoint_type: internal
Mohammed Naserb7b97d62022-03-12 16:30:00 -050061 cache:
62 backend: oslo_cache.memcache_pool
63 cinder:
64 catalog_info: volumev3::internalURL
Rico Linab920612023-10-18 02:09:27 +080065 os_region_name: "{{ openstack_helm_endpoints_nova_region_name }}"
66 username: "nova-{{ openstack_helm_endpoints_nova_region_name }}"
67 password: "{{ openstack_helm_endpoints_nova_keystone_password }}"
Mohammed Naserb7b97d62022-03-12 16:30:00 -050068 conductor:
69 workers: 8
guilhermesteinmuller72a48af2022-05-06 12:29:11 -030070 compute:
71 consecutive_build_service_disable_threshold: 0
Mohammed Naserb7b97d62022-03-12 16:30:00 -050072 cors:
73 allowed_origin: "*"
74 allow_headers: "X-Auth-Token,X-OpenStack-Nova-API-Version"
Mohammed Naserc6e431b2024-03-15 01:21:44 -040075 database:
76 connection_recycle_time: 10
77 max_pool_size: 1
Mohammed Naserb7b97d62022-03-12 16:30:00 -050078 filter_scheduler:
Oleksandr K.66bb9472024-07-18 01:25:23 +020079 available_filters:
80 type: multistring
81 values:
82 - nova.scheduler.filters.all_filters
83 - nova_scheduler_filters.failure_domain_filter.FailureDomainFilter
Mohammed Naser511c3fa2022-03-17 17:54:10 -040084 enabled_filters:
85 ComputeFilter,
86 AggregateTypeAffinityFilter,
87 ComputeCapabilitiesFilter,
88 PciPassthroughFilter,
89 ImagePropertiesFilter,
90 ServerGroupAntiAffinityFilter,
Oleksandr K.66bb9472024-07-18 01:25:23 +020091 ServerGroupAffinityFilter,
92 FailureDomainFilter
Mohammed Naserb7b97d62022-03-12 16:30:00 -050093 image_properties_default_architecture: x86_64
94 max_instances_per_host: 200
95 glance:
96 enable_rbd_download: true
Mohammed Naserf799a7b2023-07-10 18:06:38 -040097 libvirt:
Mohammed Naserf799a7b2023-07-10 18:06:38 -040098 live_migration_scheme: tls
Mohammed Nasera4cbb612023-07-10 20:59:58 -040099 # TODO(mnaser): We should enable this once we figure out how to "inject"
100 # the certificates into the existing "qemu-kvm" processes.
101 # live_migration_with_native_tls: true
Mohammed Naserb7b97d62022-03-12 16:30:00 -0500102 neutron:
103 metadata_proxy_shared_secret: "{{ openstack_helm_endpoints['compute_metadata']['secret'] }}"
ricolin2d8dd482022-07-07 06:55:02 +0800104 oslo_messaging_notifications:
105 driver: noop
Mohammed Naserd6db2452023-07-23 14:34:59 +0000106 os_vif_ovs:
107 ovsdb_connection: unix:/run/openvswitch/db.sock
Mohammed Naserb7b97d62022-03-12 16:30:00 -0500108 scheduler:
109 workers: 8
Mohammed Naser10c23f32023-07-10 17:24:59 -0400110 vnc:
111 auth_schemes: vencrypt,none
Yaguang Tang2fab49f2024-07-04 21:57:37 +0800112 # NOTE(yaguang): This is not safe but a workaround before upstream bug 2039803 is fixed.
113 workarounds:
114 skip_cpu_compare_on_dest: true
Mohammed Naserb7b97d62022-03-12 16:30:00 -0500115 nova_ironic:
116 DEFAULT:
Mohammed Naserb7b97d62022-03-12 16:30:00 -0500117 force_config_drive: true
118 manifests:
119 deployment_consoleauth: false
120 deployment_placement: false
121 ingress_metadata: false
122 ingress_novncproxy: false
123 ingress_osapi: false
124 ingress_placement: false
125 job_db_init_placement: false
126 job_ks_placement_endpoints: false
127 job_ks_placement_service: false
128 job_ks_placement_user: false
129 secret_keystone_placement: false
130 service_ingress_metadata: false
131 service_ingress_novncproxy: false
132 service_ingress_osapi: false
133 service_ingress_placement: false
134 service_placement: false
Mohammed Nasera5239662022-05-28 18:08:12 +0200135 # NOTE(mnaser): Enable this once we've got Ironic deployed.
136 statefulset_compute_ironic: false
Oleksandr Kozachenkoaf9972f2023-10-17 19:25:12 +0200137
138_nova_novnc_ingress_annotations:
139 nginx.ingress.kubernetes.io/proxy-read-timeout: "3600"
140 nginx.ingress.kubernetes.io/proxy-send-timeout: "3600"