Mohammed Naser | f3f59a7 | 2023-01-15 21:02:04 -0500 | [diff] [blame] | 1 | # 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 libvirt. |
| 14 | # This is a YAML-formatted file. |
| 15 | # Declare name/value pairs to be passed into your templates. |
| 16 | # name: value |
| 17 | |
| 18 | --- |
| 19 | release_group: null |
| 20 | |
| 21 | labels: |
| 22 | agent: |
| 23 | libvirt: |
| 24 | node_selector_key: openstack-compute-node |
| 25 | node_selector_value: enabled |
| 26 | |
| 27 | images: |
| 28 | tags: |
| 29 | libvirt: docker.io/openstackhelm/libvirt:latest-ubuntu_bionic |
| 30 | ceph_config_helper: 'docker.io/openstackhelm/ceph-config-helper:ubuntu_bionic-20200217' |
| 31 | dep_check: quay.io/airshipit/kubernetes-entrypoint:v1.0.0 |
| 32 | image_repo_sync: docker.io/library/docker:17.07.0 |
| 33 | pull_policy: "IfNotPresent" |
| 34 | local_registry: |
| 35 | active: false |
| 36 | exclude: |
| 37 | - dep_check |
| 38 | - image_repo_sync |
| 39 | |
| 40 | network: |
| 41 | # provide what type of network wiring will be used |
| 42 | # possible options: openvswitch, linuxbridge, sriov |
| 43 | backend: |
| 44 | - openvswitch |
| 45 | |
| 46 | endpoints: |
| 47 | cluster_domain_suffix: cluster.local |
| 48 | local_image_registry: |
| 49 | name: docker-registry |
| 50 | namespace: docker-registry |
| 51 | hosts: |
| 52 | default: localhost |
| 53 | internal: docker-registry |
| 54 | node: localhost |
| 55 | host_fqdn_override: |
| 56 | default: null |
| 57 | port: |
| 58 | registry: |
| 59 | node: 5000 |
| 60 | |
| 61 | network_policy: |
| 62 | libvirt: |
| 63 | ingress: |
| 64 | - {} |
| 65 | egress: |
| 66 | - {} |
| 67 | |
| 68 | ceph_client: |
| 69 | configmap: ceph-etc |
| 70 | user_secret_name: pvc-ceph-client-key |
| 71 | |
| 72 | conf: |
| 73 | ceph: |
| 74 | enabled: true |
| 75 | admin_keyring: null |
| 76 | cinder: |
| 77 | user: "cinder" |
| 78 | keyring: null |
| 79 | secret_uuid: 457eb676-33da-42ec-9a8c-9293d545c337 |
| 80 | # Cinder Ceph backend that is not configured by the k8s cluter |
| 81 | external_ceph: |
| 82 | enabled: false |
| 83 | user: null |
| 84 | secret_uuid: null |
| 85 | user_secret_name: null |
| 86 | libvirt: |
| 87 | listen_tcp: "1" |
| 88 | listen_tls: "0" |
| 89 | auth_tcp: "none" |
| 90 | ca_file: "/etc/pki/CA/cacert.pem" |
| 91 | cert_file: "/etc/pki/libvirt/servercert.pem" |
| 92 | key_file: "/etc/pki/libvirt/private/serverkey.pem" |
| 93 | auth_unix_rw: "none" |
| 94 | listen_addr: 127.0.0.1 |
| 95 | log_level: "3" |
| 96 | log_outputs: "1:file:/var/log/libvirt/libvirtd.log" |
| 97 | qemu: |
| 98 | stdio_handler: "file" |
| 99 | user: "nova" |
| 100 | group: "kvm" |
| 101 | kubernetes: |
| 102 | cgroup: "kubepods" |
| 103 | |
| 104 | pod: |
| 105 | probes: |
| 106 | libvirt: |
| 107 | libvirt: |
| 108 | liveness: |
| 109 | enabled: true |
| 110 | params: |
| 111 | initialDelaySeconds: 30 |
| 112 | periodSeconds: 60 |
| 113 | timeoutSeconds: 5 |
| 114 | readiness: |
| 115 | enabled: true |
| 116 | params: |
| 117 | initialDelaySeconds: 15 |
| 118 | periodSeconds: 60 |
| 119 | timeoutSeconds: 5 |
| 120 | security_context: |
| 121 | libvirt: |
| 122 | pod: |
| 123 | runAsUser: 0 |
| 124 | container: |
| 125 | ceph_admin_keyring_placement: |
| 126 | readOnlyRootFilesystem: false |
| 127 | ceph_keyring_placement: |
| 128 | readOnlyRootFilesystem: false |
| 129 | libvirt: |
| 130 | privileged: true |
| 131 | readOnlyRootFilesystem: false |
| 132 | affinity: |
| 133 | anti: |
| 134 | type: |
| 135 | default: preferredDuringSchedulingIgnoredDuringExecution |
| 136 | topologyKey: |
| 137 | default: kubernetes.io/hostname |
| 138 | weight: |
| 139 | default: 10 |
| 140 | dns_policy: "ClusterFirstWithHostNet" |
| 141 | mounts: |
| 142 | libvirt: |
| 143 | init_container: null |
| 144 | libvirt: |
| 145 | lifecycle: |
| 146 | upgrades: |
| 147 | daemonsets: |
| 148 | pod_replacement_strategy: RollingUpdate |
| 149 | libvirt: |
| 150 | enabled: true |
| 151 | min_ready_seconds: 0 |
| 152 | max_unavailable: 1 |
| 153 | resources: |
| 154 | enabled: false |
| 155 | libvirt: |
| 156 | requests: |
| 157 | memory: "128Mi" |
| 158 | cpu: "100m" |
| 159 | limits: |
| 160 | memory: "1024Mi" |
| 161 | cpu: "2000m" |
| 162 | jobs: |
| 163 | image_repo_sync: |
| 164 | requests: |
| 165 | memory: "128Mi" |
| 166 | cpu: "100m" |
| 167 | limits: |
| 168 | memory: "1024Mi" |
| 169 | cpu: "2000m" |
| 170 | |
| 171 | dependencies: |
| 172 | dynamic: |
| 173 | common: |
| 174 | local_image_registry: |
| 175 | jobs: |
| 176 | - libvirt-image-repo-sync |
| 177 | services: |
| 178 | - endpoint: node |
| 179 | service: local_image_registry |
| 180 | targeted: |
| 181 | openvswitch: |
| 182 | libvirt: |
| 183 | pod: |
| 184 | - requireSameNode: true |
| 185 | labels: |
| 186 | application: neutron |
| 187 | component: neutron-ovs-agent |
| 188 | linuxbridge: |
| 189 | libvirt: |
| 190 | pod: |
| 191 | - requireSameNode: true |
| 192 | labels: |
| 193 | application: neutron |
| 194 | component: neutron-lb-agent |
| 195 | sriov: |
| 196 | libvirt: |
| 197 | pod: |
| 198 | - requireSameNode: true |
| 199 | labels: |
| 200 | application: neutron |
| 201 | component: neutron-sriov-agent |
| 202 | static: |
| 203 | libvirt: |
| 204 | services: null |
| 205 | image_repo_sync: |
| 206 | services: |
| 207 | - endpoint: internal |
| 208 | service: local_image_registry |
| 209 | |
| 210 | manifests: |
| 211 | configmap_bin: true |
| 212 | configmap_etc: true |
| 213 | daemonset_libvirt: true |
| 214 | job_image_repo_sync: true |
| 215 | network_policy: false |
| 216 | |
| 217 | secrets: |
| 218 | tls: |
| 219 | server: libvirt-tls-server |
| 220 | client: libvirt-tls-client |
| 221 | ... |