Show answerHide answer
Correct answer: D AKS
Explanation
ExplanationThis question tests the understanding of the Cluster API (CAPI) model and how NKP uses it to manage Kubernetes clusters across different infrastructures
Why Option D is Correct:
AKS (Azure Kubernetes Service) is a managed Kubernetes service. When you deploy to AKS, you are not provisioning the underlying virtual machines, networks, or Kubernetes control plane nodes yourself. Instead, you are asking Azure to provide a fully managed, pre-configured Kubernetes cluster.
NKP uses CAPI to declaratively manage the entire lifecycle of a cluster, including creating the VMs, installing Kubernetes, and managing the control plane. Since AKS abstracts away the underlying infrastructure and control plane, there is no need for NKP to install CAPI components (like the cluster-api controllers or provider-specific controllers such as azure)*. The management is done through the Azure API, not through CAPI custom resources acting on IaaS.
Why the Other Options are Incorrect:
A. vSphere, B. GCP, and C. Nutanix are all infrastructure platforms where NKP uses CAPI to provision and manage the cluster.
For vSphere and Nutanix (AHV), NKP uses the cluster-api-provider-nutanix to create VMs and deploy Kubernetes onto them.
For GCP, NKP uses the cluster-api-provider-gcp to create Google Compute Engine instances and deploy Kubernetes.
In all these cases, the NKP management cluster installs and uses the respective CAPI provider components to manage the workload clusters. The key differentiator is that these are IaaS platforms where you have control over the VMs, unlike a managed service like AKS.
Reference / Key Concept
Cluster API (CAPI):
A Kubernetes sub-project that provides declarative APIs and tooling to simplify provisioning, upgrading, and operating multiple Kubernetes clusters. It uses a management cluster to manage the lifecycle of workload clusters.
NKP as a Management Cluster:
NKP itself acts as a CAPI-based management cluster. When you deploy a new workload cluster to an IaaS provider (vSphere, Nutanix, GCP, AWS), it installs the corresponding CAPI infrastructure provider into the management cluster to handle that deployment.
Managed Services vs. IaaS:
Managed Kubernetes services like AKS, EKS, and GKE are a higher level of abstraction. The cloud provider manages the control plane and often the worker nodes. You cannot and do not need to install CAPI components to manage them; you interact with the cloud provider's own API and control plane.
In summary, CAPI is for managing clusters on infrastructure you control (IaaS). It is not used for clusters that are already managed by a cloud provider.