UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit 07e32854 authored by Shannon Mitchell's avatar Shannon Mitchell Committed by andrew.greene
Browse files

feat: Adding ability to enable software emulation.

parent d0c39593
No related branches found
No related tags found
1 merge request!32Adding ability to enable software emulation.
......@@ -2,6 +2,14 @@
Format: [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
## [0.0.1-bb.4] - 2022-08-04
### Added
- Allow setting of hardware emulation for environments not supporting kvm or nested virt.
## [0.0.1-bb.3] - 2022-08-04
### Added
- Adding nodePlacement configurations for infra and workloads KubeVirt configs.
## [0.0.1-bb.2] - 2022-07-14
### Added
- zarf.yaml added
......@@ -21,7 +29,3 @@ Format: [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
- Pipeline fixes
- Initial Chart creation
- Adding imagePullSecret injection for kubevirt operator and dynamic resources.
## [0.0.1-bb.3]
### Added
- Adding nodePlacement configurations for infra and workloads KubeVirt configs.
# bigbang-kubevirt
# kubevirt
![Version: 0.0.1-bb.3](https://img.shields.io/badge/Version-0.0.1--bb.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.54.0](https://img.shields.io/badge/AppVersion-0.54.0-informational?style=flat-square)
![Version: 0.0.1-bb.4](https://img.shields.io/badge/Version-0.0.1--bb.4-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.54.0](https://img.shields.io/badge/AppVersion-0.54.0-informational?style=flat-square)
BigBang compatible Helm chart for kubevirt
KubeVirt helm chart package
## Learn More
* [Application Overview](docs/overview.md)
......@@ -23,47 +23,36 @@ https://helm.sh/docs/intro/install/
* Clone down the repository
* cd into directory
```bash
helm install bigbang-kubevirt chart/
helm install kubevirt chart/
```
## Values
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| kubevirt.enabled | bool | `true` | |
| kubevirt.git.repo | string | `"https://repo1.dso.mil/platform-one/big-bang/apps/third-party/kubevirt"` | |
| kubevirt.git.branch | string | `"main"` | |
| kubevirt.git.path | string | `"chart"` | |
| kubevirt.flux | object | `{}` | |
| monitoring.enabled | bool | `false` | |
| logging.enabled | bool | `false` | |
| clusterAuditor.enabled | bool | `false` | |
| gatekeeper.enabled | bool | `false` | |
| eckoperator.enabled | bool | `false` | |
| kiali.enabled | bool | `false` | |
| jaeger.enabled | bool | `false` | |
| fluentbit.enabled | bool | `false` | |
| twistlock.enabled | bool | `false` | |
| loki.enabled | bool | `false` | |
| promtail.enabled | bool | `false` | |
| flux.timeout | string | `"10m"` | |
| flux.interval | string | `"2m"` | |
| flux.test.enable | bool | `false` | |
| flux.install.remediation.retries | int | `-1` | |
| flux.upgrade.remediation.retries | int | `-1` | |
| flux.upgrade.remediation.remediateLastFailure | bool | `true` | |
| flux.upgrade.cleanupOnFail | bool | `true` | |
| flux.rollback.timeout | string | `"10m"` | |
| flux.rollback.cleanupOnFail | bool | `true` | |
| deployment.spec.replicas | int | `2` | replica count |
| deployment.spec.template.spec.containers.image.name | string | `"virt-operator"` | |
| deployment.spec.template.spec.containers.image.registry | string | `"registry.dso.mil/platform-one/big-bang/apps/third-party/kubevirt"` | |
| deployment.spec.template.spec.containers.image.version | string | `"v0.54.0"` | |
| deployment.spec.template.spec.containers.command.port | int | `8443` | |
| deployment.spec.template.spec.containers.command.verbosity | int | `2` | |
| deployment.spec.template.spec.containers.ports.metricsPort | int | `8443` | |
| deployment.spec.template.spec.containers.ports.webhooksPort | int | `8444` | |
| deployment.spec.template.spec.containers.resources.requests.cpu | string | `"10m"` | |
| deployment.spec.template.spec.containers.resources.requests.memory | string | `"150Mi"` | |
| imagePullSecrets | list | `[]` | |
| workloads.nodePlacement | object | `{}` | |
| infra.nodePlacement | object | `{}` | |
| useEmulation | bool | `false` | |
## Contributing
Please see the [contributing guide](./CONTRIBUTING.md) if you are interested in contributing.
# kubevirt
# bigbang-kubevirt
![Version: 0.0.1-bb.3](https://img.shields.io/badge/Version-0.0.1--bb.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.54.0](https://img.shields.io/badge/AppVersion-0.54.0-informational?style=flat-square)
![Version: 0.0.1-bb.4](https://img.shields.io/badge/Version-0.0.1--bb.4-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.54.0](https://img.shields.io/badge/AppVersion-0.54.0-informational?style=flat-square)
KubeVirt helm chart package
BigBang compatible Helm chart for kubevirt
## Learn More
* [Application Overview](docs/overview.md)
......@@ -84,26 +73,38 @@ https://helm.sh/docs/intro/install/
* Clone down the repository
* cd into directory
```bash
helm install kubevirt chart/
helm install bigbang-kubevirt chart/
```
## Values
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| deployment.spec.replicas | int | `2` | replica count |
| deployment.spec.template.spec.containers.image.name | string | `"virt-operator"` | |
| deployment.spec.template.spec.containers.image.registry | string | `"registry.dso.mil/platform-one/big-bang/apps/third-party/kubevirt"` | |
| deployment.spec.template.spec.containers.image.version | string | `"v0.54.0"` | |
| deployment.spec.template.spec.containers.command.port | int | `8443` | |
| deployment.spec.template.spec.containers.command.verbosity | int | `2` | |
| deployment.spec.template.spec.containers.ports.metricsPort | int | `8443` | |
| deployment.spec.template.spec.containers.ports.webhooksPort | int | `8444` | |
| deployment.spec.template.spec.containers.resources.requests.cpu | string | `"10m"` | |
| deployment.spec.template.spec.containers.resources.requests.memory | string | `"150Mi"` | |
| imagePullSecrets | list | `[]` | |
| workloads.nodePlacement | object | `{}` | |
| infra.nodePlacement | object | `{}` | |
| kubevirt.enabled | bool | `true` | |
| kubevirt.git.repo | string | `"https://repo1.dso.mil/platform-one/big-bang/apps/third-party/kubevirt"` | |
| kubevirt.git.branch | string | `"main"` | |
| kubevirt.git.path | string | `"chart"` | |
| kubevirt.flux | object | `{}` | |
| monitoring.enabled | bool | `false` | |
| logging.enabled | bool | `false` | |
| clusterAuditor.enabled | bool | `false` | |
| gatekeeper.enabled | bool | `false` | |
| eckoperator.enabled | bool | `false` | |
| kiali.enabled | bool | `false` | |
| jaeger.enabled | bool | `false` | |
| fluentbit.enabled | bool | `false` | |
| twistlock.enabled | bool | `false` | |
| loki.enabled | bool | `false` | |
| promtail.enabled | bool | `false` | |
| flux.timeout | string | `"10m"` | |
| flux.interval | string | `"2m"` | |
| flux.test.enable | bool | `false` | |
| flux.install.remediation.retries | int | `-1` | |
| flux.upgrade.remediation.retries | int | `-1` | |
| flux.upgrade.remediation.remediateLastFailure | bool | `true` | |
| flux.upgrade.cleanupOnFail | bool | `true` | |
| flux.rollback.timeout | string | `"10m"` | |
| flux.rollback.cleanupOnFail | bool | `true` | |
## Contributing
......
......@@ -3,5 +3,5 @@ apiVersion: v2
name: bigbang-kubevirt
description: BigBang compatible Helm chart for kubevirt
type: application
version: 0.0.1-bb.3
version: 0.0.1-bb.4
appVersion: "0.54.0"
......@@ -2,5 +2,5 @@ apiVersion: v2
name: kubevirt
description: KubeVirt helm chart package
type: application
version: 0.0.1-bb.3
version: 0.0.1-bb.4
appVersion: "0.54.0"
......@@ -15,6 +15,7 @@ spec:
configuration:
developerConfiguration:
featureGates: []
useEmulation: {{ .Values.useEmulation | default "false" }}
imagePullPolicy: IfNotPresent
imageRegistry: {{ .Values.deployment.spec.template.spec.containers.image.registry }}
infra:
......
......@@ -46,3 +46,20 @@ infra:
# controller nodes. nodeSelector, tolerations and affanity configs are
# supported for placement.
nodePlacement: {}
# Software Emulation
#
# docs:
# - https://github.com/kubevirt/kubevirt/blob/main/docs/software-emulation.md
# - https://kubevirt.io/user-guide/operations/installation/#installing-kubevirt-on-kubernetes
#
# Many providers do not support nested virtualization with VMs and will fail
# without kubernetes metal worker nodes. Set this to 'true' to enable full
# hardware emulation with qemu. This should not be used in production as
# performance can be dropped by 80% if not using KVM with VT-X or AMD-V CPU
# features.
#
# Even though the docs in the link above say that it will fall back to KVM
# if useEmulation is set, do NOT trust it. We saw that it was still using
# full hardware emulation on metal nodes during tests with this set to 'true'.
useEmulation: false
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment