https://github.com/yaacov/okd-minikube-hacks
https://github.com/yaacov/okd-minikube-hacks
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/yaacov/okd-minikube-hacks
- Owner: yaacov
- License: gpl-3.0
- Created: 2019-12-25T09:00:15.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-02-03T10:41:45.000Z (over 5 years ago)
- Last Synced: 2025-01-23T09:43:14.287Z (8 months ago)
- Size: 27.3 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# okd-minikube-hacks
### Set up kernel paramtets
https://www.redhat.com/sysadmin/fedora-31-control-group-v2
Add `intel_iommu=on systemd.unified_cgroup_hierarchy=0` to `GRUB_CMDLINE_LINUX`
```
sudo vim /etc/default/grub # Adit GRUB_CMDLINE_LINUX
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
reboot
```### Install virtualization
https://docs.fedoraproject.org/en-US/quick-docs/getting-started-with-virtualization/
```
sudo dnf install @virtualization
sudo systemctl start libvirtd
sudo systemctl enable libvirtd
sudo usermod -a -G libvirt $(whoami)
```Check virtualization works
```
virt-host-validate
```### Install minikube
https://kubernetes.io/docs/setup/learning-environment/minikube/
```
curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 && chmod +x minikube
sudo mkdir -p /usr/local/bin/
sudo install minikube /usr/local/bin/
```
```
minikube start --vm-driver=kvm2
```### Install OLM
https://github.com/operator-framework/operator-lifecycle-manager
```
curl -L https://github.com/operator-framework/operator-lifecycle-manager/releases/download/0.13.0/install.sh -o install.sh
chmod +x install.sh
./install.sh 0.13.0
```### Run the console
https://github.com/openshift/console
```
source ./contrib/environment.sh && ./bin/bridge
```### Install kubevirt
https://github.com/kubevirt/kubevirt
In the web-ui console http://localhost:9000/ create a namespace `kubevirt` and install the `kubevirt` operator using the OLM menu http://localhost:9000/operatorhub/all-namespaces/ .