The NKPA course explains that by default, NKP creates new AWS infrastructure (VPC, subnets, ELBs) when deploying a cluster on AWS. However, NKP supports deploying clusters on existing AWS infrastructure by providing custom configurations. The recommended method using the NKP CLI is to create an overrides file specifying the pre-existing VPC, subnets, and ELB, and then pass this file to the nkp create cluster aws command using the --overrides parameter.
The overrides file (e.g., aws-infra-overrides.yaml) contains details like vpcID, subnetIDs, and loadBalancerIDs, which NKP uses to deploy the cluster on the specified infrastructure instead of creating new resources. For example:
yaml
CollapseWrap
Copy
aws:
vpcID: vpc-12345678
subnetIDs:
- subnet-12345678
- subnet-87654321
loadBalancerIDs:
- elb-12345678
The engineer then runs: nkp create cluster aws --overrides aws-infra-overrides.yaml.
The Nutanix Cloud Native (NCP-CN) 6.10 Study Guide states: “To deploy an NKP cluster on existing AWS infrastructure, create an overrides file with the pre-existing VPC, subnets, and ELB details, and use the --overrides parameter with the nkp create cluster aws command to apply the custom configuration.” This method ensures the AWS team’s requirement is met while leveraging NKP’s CLI for deployment.
Incorrect Options:
A. nkp adopt infrastructure aws: There is no nkp adopt infrastructure command in NKP for this purpose.
C. Use the NKP UI: While the UI allows specifying infrastructure details, the question focuses on the CLI-based deployment, and the UI method is less relevant here.
D. Include parameters directly in nkp create cluster aws: The nkp create cluster aws command does not support direct parameters for VPC, subnets, and ELB; it requires an overrides file.
[:, Nutanix Kubernetes Platform Administration (NKPA) Course, Section on AWS Cluster Deployment., Nutanix Cloud Native (NCP-CN) 6.10 Study Guide, Chapter on Building NKP Clusters., Nutanix Cloud Bible, NutanixKubernetesPlatform Section: https://www.nutanixbible.com, , , ]