You have logged into your Google Cloud Console.
Steps to install OpenShift Dedicated on Google Cloud:
- Create a project.
- Enable APIs.
- Create Service account.
- Grant roles to the service account.
- Create a service account key.
- Adjust Quota.
- Deploy OpenShift.
Got some error due to some APIs were not anabled. Make sure to go through the doc to enable respective APIs. "networksecurity" API is missing in the documentation.
Use identity provider and add user to login to the console. I used htpasswd identity provider and added an user. Wait for few mins before logging into the console for htpasswd klogin prompt to show up.
Instances on gcloud:
The error "2 Insufficient devices.kubevirt.io/kvm" suggests that the Kubernetes/OpenShift cluster lacks the required KVM (Kernel-based Virtual Machine) devices for running virtual machines via KubeVirt. This could mean not enough nodes support virtualization, or KVM is not enabled/available on the nodes. To resolve, ensure virtualization extensions are enabled in the BIOS and that the kubevirt-node-labeller and kubevirt-device-plugin are properly deployed and functioning, making KVM devices available to the nodes.
To enable virtualization on GCP nodes for KVM, ensure your GCP VM instances are of a type that supports nested virtualization, such as n2, n2d, c2, or specific n1 machine types. Then, you can enable nested virtualization by using the "--min-cpu-platform" flag when creating a VM instance or updating an existing one. This setup is crucial for running KubeVirt or similar technologies that require KVM on GCP nodes. For detailed instructions and requirements, refer to the GCP documentation on enabling nested virtualization.
N1, N2, N2D, and C2 are types of Google Cloud Platform (GCP) virtual machine (VM) instances. N1 instances are the first generation and offer a balance of compute, memory, and network resources. N2 and N2D instances are the newer generations providing improved performance and efficiency, with N2D instances also offering AMD CPUs. C2 instances are optimized for compute-intensive applications, offering the highest performance per core on GCP and are suitable for workloads such as gaming, simulation, and scientific modeling.
To enable --min-cpu-platform on GCP, specify it when creating or updating a VM instance through the gcloud command-line tool, setting it to a desired CPU platform, such as "Intel Skylake". This flag ensures your VM uses a CPU meeting or exceeding your specified minimum. For precise syntax and options, refer to the GCP documentation.