forked from kubevirt/kubevirt
-
Notifications
You must be signed in to change notification settings - Fork 0
Kubevirt support for ppc64le
Punith Kenchappa edited this page Mar 20, 2024
·
3 revisions
We required these pre-req installation for the bring up the k8s cluster with single node.
- Pre-requisites :
- Kubectl
- Docker
- Kubernetes cluster ([Kubeadm single node kubernetes cluster](https://github.com/ppc64le-cloud/test-infra/wiki/Creating-Kubernetes- cluster-with-kubeadm-on-Power-(RHEL-or-CentOS)) optional)
- Clone repo : Kubevirt for PPC64LE
Follow the links to bring up the binaries and images : Bring up the binaries and images
kubelet swap off
sudo dnf remove zram-generator-defaults
remove taints
* kubectl taint node ltcrain34-lp3.aus.stglabs.ibm.com node-role.kubernetes.io/control-plane:NoSchedule-
* kubectl taint node ltcrain34-lp3.aus.stglabs.ibm.com node.kubernetes.io/not-ready:NoSchedule-
taints to be removed.
node-role.kubernetes.io/control-plane:NoSchedule
node.kubernetes.io/not-ready:NoSchedule
kubectl apply -f https://raw.githubusercontent.com/projectcalico/calico/v3.26.4/manifests/calico.yaml
- Modify the image repo and using the command below
- kubectl apply -f kubevirt-operator.yaml
-
Once the Kubevirt operator up and running.
-
Modify kubevirt-cr.yaml as shown below.
- Kubectl apply –f kubevirt-cr.yaml
- Modify the examples/vm_fedora_ppc64le.yaml according to your requirement.
- Provide the disk image location and disk and ram size.
- Run the command kubectl apply –f examples/vm_fedora_ppc64le.yaml
- ssh -0 'ProxyCommand=virtctl port-forward --stdio=true vmi/testvmfedora.default 22'fedora@testvmfedora.default
- one-time job to add the ssh config, then we can ssh via ip address.
- systemd-detect-virt
- kvm