UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit 9ca7b548 authored by andrew.greene's avatar andrew.greene
Browse files

Merge branch 'bb-upstrea-integration' into 'main'

BB upstream integration

See merge request platform-one/big-bang/apps/third-party/kubevirt!3
parents 8ed70141 0eaabc90
No related branches found
No related tags found
1 merge request!3BB upstream integration
# Changelog
Format: [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
## [Unreleased]
\ No newline at end of file
# Contributing
Your contributions are welcome!
To begin, review current [issues](https://repo1.dso.mil/platform-one/big-bang/apps/third-party/kubevirt/-/boards) and submit a [new issue](https://repo1.dso.mil/platform-one/big-bang/apps/third-party/kubevirt/-/issues/new) if current issues don't cover your need.
## Developers
Do
- Use [conventional commits](https://www.conventionalcommits.org/en/v1.0.0/#specification)
- Create a branch off of main, submitting a [Merge Request](https://repo1.dso.mil/platform-one/big-bang/apps/third-party/kubevirt/-/merge_requests) when ready for review. The project owners will review the request.
\ No newline at end of file
# Contributing
Your contributions are welcome!
To begin, review current [issues](https://repo1.dso.mil/platform-one/big-bang/apps/third-party/kubevirt/-/boards) and submit a [new issue](https://repo1.dso.mil/platform-one/big-bang/apps/third-party/kubevirt/-/issues/new) if current issues don't cover your need.
## Developers
This repository uses the following conventions:
* [Semantic Versioning](https://semver.org/)
* [Keep a Changelog](https://keepachangelog.com/)
* [Conventional Commits](https://www.conventionalcommits.org/)
This project generates the top level README.md, preferably using this [pre-commit hook](https://repo1.dso.mil/platform-one/big-bang/apps/library-charts/gluon/-/blob/master/docs/bb-package-readme.md#pre-commit-hook-method)
When submitting code updates:
1. ensure an issue has been created
2. create a branch off of main
3. _do the dew_
4. submit a [Merge Request](https://repo1.dso.mil/platform-one/big-bang/apps/third-party/kubevirt/-/merge_requests)
5. Project owners will review the submission and engage with questions
\ No newline at end of file
# Kubevirt
[KubeVirt](https://kubevirt.io) is a CNCF incubating project hosted on [github](https://github.com/kubevirt/kubevirt) to run virtual machines in Kubernetes.
# kubevirt
## Description
Run virtual machines in Kubernetes, full integration with Big Bang is in progress.
![Version: 0.1.2-alpha-bb.0](https://img.shields.io/badge/Version-0.1.2--alpha--bb.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.53.0](https://img.shields.io/badge/AppVersion-0.53.0-informational?style=flat-square)
## Badges
*coming soon...*
KubeVirt Big Bang package
## Visuals
*coming soon...*
## Learn More
* [Application Overview](docs/overview.md)
* [Other Documentation](docs/)
## Installation
*coming soon...*
## Pre-Requisites
## Usage
### Helm
#### Installing
```shell
helm install kv ./chart --create-namespace --namespace=kubevirt
```
With default values, Kubevirt will deploy the following:
- 2 virt-operators pods
- 2 virt-api pods
- 2 virt-controllers pods
- 3 virt-handlers pods
- 13 custom resource definitions
#### Removing
Per KubeVirt documentation the kubevirt custom resource should be deleted prior to removal of the operator.
```shell
kubectl delete -n kubevirt kubevirt kubevirt --wait=true
helm uninstall kubevirt --namespace=kubevirt
kubectl delete ns kubevirt
kubectl delete crd kubevirts.kubevirt.io
```
* Kubernetes Cluster deployed
* Kubernetes config installed in `~/.kube/config`
* Helm installed
### Updating the KubeVirt Big Bang Chart
The helm chart needs to be created from raw manifests, as no equivalent alternative is publicly supported.
1. Generate the chart manifests
```shell
export VERSION=x.y.z # must manually set version
make update-chart
make clean
```
2. Review changes, update, and commit
Install Helm
## Support
*coming soon...*
https://helm.sh/docs/intro/install/
## Roadmap
*coming soon...*
## Deployment
## Contributing
The KubeVirt package is open to contribution, view our [CONTRIBUTING.md](CONTRIBUTING.MD) guide for details.
* Clone down the repository
* cd into directory
```bash
helm install kubevirt chart/
```
## Values
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| deployment.spec.replicas | int | `2` | |
| deployment.spec.template.spec.containers.image.name | string | `"virt-operator"` | |
| deployment.spec.template.spec.containers.image.registry | string | `"quay.io/kubevirt/"` | |
| deployment.spec.template.spec.containers.image.version | string | `"v0.53.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"` | |
## License
This project uses the [Apache License version 2.0](LICENSE)
## Contributing
## Project status
Active Development
Please see the [contributing guide](./CONTRIBUTING.md) if you are interested in contributing.
......@@ -2,5 +2,5 @@ apiVersion: v2
name: kubevirt
description: KubeVirt Big Bang package
type: application
version: 0.1.2-alpha
version: 0.1.2-alpha-bb.0
appVersion: "0.53.0"
# Kubevirt
[KubeVirt](https://kubevirt.io) is a CNCF incubating project hosted on [github](https://github.com/kubevirt/kubevirt) to run virtual machines in Kubernetes.
## Description
Run virtual machines in Kubernetes, full integration with Big Bang is in progress.
## Usage
### Helm
#### Installing
```shell
helm install kv ./chart --create-namespace --namespace=kubevirt
```
With default values, Kubevirt will deploy the following:
- 2 virt-operators pods
- 2 virt-api pods
- 2 virt-controllers pods
- 3 virt-handlers pods
- 13 custom resource definitions
#### Removing
Per KubeVirt documentation the kubevirt custom resource should be deleted prior to removal of the operator.
```shell
kubectl delete -n kubevirt kubevirt kubevirt --wait=true
helm uninstall kubevirt --namespace=kubevirt
kubectl delete ns kubevirt
kubectl delete crd kubevirts.kubevirt.io
```
### Updating the KubeVirt Big Bang Chart
The helm chart needs to be created from raw manifests, as no equivalent alternative is publicly supported.
1. Generate the chart manifests
```shell
export VERSION=x.y.z # must manually set version
make update-chart
make clean
```
2. Review changes, update, and commit
## License
This project uses the [Apache License version 2.0](LICENSE)
## Project status
Active Development
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