https://github.com/devops-ws/kubevirt-guide
https://github.com/devops-ws/kubevirt-guide
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/devops-ws/kubevirt-guide
- Owner: devops-ws
- Created: 2023-01-29T01:26:22.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-03-06T07:44:11.000Z (about 3 years ago)
- Last Synced: 2025-01-16T02:17:18.314Z (about 1 year ago)
- Language: Dockerfile
- Homepage: https://jenkins-zh.cn
- Size: 33.2 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# kubevirt-guide
```shell
export VERSION=v0.58.0
kubectl create -f https://github.com/kubevirt/kubevirt/releases/download/${VERSION}/kubevirt-operator.yaml
kubectl create -f https://github.com/kubevirt/kubevirt/releases/download/${VERSION}/kubevirt-cr.yaml
```
```shell
hd i virtctl
```
## Debian
```shell
cat < /dev/null
- apt-get update -y
- apt-get install docker-ce docker-ce-cli containerd.io -y
- curl https://linuxsuren.github.io/tools/install.sh|bash
- hd i k3d --proxy-github ghproxy.com
chpasswd:
list: |
debian:debian
root:root
expire: False
EOF
```
```shell
virtctl start debian
virtctl console debian
```
## 上传 ISO
```shell
export CDI=v1.48.1
kubectl apply -f https://github.com/kubevirt/containerized-data-importer/releases/download/${CDI}/cdi-operator.yaml
kubectl apply -f https://github.com/kubevirt/containerized-data-importer/releases/download/${CDI}/cdi-cr.yaml
kubectl apply -f - <