NCP-CN practice question 18 of 25

[Manage Building an NKP Cluster] A Cloud Engineer is deploying an NKP cluster into an AWS environment. By default, when deploying NKP on AWS infrastructure, it generates the supporting infrastructure necessary for the cluster (VPC, subnets, ELBs). However, the AWS team has insisted that the NKP cluster be deployed on existing AWS infrastructure. How can the engineer meet this requirement?

Full set: 108 questions
Answer options
A: When using the nkp adopt infrastructure aws command set, include the valid parameters with the pre-existing VPC, subnets, and ELB to use. Deploy the NKP cluster using the nkp create cluster aws command set.
B: Create an overrides file with the pre-existing VPC, subnets, and ELB to use. When using the nkp create cluster aws command set, include the overrides parameter with the overrides file that was created. Correct answer
C: Create an NKP infrastructure provider for AWS in the NKP UI. When deploying the NKP cluster through the UI, specify the pre-existing VPC, subnets, and ELB to use in the appropriate fields of the 'Infrastructure' section of the Create Cluster page.
D: When using the nkp create cluster aws command set, include the valid parameters with the pre- existing VPC, subnets, and ELB to use.
Correct Answer:
B. Create an overrides file with the pre-existing VPC, subnets, and ELB to use. When using the nkp create cluster aws command set, include the overrides parameter with the overrides file that was created.
Explanation

To deploy a Nutanix Kubernetes Platform (NKP) cluster on pre-existing AWS infrastructure, the documented and correct method is to create an overrides file. This YAML file specifies the identifiers for the existing VPC, subnets, and other components. The nkp create cluster aws command is then executed with the --overrides parameter pointing to this file. This instructs the NKP deployment process to use the specified infrastructure instead of provisioning new resources, thereby meeting the requirement.

Why Incorrect

A: The nkp adopt command is used for bringing an existing, externally created Kubernetes cluster under NKP management, not for adopting infrastructure components before creating a new cluster. C: While the UI may offer some customization, the standard and fully supported method for deploying on existing infrastructure (a "brownfield" deployment) is via the CLI with an overrides file. D: The nkp create cluster aws command does not accept direct command-line parameters for existing infrastructure like VPC or subnet IDs; this level of customization requires an overrides file.

References

1. Nutanix Karbon Platform Services Documentation - Deploying a Kubernetes Cluster on an Existing AWS VPC: This official guide explicitly states

"To deploy a Kubernetes cluster on an existing AWS VPC

you must create an overrides file that contains the details of your existing AWS infrastructure. You then reference this overrides file when you run the nkp create cluster aws command." It also provides the exact command syntax: nkp create cluster aws --name --version --overrides .

URL: https://portal.nutanix.com/page/documents/details?targetId=Karbon-Platform-Services-v25:kps-kps-deploy-k8s-cluster-aws-existing-vpc-t.html

2. Nutanix Karbon Platform Services Documentation - Adopting an Existing Kubernetes Cluster: This document clarifies the purpose of the adopt command

showing it is for managing existing clusters

not infrastructure.

URL: https://portal.nutanix.com/page/documents/details?targetId=Karbon-Platform-Services-v25:kps-kps-adopt-existing-k8s-cluster-t.html

Scroll to Top