Skip to content

Commit

Permalink
Add KubeVirt
Browse files Browse the repository at this point in the history
Signed-off-by: Xiaodong Ye <yeahdongcn@gmail.com>
  • Loading branch information
yeahdongcn committed Feb 1, 2024
1 parent b95f9c7 commit e5cf862
Show file tree
Hide file tree
Showing 6 changed files with 8,355 additions and 0 deletions.
Expand Up @@ -28,6 +28,12 @@ spec:
requests.storage: "100Gi"
requests.ephemeral-storage: 60Gi
requests.nvidia.com/gpu: 16
requests.devices.kubevirt.io/kvm: 10
requests.devices.kubevirt.io/tun: 10
requests.devices.kubevirt.io/vhost-net: 10
limits.devices.kubevirt.io/kvm: 10
limits.devices.kubevirt.io/tun: 10
limits.devices.kubevirt.io/vhost-net: 10
limits.nvidia.com/gpu: 16
limits.cpu: 20
limits.memory: 40Gi
Expand Down
9 changes: 9 additions & 0 deletions testdata/kubevirt/README.md
@@ -0,0 +1,9 @@
# KubeVirt

```bash
wget https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/main/example/prometheus-operator-crd/monitoring.coreos.com_servicemonitors.yaml
export VERSION=$(curl -s https://storage.googleapis.com/kubevirt-prow/release/kubevirt/kubevirt/stable.txt)
wget https://github.com/kubevirt/kubevirt/releases/download/${VERSION}/kubevirt-operator.yaml
wget https://github.com/kubevirt/kubevirt/releases/download/${VERSION}/kubevirt-cr.yaml
wget https://kubevirt.io/labs/manifests/vm.yaml
```
14 changes: 14 additions & 0 deletions testdata/kubevirt/kubevirt-cr.yaml
@@ -0,0 +1,14 @@
---
apiVersion: kubevirt.io/v1
kind: KubeVirt
metadata:
name: kubevirt
namespace: kubevirt
spec:
certificateRotateStrategy: {}
configuration:
developerConfiguration:
featureGates: []
customizeComponents: {}
imagePullPolicy: IfNotPresent
workloadUpdateStrategy: {}

0 comments on commit e5cf862

Please sign in to comment.