The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
Feedback

In partnership with:
![]()
About the Cisco Validated Design Program
The Cisco Validated Design (CVD) program consists of systems and solutions designed, tested, and documented to facilitate faster, more reliable, and more predictable customer deployments. For more information, go to: http://www.cisco.com/go/designzone.
Executive Summary
We’re at a critical inflection point. The edge has emerged as the place where the physical and digital worlds meet, demanding real-time processing and analysis of data to deliver informed decisions, improved experiences, and increased productivity. However, legacy infrastructure wasn’t built for the AI era and can’t keep up with the scale, speed, and intelligence required by AI-driven operations. While much of the model training happens in the data center, the shift of test-time inference to the edge makes it the new frontier for enterprise AI.
Deploying AI at the edge remains complicated and demanding. Interoperability, security, cost, and rigid deployment models are all potential performance and productivity blockers. The increasing demand for AI and digitization at the edge necessitates a full system rethink, as evolving business needs and the sheer scale highly distributed edge environments and modern AI workloads create a beyond-human complexity nightmare. We need something more than just more boxes; we need a brand-new edge infrastructure and operations vision.
Cisco Unified Edge is an AI-ready system that redefines computing at the edge by converging compute, networking, storage, and security. Designed from the edge up, for the next decade, the modular design is future-ready, energy-efficient, and easy-to-service, and can be tailored to support today’s workloads and use cases, while remaining adaptable to the rapidly evolving AI landscape. Seamless integration with third-party technologies and validated solutions for industry-specific needs ensure both compatibility and optimized performance.
Delivering breakthrough operational simplicity at scale, this software-defined system features centralized cloud management, zero-touch deployment, curated blueprints, and automated orchestration. These capabilities enable high scalability with minimal complexity. End-to-end observability with real-time analytics accelerates error detection and correction, helping minimize service outages. Security is designed-in, with integrated physical and digital safeguards to protect applications and data at the edge while multi-layered security capabilities protect infrastructure, applications, and AI models.
By combining compute, networking, security, and storage into a full stack, AI-ready system, Cisco Unified Edge introduces a fundamentally different infrastructure and operational paradigm for the enterprise edge. Unlike other solutions that may lack critical capabilities or are not optimized for edge use cases, this system offers fully validated solutions that deliver AI-era performance, simplicity, and security.
Benefits
Key benefits are:
● Future-ready performance: Adaptable to meet today and tomorrow's edge workload demands with ease, stopping the rip-and-replace cycle with a fully integrated, modular edge environment built for the next decade. Deploy applications and infrastructure faster and profit sooner with proven solutions that are tested and certified for vertical-specific workloads and use cases, ensuring compatibility and performance.
● Full-scale simplicity: Onboard quickly and with ease without the need for highly skilled IT expertise or on-site visits. Whether deploying ten systems or ten thousand, zero-touch provisioning, curated blueprints and automation ensure consistent, effortless rollout. A consistent operating model from core to edge makes it easy to scale, upgrade, and support your infrastructure.
● Designed-in security: Prevent tampering at the edge with robust physical and digital protection. Proven policy-based templates eliminate configuration drift across sites. Embedded, zero-trust security capabilities ensure unmatched protection for your edge infrastructure, data, and AI models.
The Unified Edge solution addresses the unique challenges of distributed environments by providing a streamlined, container-optimized footprint designed for modern workloads. By deploying the Nutanix Kubernetes Platform (NKP)directly on a bare-metal Ubuntu Linux foundation, organizations can achieve a lightweight and highly efficient architecture tailored for edge computing.
Seamless Infrastructure Management
The Cisco and Nutanix collaboration simplifies global deployment through an integrated workflow. This architecture leverages Cisco Intersight® for the deployment and lifecycle management of physical infrastructure, while Nutanix Prism Central provides centralized oversight of the environment. These platforms are tightly integrated via APIs to establish a seamless, joint cloud-operating model.
Enterprise-Grade Kubernetes at the Edge
To meet the demands of containerized applications, the solution utilizes NKP to deliver a consistent, enterprise-grade Kubernetes experience across distributed sites. Running NKP on Ubuntu Linux offers:
● Optimized Performance: A reduced overhead profile specifically for edge-native applications.
● Zero-Touch Deployment: Accelerated rollouts through automated workflows and secure, cloud-based management.
● Operational Simplicity: Proactive resiliency and a simplified, enhanced solution-support model.
Flexible and Prescriptive Design
This Cisco Validated Design and Deployment Guide provides prescriptive guidance for the design, setup, and configuration of the Unified Edge using Cisco Compute with Nutanix NKP on Ubuntu. In this configuration, nodes are connected to a pair of Top-of-Rack (ToR) switches, while servers and Kubernetes clusters are managed centrally using Cisco Intersight and Nutanix Kubernetes Platform (NKP). This ensures a flexible, resilient, and secure orchestration layer across all remote sites.
Introduction
This chapter contains the following:
● Audience
This Cisco Validated Design (CVD) describes a validated edge architecture that combines Cisco Unified Edge infrastructure with Nutanix Kubernetes Platform running on Canonical Ubuntu Linux bare-metal to support containerized workloads in distributed environments. The design is intended for customers who need a repeatable and operationally efficient platform that can be deployed at remote sites, managed centrally, and scaled from a single node to a small multi-node cluster.
This solution option is part of a range of solution designs captured in the Cisco Unified Edge with Nutanix solutions Design Guide published here: https://www.cisco.com/c/en/us/td/docs/unified_computing/ucs/UCS_CVDs/ cisco_unified_edge_nutanix_nkp_ubuntu_design.html
The intended audience of this document includes but is not limited to IT architects, sales engineers, field consultants, professional services, IT managers, partner engineering, and customers who want to take advantage of an infrastructure built to deliver efficiency and enable innovation. The expected reader is not looking for deep standalone product documentation. Instead, the intended audience needs design-level guidance on how the Cisco and Canonical components fit together as a validated platform.
The purpose of this guide is to provide deployment guidance for Nutanix Kubernetes Platform (NKP) with Ubuntu Linux software on Cisco Unified Edge using Cisco Intersight as the primary management and automation framework. It identifies the relevant platform components, explains how they contribute to the deployment, and highlights the workload patterns most applicable to edge environments.
This document does not attempt to reproduce full hardware data sheets or complete product manuals. Where deeper platform detail is required, the reader should refer to the published Cisco design guide and associated product documentation. Instead, this section focuses on the subset of information necessary to understand the design intent and justify the technology choices used in this document.
Cisco Unified Edge with Nutanix Kubernetes Platform (NKP) on Ubuntu Linux provides an integrated platform for running container-based workloads across many locations. The validated stack combines Cisco compute and connectivity, Intersight-based lifecycle management, Ubuntu Server as the host operating system, and NKP for clustered Kubernetes services at the edge.
From a design perspective, the solution offers several key benefits:
● A consistent deployment model across multiple edge locations
● Support for cloud-native workloads
● Modular scaling from single-node systems to resilient clusters
● Centralized policy-driven operations through Cisco Intersight
● Readiness for AI inferencing and accelerated analytics workloads
The validated deployment patterns in this document can be summarized as follows:
● Single-node Nutanix NKP with Ubuntu Server: A compact and efficient model for running Kubernetes services on a single edge node.
● Multi-node Nutanix NKP with Ubuntu Server: A scale-out design that introduces clustering, distributed services, and improved resilience for workloads that outgrow a single-node footprint. Note that this is a preferred deployment option whenever the infrastructure footprint allows it.
These deployment options allow customers to choose an architecture that matches site-specific requirements without abandoning a common operational model. You can scale-up by adding more resources to the solution or scale-out by adding more Unified Edge instances.
Technology Overview
This chapter contains the following:
● Cisco Unified Edge Management
● Why this Stack Fits AI/ML Edge Workloads
● Positioning for this Document
The validated solution is built on the following core elements:
● Cisco Unified Edge System
● Cisco Intersight
● Canonical Ubuntu Server
● Nutanix Kubernetes Platform (NKP)
● NVIDIA L4 GPU, where AI acceleration is required
Together, these components form a flexible edge platform capable of hosting:
● Kubernetes-based cloud-native workloads
● GPU-accelerated inferencing services
Cisco Unified Edge is part of the Cisco UCS portfolio, but it is tailored for environments where a traditional data center deployment model is not ideal. In this design, the management plane is centered on Cisco Intersight, which provides the control point for policy definition, automation, hardware lifecycle tasks, and repeatable deployment at scale.
This is especially important in edge use cases, where remote locations may not have dedicated IT staff and where operational consistency is often more important than site-specific customization. Intersight makes it possible to apply a uniform configuration model across multiple edge systems and reduce the risk of manual drift.
Cisco Intersight is the infrastructure lifecycle management and automation platform used in this document. Within the context of this solution, its primary role is to simplify the deployment and ongoing management of Cisco Unified Edge systems.
The capabilities most relevant to this guide include:
● Centralized inventory and health visibility
● Policy-based server configuration
● Automation through APIs, templates, and blueprints
● Simplified deployment of consistent configurations across many sites
● Lifecycle management aligned with a repeatable operational model
For customers with additional security or data locality requirements, Cisco also provides on-premises deployment models for Intersight. That detail is secondary to the validated design itself, but it is useful to note that the same operational principles can be preserved across different management deployment models.
The Cisco Unified Edge platform provides the physical infrastructure foundation for the solution. It is designed for locations that need enterprise-grade compute and connectivity but cannot assume the conditions of a full data center. As a result, the platform balances compact form factor, performance, flexibility, and operational simplicity.
For this document, the most relevant platform characteristics are:
● Support for compact, edge-optimized compute
● Local operating system and workload storage
● Integrated management through the edge chassis domain
● Support for redundant connectivity patterns
● Support for GPU acceleration where required
● Suitability for both standalone and clustered deployment models
This chapter establishes why the platform is appropriate for the validated Canonical software stack and the deployment models discussed later in the guide.
When AI inferencing, video analytics, or accelerated data processing is required, the solution can incorporate the NVIDIA L4 Tensor Core GPU. The L4 is particularly relevant to edge environments because it combines strong inferencing performance with a power-efficient and compact form factor.
Within this document, GPU acceleration is relevant for workloads such as:
● Computer vision
● Video stream analysis
● Anomaly detection
● Accelerated AI inferencing
● Data processing pipelines that benefit from parallel execution
The presence of GPU support does not change the architectural model of the guide, but it expands the range of workloads that the platform can host efficiently.
Ubuntu Server
Ubuntu Server is the host operating system used throughout the validated design. It provides a stable and well-supported Linux foundation with strong support for automation, secure package management, modern networking, and long-term support releases suitable for production edge deployments.
Nutanix Kubernetes Platform provides upstream-conformant, production-ready container orchestration platform for application workloads that benefit from Kubernetes-based deployment and lifecycle management. In this document, it is used where cloud-native application packaging, service portability, or Kubernetes-native operating models are required.
This is particularly useful in edge environments that need to combine:
● Modern application delivery methods
● Small-footprint infrastructure
● Centralized observability and lifecycle management
● Fleet management and repeatable deployment across many locations
The value of this solution is not just that it runs Nutanix Kubernetes Platform on Cisco infrastructure. The value is that it presents a validated and repeatable architecture for a class of edge deployments that must support different workload types while remaining manageable at scale.
This document is therefore positioned around a few practical design principles:
● Prefer operational consistency over site-specific customization
● Use a common platform for Kubernetes where possible
● Keep the single-node model simple and efficient
● Introduce clustering only where resilience or scale requires it
● Align infrastructure automation and lifecycle operations with Cisco Intersight
● Automate Kubernetes lifecycle management, observability and container workload management with NKP
These principles keep the design relevant across multiple industries and workload patterns without making it unnecessarily broad.
AI Inferencing at the Edge
AI inferencing at the edge enables data to be processed and acted on close to where it is generated rather than sending everything back to a centralized cloud or data center. This model is valuable where low latency, constrained bandwidth, intermittent connectivity, or data sovereignty requirements make centralized processing less practical.
For this document, the AI focus is on inferencing rather than large-scale model training. The role of the validated infrastructure is to provide a reliable and operationally manageable platform on which inferencing services, analytics pipelines, and adjacent edge applications can run.
Representative Use Cases
The validated stack is broadly applicable to several common edge AI and analytics scenarios:
● Industrial automation and predictive maintenance
Sensor data can be processed locally to detect anomalies, reduce downtime, and support near-real-time operational decisions.
● Retail intelligence and smart store operations
Video analytics and local data processing can improve customer flow analysis, inventory visibility, and store operations without requiring all data to traverse back to a central location.
● Security and surveillance analytics
Local inferencing can support faster threat detection, behavioral analysis, and video-based event recognition with lower latency.
● Healthcare and diagnostic edge processing
Edge-based analytics can support localized review of patient data or imaging workflows while helping reduce data movement and preserving responsiveness.
● Smart agriculture and remote sensing
Distributed systems can analyze camera, drone, or sensor data locally to support time-sensitive decisions in remote locations.
Why this Stack Fits AI/ML Edge Workloads
Cisco Unified Edge with Nutanix Kubernetes Platform (NKP) is well aligned with AI-enabled edge deployments because it combines infrastructure flexibility with an operational model that can support remote and distributed environments. Specifically, the stack offers:
● Low-latency local processing on an edge-optimized compute platform
● Support for GPU acceleration where inferencing performance requires it
● Flexible hosting models for virtual machines, system containers, and Kubernetes workloads
● Centralized lifecycle management through Cisco Intersight & NKP
● A scalable progression from single-node deployments to clustered edge platforms
This makes the design suitable not only for a specific application, but for a broader class of edge solutions that need to combine infrastructure efficiency, remote manageability, and readiness for AI workloads.
This document does not define a complete AI application architecture. It defines the validated infrastructure and software foundation on which AI and analytics applications can be deployed. That distinction is important because it keeps the guide broadly useful across industries while still addressing the infrastructure requirements common to AI-enabled edge deployments.
Solution Deployment
This chapter contains the following:
● Phase 1: Setting up the Infrastructure
● Automated Cisco UCS / Intersight Server Bring-Up
● Phase 2: Building NKP Workload Clusters
This solution provides a fully automated, scalable, and high-availability edge infrastructure built on Nutanix NKP and Ubuntu Linux, optimized for deployment on Cisco Unified Edge / Intersight-managed servers. It enables seamless provisioning, containerization, orchestration, and distributed storage for modern edge workloads.
The design combines:
● Policy based server configuration
● Automated OS provisioning
● Automated Nutanix Kubernetes Platform (NKP) provisioning
● Kubernetes orchestration
● Local and Distributed storage
● High availability and live migration
Design Objectives
● Enable zero-touch provisioning using Cisco Intersight and Nutanix Kubernetes Platform
● Support cloud-native workloads with Kubernetes
● Ensure high availability and reliability
● Optimize for edge constraints (latency, bandwidth, footprint)
● Allow flexible deployment models (standalone > full HA cluster)
Storage Layer
● Ceph-backed distributed storage and TopoLVM for single node clusters
● Block storage (RBD)
● Object storage (RGW)
● Shared filesystem (CephFS)
● Highly resilient and scalable storage for edge workloads
Container & Orchestration Layer
● Single-node NKP Workload clusters
● Multi-node NKP Workload clusters
● Supports cloud-native and AI workloads
High Availability Design
● Kubernetes Cluster HA using kube-vip
● Workload mobility using Velero
● Multi-node redundancy (3-node minimum required)
Edge Deployment Considerations
● Low Latency: Local processing at edge nodes
● Offline Capability: Operates with intermittent connectivity
● Scalability: Add nodes dynamically
● Security: On-prem data processing
Key Capabilities
● Zero-touch infrastructure provisioning
● Unified compute + storage + orchestration stack
● High availability across edge nodes
● Seamless workload mobility
● Production-ready Kubernetes at the edge
The Cisco Unified Edge with Nutanix NKP solution provides an integrated architecture with Cisco and Nutanix technologies that demonstrate support for Kubernetes workloads with high availability and server redundancy.
Figure 1 illustrates a sample design with the required management components, like Intersight Assist or Nutanix, installed outside of the solution stack.

This section outlines the key design requirements and prerequisites necessary for delivering the Cisco Unified Edge with Nutanix Kubernetes Platform solution.
The solution is designed to support a range of deployment models, scalability levels, and operational use cases at the edge providing flexibility, resiliency, and simplified lifecycle management.
The following are the general design requirements for this solution:
Note: This deployment model does not include integrated high availability (HA) at either the hardware or software layer.
● NKP Management Cluster
◦ This provides Kubernetes Fleet Management capabilities (Cluster Lifecycle Management, Centralized Observability, Centralized Policy Management and Centralized Workload Management etc.) for NKP Workload Clusters. An NKP Management cluster that can access the NKP Workload Clusters at the Edge is a prerequisite for Fleet Management capabilities. There are various choices to host an NKP Management Cluster including on-premise to popular public clouds. Deployment of a NKP Management Cluster is not covered in this document. A Self Managed NKP Workload Cluster can be used in scenarios where this is not possible. Refer to the official NKP documentation for more details on these options.
● Single-Node NKP Workload Cluster
◦ Offers a minimal, single-node Kubernetes environment (for example, Canonical Kubernetes / MicroK8s) for container orchestration at the edge.
◦ Suitable for small-scale edge applications, local AI inference, and test or pilot environments where workload resiliency and high-availability are not key.
● Multi-Node Nutanix NKP Workload Cluster
◦ Enables a scalable and resilient multi-node architecture supporting cloud-native workloads.
◦ Designed for high availability and fault tolerance with no single point of failure across the infrastructure layers.
◦ Allows horizontal scalability by adding compute or storage nodes on demand as workload or business requirements evolve.
This Cisco Unified Edge solution comes as an integrated stack with compute, storage and network and is connected to an external network domain. The compute nodes are configured to install the Ubuntu Server operating system on the local M.2 storage protected with RAID1. The persistent storage for containers is provisioned on the local E3.s NVMe storage devices. The Unified Edge system is managed through Cisco Intersight Infrastructure Manager (IMM).
A typical topology for the Unified Edge based solution is shown in Figure 2.

As the key components to deploy the solution are inside the Unified Edge chassis itself, there are some decisions to make regarding the connectivity to the external network:
● Both Edge Chassis Management Controller must be connected with their management network port to a network reaching the Intersight.com.
● Both Edge Chassis Management Controller must be connected with port 1 or both ports to the network for data traffic.
● Both network devices on the UCS-XE130e compute node should be used with the same vSwitch / bond as uplink to provide high-availability.
● Canonical Ubuntu and Nutanix Kubernetes Platform Workload Clusters will be installed on Cisco Unified Edge Compute Nodes with local disks.
● A Software Defined Storage option, like Ceph (for distributed storage) and TopoLVM (for single node non-distributed storage), must be used to create a multi-node storage platform for containers, and data.
● If NKP Management Cluster is being used then there should be two-way connectivity to that from the NKP Workload Clusters
● If the environment is not airgapped then there should be connectivity to container registries, helm repositories and standard OS package repositories. Use NKP air-gapped deployment option where this is not possible.
Connectivity Inside the Chassis
The Cisco UCSXE-9305 chassis in this design is populated with up to five Cisco UCSXE servers. Each server is equipped with two 25-Gbps NICs connected to the midplane. One NIC connects to the embedded 25-Gbps switch on the first ECMC controller, and the second NIC connects to the embedded 25-Gbps switch on the second ECMC controller.

Ubuntu can configure the two NICs either as independent interfaces or combine them into a single bonded interface:
● When used independently, the server provides an aggregated bandwidth of 50 Gbps to the chassis.
● For bonded configurations, Active-Backup mode is recommended to ensure high availability and simpler failover behavior.

Ubuntu supports bonding through Netplan, and Active-Backup (mode=1) is the recommended option. This mode ensures:
● Simplified redundancy without switch-side link aggregation.
● Predictable network traffic behavior.
● Automatic failover when a link becomes unavailable.
For consistent traffic distribution across servers, the primary link interface should be set to point to the same ECMC on all servers. This keeps Layer-2 traffic within the chassis and reduces unnecessary external switching.

VLAN Configuration
Table 1 lists the VLANs which can be used for setting up the solutions along with their usage. As the bare minimum one VLAN-ID must be specified inside Cisco Unified Edge for internal communication and mapped as Native-VLAN to allow network traffic to the next-hop switch without VLAN tagging. The list in only an example and some of the VLANs are used in the deployment guide(s) based on this design document.
If no VLAN ID is used in the local network, set the Native-VLAN ID to any number between 4 and 4000 and define the IB-Management VLAN with the same ID.
| VLAN ID |
Name |
Usage |
| 5 |
Native-VLAN |
Use VLAN 5 as native VLAN instead of default VLAN (1). |
| 1320 |
OOB-MGMT-VLAN |
Out-of-band management VLAN to connect management ports for various devices. |
| 1321 |
IB-MGMT-VLAN |
In-band management VLAN utilized for all in-band management connectivity - for example, Linux hosts, management tools, and so on. |
| Optional VLANs |
||
| 1322 |
DATA-VLAN |
Data traffic VLAN for bare-metal applications, virtual machines, and containers. |
| 1323 |
VM-VLAN |
Data traffic VLAN from/to Virtual Machines. |
| 1324 |
CONTAINER-VLAN |
Data traffic VLAN from/to containers. |
| 3030 |
CLOCK-VLAN |
Clock synchronization VLAN for manufacturing applications. |
| 3040 |
APP1-VLAN |
Dedicated VLAN for Application 1 Use-case, such as App to DB traffic. |
| 3050 |
APP2-VLAN |
Dedicated VLAN for Application 2 Use-case, such as Sensor to App traffic. |
| 3999 |
GUEST-VLAN |
VLAN ID for guests or Hotspot WiFi. |
Some of the key highlights of VLAN usage are as follows:
● VLAN 1320 allows you to manage and access out-of-band management interfaces of various devices and is brought into the infrastructure to allow IMC access to the Unified Edge eCMC or Catalyst devices and is also available to infrastructure virtual machines (VMs). Interfaces in this VLAN are configured with MTU 1500.
● VLAN 1321 is used for in-band management of VMs, hosts, and other infrastructure services. This VLAN is also required to use vMedia policy and CIMC-Mounted ISO images inside Unified Edge. Interfaces in this VLAN are configured with MTU 1500.
● VLAN 1322 is the default VLAN used to access applications, use-cases, and traditional data traffic. Interfaces in this VLAN are configured with MTU1500.
● VLAN 1323 is used to access applications, use-cases, and traditional data traffic deployed on virtual machines. Interfaces in this VLAN are configured with MTU1500.
● VLAN 1324 is used to access applications, use-cases, and traditional data traffic deployed in containers. Interfaces in this VLAN are configured with MTU1500.
● VLAN 3030 is used to by Industrial Edge applications to synchronize the clock and time information for critical command traffic. Interfaces in this VLAN are configured with MTU1500.
● VLAN 3040 is used to access a specific application or use-case like application to database traffic for a multi-tier application. Interfaces in this VLAN are configured with MTU1500.
● VLAN 3050 is used to access a specific application or use-case like data traffic from sensors to the data collector application. Interfaces in this VLAN are configured with MTU1500.
● VLAN 3999 is used for Guest access to the internet. Interfaces in this VLAN are configured with MTU1500.
Physical Components
The list of the required hardware components used to build a validated solution contains the Cisco Unified Edge components and the used network domain, see Table 2. You are encouraged to review their requirements and adjust the size or quantity of various components as needed.
Table 2. Unified Edge with Network Domain hardware components
| Component |
Hardware |
Comments |
| Cisco Unified Edge Chassis with two eCMCs |
Cisco UCS-XE 9305 Chassis with two eCMC |
The Unified Edge Chassis with the eCMC is the core of the solution design. |
| Cisco Unified Edge Compute nodes |
One to five Cisco UCS-XE130c compute nodes |
Your requirements will determine the amount of compute nodes required to build the solution. |
| Cisco Meraki Network Domain |
One or two Meraki Switches (MS). One or two Meraki Appliances (MX). |
Your requirements will determine the switch model and the amount of network ports and network speed required to build the solution. At least one Meraki MX device is required to remote locations to access the internet or the corporate network. |
| Cisco Catalyst Network Domain |
One or two Cisco Catalyst 9000 series Switches. One or two Cisco Catalyst 8000 series routers. |
Your requirements will determine the switch model and the amount of network ports and network speed required to build the solution. At least one Catalyst router is required to remote locations to access the internet or the corporate network. |
| Management Cluster |
||
| Hosted at a central place like the core data center. |
A minimum of two Cisco UCS servers to host components like DNS, Intersight Assist, Nutanix Foundation, Nutanix Central, and others. |
To reduce the number of physical servers the use of a supported virtualization software like KVM is recommended. |
Software Components
Table 3 lists various software components used in the solution.
Table 3. Software components and versions
| Component |
Version |
| Cisco Unified Edge Firmware Package |
6.0(1) |
| Cisco Catalyst 8000 |
IOS-XE |
| Cisco Catalyst 9000 |
IOS-XE |
| Cisco Meraki MX |
MX 18.211.6 |
| Cisco Meraki MS |
CS 17.2.2 |
| Canonical Ubuntu Server |
24.04.4 LTS |
| Nutanix NKP |
2.17.1 |
The Cisco Unified Edge with Nutanix NKP solution provides a flexible and automated deployment architecture designed to support a wide range of edge computing scenarios. All infrastructure deployments are automated through Cisco Intersight using Blueprints or custom workflows and all the Kubernetes management is done using Nutanix Kubernetes Platform, ensuring consistent configuration, simplified operations, observability and lifecycle management.
The logical configuration of the Cisco Unified Edge system may vary depending on the intended workload and solution architecture. For example:
● Deploying three standalone single-node NKP servers running independent workloads does not require a performant network for storage replication.
● Conversely, deploying a three-node NKP cluster benefits from a reliable high-speed network to optimize data synchronization, fault tolerance, and performance
This flexible design approach ensures that the Cisco Unified Edge platform can be optimized for a variety of edge computing use cases from lightweight single-node deployments to robust, clustered multi-node environments with full redundancy and high availability.
The NKP Cluster build is split into two phases:
1. Phase 1- Setting up the infrastructure: This involves setting up the bare-metal servers that will serve as Kubernetes nodes, with the Operating System (Canonical Ubuntu 24.04.4 LTS) with a VLAN and storage for Kubernetes, and a user with password less sudo access.
2. Phase 2 - Building NKP Workload Clusters: In this phase the infrastructure deployed in the last phase will be used to build a NKP workload cluster using the NKP pre-provisioned provider.
Phase 1: Setting up the Infrastructure
Ubuntu Server Autoinstall (cloud-init) with Edge-Ready Configuration
This section provides the configuration details.
This approach uses Ubuntu autoinstall with cloud-init to automate operating system provisioning and prepare the system for edge workloads.
#cloud-config
autoinstall:
version: 1
locale: "en_US.UTF-8"
keyboard:
layout: "us"
timezone: "America/New_York"
identity:
username: ubuntu
password: '$6$i/REi5fWaSjGrsnV$mhhLzI1W.jkaIukN/NoyR3A………'
hostname: ue130m8-01
ssh:
install-server: true
allow-pw: true
authorized-keys:
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICeiOxK1JvRROEzS4rmgYWnh…… admin@linux
refresh-installer:
update: false
apt:
preserve_sources_list: true
source:
id: ubuntu-server
shutdown: reboot
storage:
layout:
name: lvm
policy: all
match:
size: smallest
ssh: true
early-commands:
- pvcreate -y /dev/nvme0n1
- vgcreate -y nkp /dev/nvme0n1
network:
version: 2
ethernets:
eno1np0:
dhcp4: false
eno2np1:
dhcp4: false
bonds:
bond0:
interfaces:
- eno1np0
- eno2np1
parameters:
mode: active-backup
primary: eno1np0
mii-monitor-interval: 100
vlans:
bond0.1401:
id: 1401
link: bond0
addresses:
- 10.140.1.121/24
bond0.1404:
id: 1404
link: bond0
addresses:
- 10.140.4.121/24
routes:
- to: default
via: 10.140.4.254
nameservers:
addresses:
- 192.168.160.53
- 192.168.160.54
user-data:
package_update: true
packages:
- ipmitool
- neofetch
- open-iscsi
- nfs-common
- curl
- jq
- ca-certificates
- gnupg
users:
- name: avatar
passwd: '$6$qSFsqJ0rK1i85cVy$/SDQcU/……'
lock_passwd: false
shell: /bin/bash
groups: [adm,sudo]
ssh_authorized_keys:
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJIqRRVqWUez90E6RBVE4NZ6…… avatar@linux
write_files:
- path: /etc/modules-load.d/k8s.conf
permissions: "0644"
content: |
overlay
br_netfilter
- path: /etc/sysctl.d/99-kubernetes.conf
permissions: "0644"
content: |
net.bridge.bridge-nf-call-iptables = 1
net.bridge.bridge-nf-call-ip6tables = 1
net.ipv4.ip_forward = 1
late-commands:
# OS tuning
- curtin in-target -- sysctl -w net.ipv4.ip_forward=1
- curtin in-target -- sysctl -w net.bridge.bridge-nf-call-iptables=1
- curtin in-target -- modprobe overlay
- curtin in-target -- modprobe br_netfilter
- curtin in-target -- systemctl enable --now iscsid
- curtin in-target -- systemctl disable --now ufw || true
- curtin in-target -- swapoff -a
- curtin in-target -- sed -ri 's@^([^#].*\sswap\s+.*)$@# \1@' /etc/fstab
- curtin in-target –- echo "%sudo ALL=(ALL:ALL) NOPASSWD:ALL" > /etc/sudoers.d/99-sudo-nopasswd
# Disable apt timers (correct way)
- curtin in-target -- systemctl disable apt-daily.timer
- curtin in-target -- systemctl disable apt-daily-upgrade.timer
- curtin in-target -- systemctl stop apt-daily.timer
- curtin in-target -- systemctl stop apt-daily-upgrade.timer
- echo "Applied late commands" >> /tmp/log1
- OS_INSTALL_COMPLETED_STATUS_PLACEHOLDER
- sudo systemctl start ssh
The following is an explanation of the configuration applied by this cloud-config:
1. Disk Partitioning (boot, root, data)
Disk partitioning is defined in the autoinstall configuration to separate system and workload data.
Desired Layout
● /boot – Boot partition
● / – Root filesystem
● /data – Dedicated data partition for containers and workloads
Example Storage Configuration
storage:
layout:
name: lvm
policy: all
match:
size: smallest
ssh: true
early-commands:
- pvcreate -y /dev/nvme0n1
- vgcreate -y nkp /dev/nvme0n1
2. OS Initialization (Timezone, Locale)
System initialization parameters are defined to ensure consistency across edge locations:
locale: en_US.UTF-8
timezone: America/New_York
3. Hostname Configuration
Each node is assigned a unique hostname to support identification in clustered deployments:
identity:
hostname: ue130m8-01
4. User Creation and Sudo Access
An administrative user is created during installation and granted sudo privileges:
identity:
username: ubuntu
password: "$6$REDACTED_HASH"
Ubuntu automatically assigns sudo access to the primary user created during installation.
5. SSH Key–Based Access
Secure remote access is enabled using SSH public keys:
ssh:
install-server: true
authorized-keys:
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQD...
Password-based SSH login can be disabled post-installation if required.
6. Network Interface Configuration
Network interfaces are configured using Netplan. Basic IP addressing can be applied during autoinstall or left for post-install configuration:
network:
version: 2
ethernets:
eno1:
dhcp4: true
7. Bond and VLAN Basics
Creating Active-Passive bond with two interfaces and VLAN interfaces on top to logically separate traffic:
network:
version: 2
ethernets:
eno1np0:
dhcp4: false
eno2np1:
dhcp4: false
bonds:
bond0:
interfaces:
- eno1np0
- eno2np1
parameters:
mode: active-backup
primary: eno1np0
mii-monitor-interval: 100
vlans:
bond0.1401:
id: 1401
link: bond0
addresses:
- 10.140.1.121/24
bond0.1404:
id: 1404
link: bond0
addresses:
- 10.140.4.121/24
routes:
- to: default
via: 10.140.4.254
nameservers:
addresses:
- 192.168.160.53
- 192.168.160.54
This configuration supports management, application, and storage traffic isolation.
8. Ubuntu Tuning & Optimization for Edge Workloads
Basic OS tuning is applied during post-installation to optimize the system for edge use cases.
Example Late Commands
late-commands:
- curtin in-target -- systemctl disable apt-daily.service
- curtin in-target -- systemctl disable apt-daily-upgrade.service
- curtin in-target -- sysctl -w net.ipv4.ip_forward=1
- curtin in-target -- sysctl -w net.bridge.bridge-nf-call-iptables=1
These settings improve system stability, networking behavior, and readiness for container and Kubernetes workloads.
9. Installing NKP and Container Prerequisites
Nutanix NKP and container prerequisites are installed as post-installation steps:
late-commands:
- curtin in-target -- modprobe overlay
- curtin in-target -- modprobe br_netfilter
- curtin in-target -- systemctl enable --now iscsid
- curtin in-target -- systemctl disable --now ufw || true
- curtin in-target -- swapoff -a
- curtin in-target -- sed -ri 's@^([^#].*\sswap\s+.*)$@# \1@' /etc/fstab
- curtin in-target –- echo "%sudo ALL=(ALL:ALL) NOPASSWD:ALL" > /etc/sudoers.d/99-sudo-nopasswd
Kubernetes itself is installed after the operating system boots to maintain a clean separation between OS and platform layers.
10. Intersight Workflow hook
To let Intersight know that the installation is finished, those two lines are required:
late-commands:
- echo "Applied late commands" >> /tmp/log1
- OS_INSTALL_COMPLETED_STATUS_PLACEHOLDER
Automated Cisco UCS / Intersight Server Bring-Up
This section describes an automated approach to provisioning Cisco Unified Edge servers using Cisco Intersight, including:
● Policy creation
● Server profile deployment
● Unattended Ubuntu OS installation
The solution uses a small set of scripts and a centralized variables file to ensure consistent, repeatable infrastructure deployment without relying on manual GUI workflows.
Automate end-to-end server provisioning—from infrastructure policies to OS installation—using a single variables file and reusable scripts, eliminating repetitive manual configuration in the Intersight UI.
Why this matters
Think of Cisco Intersight as the control plane for your entire server fleet.
Traditionally, administrators manually create:
● Policies (network, boot, storage)
● Pools (IP, MAC, UUID)
● Server profiles
● OS installation workflows
This approach replaces manual steps with:
● Infrastructure-as-Code (IaC) principles
● Centralized configuration (variables file)
● Repeatable automation scripts
Result
● Faster deployments
● Consistent configurations
● Reduced human error
● Easier audits and reviews
Daily workflow
After initial setup, day-to-day operations are minimal:
● Edit one variable file
● Optionally update per-server YAML files
● Run one script for infrastructure
● Run one script for OS installation
Where complexity exists
Initial setup requires understanding:
● VLANs, gateways, and IP addressing
● NIC naming as seen by Ubuntu (for example, eno1np0)
● Intersight policies and resource groups
● Secure handling of API keys and credentials
Solution Components
Table 4 lists the high-level structure for the artifact and role. You can download the files from UCS Solution git repository and adopt the content for your needs. For repository information, see UE_Ubuntu_Solutions.
| Artifact |
Role |
| intersight_deploy_validate_vars.txt |
Central configuration (single source of truth) |
| intersight_deploy_validate.sh |
Creates policies, templates, and server profiles |
| intersight_os_install.sh |
Automates OS installation workflows |
| intersight_policy_reconcile.sh |
Detects and optionally fixes configuration drift |
| intersight_cleanup_strict.sh |
Safely removes all objects created in the org |
| ubuntu-24.04.4-server*.yaml |
Per-server unattended OS install configs |
Key Design Principle
All infrastructure design decisions are encoded once in:
● variables file > infrastructure configuration
● YAML files > OS-level configuration
This separation ensures:
● Clean abstraction
● Easier debugging
● Reusable infrastructure templates
Prerequisites
Platform Requirements
● Cisco Intersight account with required permissions
● Target organization and resource group configured
● Cisco UCS servers claimed and visible
System Requirements (Automation Host)
● bash
● isctl (Intersight CLI), https://developer.cisco.com/codeexchange/github/repo/cgascoig/isctl
● jq
● Network connectivity to Intersight API
Security Requirements
● API key stored securely (referenced via SECRET_KEY_PATH)
● Key file must never be committed to source control
Infrastructure Requirements
● Available unassigned servers
● Reachable Ubuntu ISO URL (for vMedia boot)
● Defined VLAN and IP addressing scheme
End-to-End Deployment Workflow
This section details the end-to-end deployment workflow process.
Phase A – Configuration
Step 1: Configure Variables File
Edit:
intersight_deploy_validate_vars.txt
Set:
● ORG_NAME: Organization name
● RESOURCE_GROUP_NAME: Resource group
● SECRET_KEY_PATH: API key path
● SERVER_PROFILE_COUNT: Number of server profiles (1–5)
● PREFIX: Name prefix for polices, pools, and profiles.
● VLANs, IP ranges, MAC pools
● Boot policy and vMedia ISO
Step 2: Configure Per-Server YAML
Use the information from this document and update the files to deploy Ubuntu Linux prepared for Nutanix NKP.
Edit:
ubuntu-24.04.4-server1.yaml
...
ubuntu-24.04.4-server5.yaml
Define per server:
● hostname
● bonding configuration
● VLAN IPs
● DNS and routes
Note: Ensure the NIC names match actual system interfaces.
Phase B – Infrastructure Deployment
Run:
chmod +x intersight_deploy_validate.sh
./intersight_deploy_validate.sh intersight_deploy_validate_vars.txt /path/to/SecretKey.txt
Expected outcome:
● Policies created
● Pools configured
● Profile template created
● Server profiles deployed and activated
● Validation checks completed
● Servers are ready for OS installation
Phase C – Operating System Installation
Run:
● chmod +x intersight_os_install.sh
● ./intersight_os_install.sh intersight_deploy_validate_vars.txt /path/to/SecretKey.txt
Expected Outcome:
● OS configuration files uploaded
● Installation workflows triggered
● Progress monitored automatically
● Ubuntu installed with predefined configuration
Optional – Drift Detection
./intersight_policy_reconcile.sh vars.txt key.txt
Ensures configuration consistency.
Optional – Cleanup (Lab Environments)
./intersight_cleanup_strict.sh vars.txt key.txt
Removes all objects created within the organization.
Logical Architecture
Figure 6 illustrates the logical architecture flow.

Benefits of this approach
Operational Advantages
● Repeatable deployments across environments
● Infrastructure as Code alignment
● Parallel provisioning and activation
● Reduced manual effort
● Faster time to deployment
Design Advantages
● Separation of infrastructure and OS logic
● Centralized configuration management
● Easy scaling (1 to N servers)
● Controlled lifecycle (deploy > validate > install > cleanup)
Security Considerations
● Store API keys and credentials outside version control
● Use environment variables or secret management systems (Vault, and so on)
● Rotate credentials regularly
● Restrict access to scripts that modify or delete infrastructure
● Audit usage of automation scripts
Ease of Adoption - CVD Positioning
Strengths
● Highly repeatable and consistent
● Fully automates day-0 provisioning
● Aligns with enterprise IaC practices
● Supports parallel server provisioning
● Clean separation of responsibilities
Considerations
● Requires correct initial network design
● Depends on Intersight API and CLI setup
● YAML must match real hardware interfaces
● Secrets must be managed securely
Summary
This automation framework enables end-to-end server provisioning using Cisco Intersight, combining:
● Infrastructure automation
● Profile-based deployment
● Unattended OS installation
The result is a scalable, repeatable, and enterprise-ready edge deployment model that significantly reduces manual effort while improving consistency and reliability.
Deployment Validation in the Intersight UI
The procedure above will create all the necessary pools, policies, templates, and profiles in Cisco Intersight required to deploy Nutanix NKP. To validate the configuration and to simplify troubleshooting if you experience and issue with the deployment here are the key information in the Intersight UI to check.
Unified Edge Profile
In the Unified Edge Profile there are some key elements to check that the configuration matches the requirements for the solution.

The first is the VLAN Configuration - Are all the required VLAN IDs listed and is the Native VLAN ID set correct. Only this list of VLAN IDs will be configured on the L2 switch inside the ECMC to allow traffic inside the chassis and up the next-hop network devices. In this example, there is no Native VLAN ID configured. It is recommended to use the same VLAN configuration on both ECMC.

The next configuration to check is the Port configuration. In this example only port 1 is used as Ethernet Uplink.

There are three settings in the Switch Configuration view which are of interest.

The System QoS policy is used to configure COS settings for the Unified Edge Platform which must match the settings off the network at the location of deployment. In this example there are no COS settings defined, and every traffic will use Best Effort.

The NTP and Network Connectivity settings are optional but could be of interest if FQDN and time-based services will be deployed on Unified Edge. The DNS server for the Unified Edge system is configured in the Network Connectivity policy.

And the time zone and NTP server are configured in the NTP policy. Both settings can help in troubleshooting situations.

Server Profiles
The server profiles are based on a Server Profile Template with some Policies of interest.

The first policy is the Boot Order with the setting to use the M.2 RAID first and a mapped ISO image as second.

The next policy, and potentially the most important one, is the IMC Access Policy. In this policy the VLAN ID for the In-Band Management network is set and must match an existing and used VLAN ID. Without this setting the OS installation and KVM Console connection does not work.

The credentials to access the virtual KVM without using Intersight are defined in the Local User policy.

Another important policy is the Storage Policy to define how the local M.2 storage is used. In this example a RAID1 on both M.2 devices (MSTOR-RAID-1 and MSTOR-RAID-2) is defined.

And finally, the LAN Connectivity Policy which is used with Unified Edge to configure the server port on the ECMC switches. One vNIC per Switch ID (ECMC) is required to allow traffic on both fabrics.

Besides the Switch ID the Ethernet Network Group is important to configure per vNIC. In case the recommended bonding/vSwitch configuration on the operating system layer is used, the same policy is used for both vNICs. To allow different VLANs on ECMC-A vs ECMC-B, two Ethernet Network Group policies are required.

The Ethernet Network Group specifies the allowed VLAN IDs on the server port of the ECMC. In this example four VLAN IDs are configured and none is set ad default.
Note: Without a native VLAN ID configured, it is required to configure VLAN interfaces on the operating system level to allow network communication.

Post-Installation Validation (Test First)
After the system boots, validate the desired state:
lsb_release -a
df -h
ip addr
hostname -i
Successful validation confirms the system is ready for Nutanix Kubernetes Platform deployment.
Phase 2: Building NKP Workload Clusters
Nutanix Kubernetes Platform Deployment on Ubuntu Linux
This section describes the deployment of Nutanix Kubernetes Platform on Cisco Unified Edge systems running Ubuntu Server 24.04.4 LTS for edge workloads such as AI inference pipelines, IoT data processing, retail analytics, and distributed microservices.
Architecture Characteristics
The Kubernetes deployment architecture validated in this design provides the following capabilities:
Option 1: NKP Management Cluster Managed NKP Workload Clusters
In this case the NKP Management Cluster with NKP Ultimate License provides fleet management capabilities like:
● Cluster Lifecycle Management (using Kubernetes Cluster API)
● Single Pane of Glass Dashboard to view all Workload Clusters
● Centralized Observability
● Centralized Application Deployments (powered by FluxCD)
● Centralized Policy Management (RBAC, Network Policies, Quotas & Limits, and so on)
● Centralized Authentication
The Management Cluster could be deployed in the Main or Regional Datacenter close to the edge location and it could be running on Nutanix Infrastructure, Public Cloud or another Infrastructure provider supported by NKP.

Option 2: Self Managed NKP Workload Clusters
In this case there is no central management, and each cluster manages its own lifecycle. A bootstrap Kind (Kubernetes in Docker) cluster is created to deploy the cluster using Cluster API (the bootstrap works as an clusters API Management Cluster) after which the lifecycle ownership is moved to the Workload cluster and the bootstrap cluster is deleted. The capabilities in this case would be:
● Self Managed Cluster
● Local Observability
● Local Application Deployments
● Local Authentication
● Local Policy Management
● Can be completely air-gapped/isolated as it does not require connectivity to the management cluster

Architectural Limitations
● There is currently no upgrade for a single node cluster created using CAPI.
● There is no HA built into a single node cluster
● There is no internal object store in a single node cluster. So single node clusters must depend on an external S3 compatible object store for storing Velero backups and for Loki for logging. For three node clusters it is ideal to store the backups externally as well, but an internal object store is automatically available via rook-ceph.
Before deploying these prerequisites must be satisfied:
● Bare-metal Servers with Canonical Ubuntu 24.04 deployed with a user having passwordless sudo access via ssh keys.
● All servers should have their clock synced.
● CLIs: nkp, kubectl, helm, yq.
● Either an already running NKP Management Cluster or a jump box with Docker container engine version 27.4.0 installed on it with the above CLIs.
● External S3 storage if there is a requirement to store Velero backups externally.
● It is a best practice to use a local container image registry. If using NKP Management Cluster, a Harbor registry can be deployed from NKP Catalog and can be used by Workload Clusters. If not then use an existing registry or deploy one using the preferred method. The registry being used should be populated with the images required by NKP by following the steps in the NKP documentation.
Note: See the NKP Official document for more details on the prerequisites.
System Requirements
The following system resources are minimum recommended for stable Kubernetes operation.
Note: These could vary depending on the workload being run on the cluster. For example, if a workload requires large Persistent Volumes then the storage allocated to the raw disk allocated for TopoLVM or rook-ceph cluster would have to be larger. Same applies to other resources like CPU, Memory and optionally GPUs.
| Resource |
Recommended |
| CPU |
4 cores |
| Memory |
16 GB |
| Storage |
100 GB (OS) 200 GB(Raw storage for k8s PVs). While these are minimal requirements. In this document a 1.7TB NVMe disk available on each node is used for k8s PVs. |
| Network |
Static IP configuration for hosts and 3 additional VIPs in the same subnet for CP LoadBalancing (Kube-VIP) and k8s LB Services (MetalLB). |
These resource allocations ensure that the host system can support both infrastructure services and Kubernetes’ workloads.
IP Address requirements:
● If a NKP Workload cluster is being built from the NKP Management cluster, it requires unique IP Addresses on the edge nodes to communicate with them for the deployment. If the Workload cluster is a self managed NKP cluster then this condition does not apply unless another external system needs to reach this cluster and requires the IP to be unique. As a best practice keep the IPs unique.
● 3 VIPs reserved in the same subnet as the Server.
● One for Control Plane (This should also be used for a single node cluster to provide a path to scale up to three nodes in the future)
● At least 2 for Kubernetes service of type LoadBalancer. One will be used by Traefik ingress service and the second one reserved for components like Envoy Proxy in case NAI (Nutanix AI) is being deployed to the cluster. If the environment allows it, reserve a few extra for future requirements. Note that additional IPs can also be added directly to a cluster at a later time.
Software Requirements
The following components must be installed and configured prior to NKP deployment:
● Ubuntu Server 24.04.4 LTS (the configuration is described in the last sections)
NKP Management Cluster Configuration
If NKP Management Cluster is being used to create the Workload Clusters then NKP Management Cluster should already have a Workspace created where this cluster will be deployed to.
For 3+ node clusters, enable rook-ceph and rook-ceph-cluster Applications in the workspace that was created, with the following overrides, respectively.
Note: Applications can be explicitly disabled on individual clusters in a NKP Workspace.
rook-ceph
csi:
rookUseCsiOperator: false
disableCsiDriver: "false"
enableRbdDriver: true
enableCephfsDriver: true
enableCSIHostNetwork: false
enableCephfsSnapshotter: true
enableNFSSnapshotter: false
enableRBDSnapshotter: false
enableCSIEncryption: false
rbdFSGroupPolicy: ReadWriteOnceWithFSType
rook-ceph-cluster
Note: Run the following to generate the config with environment variables substituted and then use that output to set in the overrides
export CLUSTER_NAMESPACE=<workspace_namespace> #This will be “kommander” for a self-managed cluster
cat <<EOF > /dev/stdout
cephClusterSpec:
placement:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchExpressions:
- key: app
operator: In
values:
- rook-ceph-mds
- rook-ceph-mgr
topologyKey: kubernetes.io/hostname
storage:
storageClassDeviceSets:
- name: rook-ceph-osd-set1
count: 3
portable: false
encrypted: false
volumeClaimTemplates:
- metadata:
name: data
spec:
resources:
requests:
storage: 900Gi # This should be more than half of the total storage provided by TopoLVM on a host to prevent storage getting allocated on same host
volumeMode: Block
accessModes:
- ReadWriteOnce
cephFileSystems:
- name: ceph-filesystem
spec:
metadataPool:
failureDomain: host
replicated:
size: 3
dataPools:
- failureDomain: host
replicated:
size: 3
name: data0
metadataServer:
activeCount: 1
activeStandby: true
resources:
limits:
cpu: "2000m"
memory: "8Gi"
requests:
cpu: "2000m"
memory: "8Gi"
priorityClassName: system-cluster-critical
storageClass:
enabled: true
isDefault: false
name: ceph-filesystem
reclaimPolicy: Delete
allowVolumeExpansion: true
mountOptions: []
parameters:
csi.storage.k8s.io/provisioner-secret-name: rook-csi-cephfs-provisioner
csi.storage.k8s.io/provisioner-secret-namespace: "${CLUSTER_NAMESPACE}"
csi.storage.k8s.io/controller-expand-secret-name: rook-csi-cephfs-provisioner
csi.storage.k8s.io/controller-expand-secret-namespace: "${CLUSTER_NAMESPACE}"
csi.storage.k8s.io/node-stage-secret-name: rook-csi-cephfs-node
csi.storage.k8s.io/node-stage-secret-namespace: "${CLUSTER_NAMESPACE}"
EOF
The following are example screenshots:



For a NKP Management Cluster Managed 3 node Workload cluster, if absolutely required, there is an option to deploy with rook-ceph as the only CSI and as the default storage class. In this case, the NVMe disk will be used directly as the OSD by rook-ceph and should be in an unused and unformatted state. Set the storage.storageClassDeviceSets, mon and cephFileSystems sections as shown below to deploy in this configuration:
cat <<EOF > /dev/stdout
cephClusterSpec:
mon:
allowMultiplePerNode: false
count: 3
volumeClaimTemplate: null
storage:
storageClassDeviceSets: []
useAllNodes: true
useAllDevices: true
cephFileSystems:
- name: ceph-filesystem
spec:
metadataPool:
replicated:
size: 3
dataPools:
- failureDomain: host
replicated:
size: 3
name: data0
metadataServer:
activeCount: 1
activeStandby: true
resources:
limits:
cpu: "2000m"
memory: "8Gi"
requests:
cpu: "2000m"
memory: "8Gi"
priorityClassName: system-cluster-critical
storageClass:
enabled: true
isDefault: true
name: ceph-filesystem
reclaimPolicy: Delete
allowVolumeExpansion: true
mountOptions: []
parameters:
csi.storage.k8s.io/provisioner-secret-name: rook-csi-cephfs-provisioner
csi.storage.k8s.io/provisioner-secret-namespace: "${CLUSTER_NAMESPACE}"
csi.storage.k8s.io/controller-expand-secret-name: rook-csi-cephfs-provisioner
csi.storage.k8s.io/controller-expand-secret-namespace: "${CLUSTER_NAMESPACE}"
csi.storage.k8s.io/node-stage-secret-name: rook-csi-cephfs-node
csi.storage.k8s.io/node-stage-secret-namespace: "${CLUSTER_NAMESPACE}"
csi.storage.k8s.io/fstype: ext4
EOF
Deploy NKP
The following sections contain instructions on deploying a NKP Workload Cluster using the pre-provisioned Cluster API provider. These will either be run against an existing NKP Management cluster or an ephemeral bootstrap cluster if a NKP Management Cluster is not being used:
● If using the NKP Management Cluster, the terminal where these commands are being run should have Kubernetes API access to the NKP Management Cluster and that in-turn should have access to the target server(s).
● If using the bootstrap cluster method, the terminal where these commands are being run should have access to the target server(s).
● If doing a complete dark site install, modify the steps by following the NKP Airgapped Install steps in the NKP Official Docs.
Step 1 (Option 1): Configure Kubeconfig to point to NKP Management Cluster
Set the KUBECONFIG environment variable to point to the NKP Management Cluster
export KUBECONFIG=/path/to/nkp-management-cluster.conf
Step 1 (Option 2): Create Bootstrap Cluster if NKP Management Cluster is not being used
Run the nkp command to create bootstrap cluster
nkp create bootstrap --kubeconfig ${CLUSTER_NAME}-bootstrap.conf
export KUBECONFIG=${PWD}/${CLUSTER_NAME}-bootstrap.conf # Just to keep things consistent
Step 2: Define Cluster Variables and Create Cluster Directory
Create a directory for organizing the Cluster specific files.
mkdir -p ${CLUSTER_NAME}
Define the environment by setting these environment variables. Note that this can also be done by saving these in a .env file and then sourcing the file to set them.
export CLUSTER_NAME="Name assigned to cluster"
export CONTROL_PLANE_1_ADDRESS="IP of 1st Target Host"
export CONTROL_PLANE_2_ADDRESS="IP of 2nd Target Host" # Only needed for 3 node clusters
export CONTROL_PLANE_3_ADDRESS="IP of 3rd Target Host" # Only needed for 3 node clusters
export CONTROL_PLANE_HOST="VIP reserved for Control Plane"
export CP_VIP_INTERFACE="Interface to bind KubeVIP VIP for Control Plane"
export SSH_USER="Username which passwordless sudo access to cluster"
export SSH_PRIVATE_KEY_FILE="Full path of the ssh private key file"
export SSH_PRIVATE_KEY_SECRET_NAME=${CLUSTER_NAME}-ssh-key
export K8S_POD_CIDR="POD CIDR Override"
export K8S_SVC_CIDR="Service CIDR Override"
export SSH_PORT="ssh port"
export METALLB_ADDRESS_POOL="Address Pool Range for MetalLB"
export CLUSTER_HOSTNAME="DNS Name assigned to first address in MetalLB" # Optional
export WORKSPACE_NAMESPACE="Namespace of the NKP Management Cluster Workspace being used. Set to 'default' for self managed clusters"
For example:
export CLUSTER_NAME="nkp-edge-wld-2"
export CONTROL_PLANE_1_ADDRESS="10.133.2.121"
export CONTROL_PLANE_2_ADDRESS="10.133.2.122"
export CONTROL_PLANE_3_ADDRESS="10.133.2.122"
export CONTROL_PLANE_HOST="10.133.2.20"
export SSH_USER="ubuntu"
export SSH_PRIVATE_KEY_FILE="./remote"
export SSH_PRIVATE_KEY_SECRET_NAME=${CLUSTER_NAME}-ssh-key
export K8S_POD_CIDR="172.19.0.0/16"
export K8S_SVC_CIDR="10.96.0.0/12"
export SSH_PORT="22"
export CP_VIP_INTERFACE="bond0"
export METALLB_ADDRESS_POOL="10.133.2.21-10.133.2.24"
export WORKSPACE_NAMESPACE="cisco-edge" #set to "default" for self managed clusters
#export CLUSTER_HOSTNAME="nkp-workload-1.cisco-edge.io" #optional
The following optional parameters can be defined if using a local private image registry described in the Prerequisites section.
export REGISTRY_URL="URL of the private registry"
export REGISTRY_USERNAME="Registry username"
export REGISTRY_PASSWORD="Registry password"
For example:
export REGISTRY_URL=https://harbor.infrastructure.cloudnative.nvdlab.net/nkp
export REGISTRY_USERNAME=admin
export REGISTRY_PASSWORD=test12345
The following can be used to configure docker credentials in containerd to get around docker rate limiting:
export DOCKERHUB_USER="Dockerhub username"
export DOCKERHUB_PASSWORD="Dockerhub password"
cat <<EOF > ${CLUSTER_NAME}-overrides.yaml
image_registries_with_auth:
- host: registry-1.docker.io
username: $DOCKERHUB_USER
password: $DOCKERHUB_PASSWORD
EOF
kubectl create secret generic "${CLUSTER_NAME}-user-overrides" --from-file=overrides.yaml=${CLUSTER_NAME}-overrides.yaml -n ${WORKSPACE_NAMESPACE}
kubectl label secret "${CLUSTER_NAME}-user-overrides" clusterctl.cluster.x-k8s.io/move= -n ${WORKSPACE_NAMESPACE}
rm -f ${CLUSTER_NAME}-overrides.yaml
Step 3: Create Pre-provisioned Inventory File
Create the pre-provisioned inventory file by running the following command:
Note: Remove these lines from the following if deploying a single node cluster.
- address: $CONTROL_PLANE_2_ADDRESS
- address: $CONTROL_PLANE_3_ADDRESS
cat <<EOF > ${CLUSTER_NAME}/preprovisioned_inventory.yaml
---
apiVersion: infrastructure.cluster.konvoy.d2iq.io/v1alpha1
kind: PreprovisionedInventory
metadata:
name: $CLUSTER_NAME-control-plane
namespace: ${WORKSPACE_NAMESPACE}
labels:
cluster.x-k8s.io/cluster-name: $CLUSTER_NAME
clusterctl.cluster.x-k8s.io/move: ""
spec:
hosts:
# Create as many of these as needed to match your infrastructure
# Note that the command line parameter --control-plane-replicas determines how many control plane nodes will actually be used.
#
- address: $CONTROL_PLANE_1_ADDRESS
- address: $CONTROL_PLANE_2_ADDRESS
- address: $CONTROL_PLANE_3_ADDRESS
sshConfig:
port: ${SSH_PORT}
# This is the username used to connect to your infrastructure. This user must be root or
# have the ability to use sudo without a password
user: $SSH_USER
privateKeyRef:
# This is the name of the secret you created in the previous step. It must exist in the same
# namespace as this inventory object.
name: $SSH_PRIVATE_KEY_SECRET_NAME
namespace: ${WORKSPACE_NAMESPACE}
---
apiVersion: infrastructure.cluster.konvoy.d2iq.io/v1alpha1
kind: PreprovisionedInventory
metadata:
name: $CLUSTER_NAME-md-0
namespace: ${WORKSPACE_NAMESPACE}
labels:
cluster.x-k8s.io/cluster-name: $CLUSTER_NAME
clusterctl.cluster.x-k8s.io/move: ""
spec:
hosts:
- {}
sshConfig:
port: ${SSH_PORT}
user: $SSH_USER
privateKeyRef:
name: $SSH_PRIVATE_KEY_SECRET_NAME
namespace: ${WORKSPACE_NAMESPACE}
EOF
Step 4: Generate Cluster Manifest
Run the following nkp command to generate the cluster definition manifest:
● Uncomment the “--registry-mirror*” flags if using a private registry mirror
● Replace the value of “--control-plane-endpoint-host” with a Virtual IP if the expectation is to grow this cluster to more than a single node at some point. If using KubeVIP which is the default Control Plane VIP provider for this also add the “--virtual-ip-interface” flag to pass in the network interface to bind the IP to (eth0, ens192,ens3, and so on)
● Set “--control-plane-replicas” to 1 if doing a single node deployment
export REPLICAS=1 # Set the number of cluster nodes to 1 or 3
nkp create cluster preprovisioned \
--namespace ${WORKSPACE_NAMESPACE} \
--cluster-name ${CLUSTER_NAME} \
--control-plane-endpoint-host ${CONTROL_PLANE_HOST} \
--pre-provisioned-inventory-file ${CLUSTER_NAME}/preprovisioned_inventory.yaml \
--control-plane-replicas ${REPLICAS} \
--worker-replicas 0 \
--ssh-private-key-file ${SSH_PRIVATE_KEY_FILE} \
--virtual-ip-interface ${CP_VIP_INTERFACE} \
#--registry-mirror-url ${REGISTRY_URL} \ # If setting private registry mirror
#--registry-mirror-username ${REGISTRY_USERNAME} \ # If setting private registry mirror
#--registry-mirror-password ${REGISTRY_PASSWORD} \ If setting private registry mirror
#--override-secret-name ${CLUSTER_NAME}-user-overrides \ # If setting dockerhub credentials via overrides secret described above
--dry-run -o yaml > ${CLUSTER_NAME}/deploy-${CLUSTER_NAME}.yaml
Step 5: Set max-pods and Update Labels and Taints
Run the command given below to make the following updates to the deployment yaml:
● Inserts the “max-pods” kubelet parameter under “kubeletExtraArgs” and set it to a “250” (the default value is “110”).
● Removes taints on the control plane node so that it can run other workloads
● Removes the “exclude-from-external-load-balancers” so that the control plane nodes can advertise load-balancer IPs.
yq -i '
(select(.kind == "KubeadmControlPlane").spec.kubeadmConfigSpec) |= (
.postKubeadmCommands += [
"kubectl --kubeconfig /etc/kubernetes/admin.conf label node $(hostname | tr \"[:upper:]\" \"[:lower:]\") node.kubernetes.io/exclude-from-external-load-balancers-"
] |
.initConfiguration.nodeRegistration += {"taints": []} |
.joinConfiguration.nodeRegistration += {"taints": []} |
.initConfiguration.nodeRegistration.kubeletExtraArgs += {"max-pods": "250"} |
.joinConfiguration.nodeRegistration.kubeletExtraArgs += {"max-pods": "250"}
)
' ${CLUSTER_NAME}/deploy-${CLUSTER_NAME}.yaml
Step 6: Create MetalLB Resource ClusterResourceSet
Create a ClusterResourceSet and corresponding ConfigMap to deploy MetalLB IPAddressPool and L2Advertisement resources.
cat <<EOF > ${CLUSTER_NAME}/${CLUSTER_NAME}-metal-config-crs.yaml
---
apiVersion: addons.cluster.x-k8s.io/v1beta1
kind: ClusterResourceSet
metadata:
labels:
app: metallb
konvoy.d2iq.io/cluster-name: ${CLUSTER_NAME}
name: metallb-pools-${CLUSTER_NAME}
namespace: ${WORKSPACE_NAMESPACE}
spec:
clusterSelector:
matchLabels:
konvoy.d2iq.io/cluster-name: ${CLUSTER_NAME}
konvoy.d2iq.io/loadbalancer: metallb
resources:
- kind: ConfigMap
name: metallb-resources-${CLUSTER_NAME}
strategy: Reconcile
---
apiVersion: v1
kind: ConfigMap
metadata:
labels:
app: metallb
konvoy.d2iq.io/cluster-name: ${CLUSTER_NAME}
name: metallb-resources-${CLUSTER_NAME}
namespace: ${WORKSPACE_NAMESPACE}
data:
resources.yaml: |
---
apiVersion: metallb.io/v1beta1
kind: IPAddressPool
metadata:
name: default
namespace: metallb-system
spec:
addresses:
- ${METALLB_ADDRESS_POOL}
---
apiVersion: metallb.io/v1beta1
kind: L2Advertisement
metadata:
name: default
namespace: metallb-system
spec:
ipAddressPools:
- default
EOF
Step 7 (Conditional): Append KommanderCluster Components to the Deployment YAML (only required if deploying from NKP Management Cluster)
If deploying from NKP Management Cluster, add the KommanderCluster section at the very bottom of the file as an independent resource.
Note: Skip this step if deploying from a bootstrap cluster.
The ingress.hostname section is only to be used if using a DNS entry for Traefik ingress (such as the first IP assigned to metallb).
Note: Only needed if deploying from NKP Management Cluster.
cat <<EOF >> ${CLUSTER_NAME}/deploy-${CLUSTER_NAME}.yaml
---
apiVersion: kommander.mesosphere.io/v1beta1
kind: KommanderCluster
metadata:
name: ${CLUSTER_NAME}
namespace: ${WORKSPACE_NAMESPACE}
spec:
kubeconfigRef:
name: ${CLUSTER_NAME}-kubeconfig
clusterRef:
capiCluster:
name: ${CLUSTER_NAME}
#ingress:
#hostname: ${CLUSTER_HOSTNAME}
EOF
Step 8: Disable LocalVolumeProvisioner
Remove the following from the “Cluster” resource to disable LocalVolumeProvisioner:
yq eval '(select(.kind == "Cluster") | del(.metadata.labels["konvoy.d2iq.io/csi"])) // .' ${CLUSTER_NAME}/deploy-${CLUSTER_NAME}.yaml -i
Step 9: Update the Deployment YAML to replace Calico with Cilium
Disable calico deployment :
yq eval '(select(.kind == "Cluster") | del(.metadata.labels["konvoy.d2iq.io/cni"])) // .' "${CLUSTER_NAME}/deploy-${CLUSTER_NAME}.yaml" -i
Disable kube-proxy to switch to cilium replacement for kube-proxy:
yq eval '(select(.kind == "KubeadmControlPlane") |
.metadata.annotations["controlplane.cluster.x-k8s.io/skip-kube-proxy"] = "true" |
.spec.kubeadmConfigSpec.initConfiguration.skipPhases += ["addon/kube-proxy"]
) // .' "${CLUSTER_NAME}/deploy-${CLUSTER_NAME}.yaml" -i
yq eval '(select(.kind == "Cluster") | del(.metadata.labels["konvoy.d2iq.io/cni"])) // .' "${CLUSTER_NAME}/deploy-${CLUSTER_NAME}.yaml" -i
Generate HelmChartProxy resource to deploy Cilium CNI to the target cluster.
Note: Rest of the variables like CLUSTER_NAME are the same as specified when defining the cluster in Step 2: Define Cluster Variables & Create Cluster Directory.
export CILIUM_CHART_VERSION="1.18.6"
cat <<EOF > ${CLUSTER_NAME}/${CLUSTER_NAME}-cilium-hcp.yaml
apiVersion: addons.cluster.x-k8s.io/v1alpha1
kind: HelmChartProxy
metadata:
name: cilium-${CLUSTER_NAME}
namespace: ${WORKSPACE_NAMESPACE}
spec:
chartName: cilium
clusterSelector:
matchLabels:
konvoy.d2iq.io/cluster-name: ${CLUSTER_NAME}
namespace: kube-system
options:
enableClientCache: false
install:
createNamespace: true
timeout: 10m0s
upgrade:
maxHistory: 10
releaseName: cilium
repoURL: oci://quay.io/cilium/charts
valuesTemplate: |-
cni:
exclusive: false
hubble:
enabled: true
tls:
auto:
enabled: true
method: cronJob
certValidityDuration: 60
schedule: "0 0 1 * *"
relay:
enabled: true
tls:
server:
enabled: true
mtls: true
image:
useDigest: false
priorityClassName: system-cluster-critical
ipam:
mode: kubernetes
image:
useDigest: false
operator:
image:
useDigest: false
certgen:
image:
useDigest: false
socketLB:
hostNamespaceOnly: true
envoy:
image:
useDigest: false
k8sServiceHost: "${CONTROL_PLANE_HOST}"
k8sServicePort: "6443"
kubeProxyReplacement: true
tunnelProtocol: geneve
loadBalancer:
mode: dsr
dsrDispatch: geneve
version: ${CILIUM_CHART_VERSION}
EOF
Step 10: Generate TopoLVM HelmChartProxy Manifest
export TOPOLVM_VERSION=16.1.0
export VG_NAME=nkp #Volume Group Name
export SPARE_GB=50
cat <<EOF > ${CLUSTER_NAME}/${CLUSTER_NAME}-topolvm-hcp.yaml
---
apiVersion: addons.cluster.x-k8s.io/v1alpha1
kind: HelmChartProxy
metadata:
name: topolvm
namespace: default
spec:
clusterSelector:
matchLabels:
konvoy.d2iq.io/cluster-name: ${CLUSTER_NAME}
repoURL: https://topolvm.github.io/topolvm
chartName: topolvm
version: ${TOPOLVM_VERSION}
releaseName: topolvm
namespace: topolvm-system
# Orchestration options for the Helm provider
options:
wait: true
waitForJobs: true
timeout: 10m
install:
createNamespace: true
valuesTemplate: |
# Storage class configuration automatically provisioned by TopoLVM on target clusters
storageClasses:
- name: topolvm-provisioner
storageClass:
fsType: xfs
volumeBindingMode: WaitForFirstConsumer
allowVolumeExpansion: true
isDefaultClass: true
# Manage and deploy the LVM daemon (lvmd) as a dedicated DaemonSet on target worker nodes.
# Note: Ensure the volume group specified below exists on the node's local storage.
lvmd:
managed: true
socketName: /run/topolvm/lvmd.sock
deviceClasses:
- name: nvme
volume-group: ${VG_NAME} # Update to match your actual LVM Volume Group name on worker nodes
default: true
spare-gb: ${SPARE_GB}
# Ensure storage components are scheduled with high priority so they are not evicted
priorityClass:
enabled: true
value: 1000000
EOF
Step 11: Trigger build
Trigger the build by creating the resources defined in the manifest:
kubectl create -f ${CLUSTER_NAME}/deploy-${CLUSTER_NAME}.yaml
kubectl apply -f ${CLUSTER_NAME}/${CLUSTER_NAME}-cilium-hcp.yaml
kubectl apply -f ${CLUSTER_NAME}/${CLUSTER_NAME}-topolvm-hcp.yaml
kubectl apply -f ${CLUSTER_NAME}/${CLUSTER_NAME}-metal-config-crs.yaml
Step 12: Watch Progress
watch nkp describe cluster --cluster-name ${CLUSTER_NAME} -n ${WORKSPACE_NAMESPACE}
Sample output when a single node cluster is built successfully:
nkp describe cluster --cluster-name ${CLUSTER_NAME} -n ${WORKSPACE_NAMESPACE}
NAME READY SEVERITY REASON SINCE MESSAGE
Cluster/nkp-edge-wld-1 True 10m
├─ClusterInfrastructure - PreprovisionedCluster/nkp-edge-wld-1
└─ControlPlane - KubeadmControlPlane/nkp-edge-wld-1-control-plane True 10m
└─Machine/nkp-edge-wld-1-control-plane-q2f7n True 10m
Step 13: Get Kubeconfig
Get kubeconfig of the newly provisioned cluster:
nkp get kubeconfig -c ${CLUSTER_NAME} -n ${WORKSPACE_NAMESPACE} > ${CLUSTER_NAME}/${CLUSTER_NAME}.conf
Step 14: Set Kubeconfig
Set the KUBECONFIG environment variable to point to the kubeconfig of the newly provisioned single node NKP cluster. The remaining kubectl commands in this document will be executed against the newly created cluster.
export KUBECONFIG=${PWD}/${CLUSTER_NAME}/${CLUSTER_NAME}.conf
If this was deployed by NKP Management Cluster, the cluster will now get attached to the management cluster and some management components will automatically get deployed on it to prepare it for Fleet Management, like FluxCD, Traefik Ingress, Federated Authentication via Dex etc. No further action is required in that case.
If the cluster was deployed via a Bootstrap cluster a few more steps are required to make it self managed.
Step 15: Making a NKP Workload Cluster Self Managed (Only for Clusters deployed via Bootstrap Cluster)
Note: All these steps will be performed on the workload cluster so ensure that the KUBECONFIG environment variable is pointing to the newly created cluster’s kubeconfig.
Deploy ClusterAPI components on the Workload Cluster:
nkp create capi-components
Once CAPI Components are deployed, move Cluster API resources from the Bootstrap Cluster to the deployed Workload Cluster:
nkp move capi-resources --from-kubeconfig=${CLUSTER_NAME}-bootstrap.conf --to-kubeconfig=${CLUSTER_NAME}/${CLUSTER_NAME}.conf
Validate to make sure that the resources were successfully moved over before deleting the bootstrap cluster:
nkp describe cluster -c ${CLUSTER_NAME} -n ${WORKSPACE_NAMESPACE}
After the components move to the workload cluster, the cluster is self managed, and the ephemeral bootstrap cluster can be deleted:
nkp delete bootstrap
Install the Kommander component to get dashboards for a Self Managed Cluster
Note: Kommander provides add-on components like Kommander UI, Flux CD, monitoring & Alerting (Grafana, Prometheus), Single Sign On, and so on. Skip this step if the NKP Kommander capabilities are not required.
Generate the kommander-install config file:
nkp install kommander --init > kommander-install.config
Toggle components and pass custom values as required. Here is an example with minimal components enabled for a single node self-managed cluster. Also note that rook-ceph is disabled here:
cat <<EOF > kommander-install.conf
apiVersion: config.kommander.mesosphere.io/v1alpha1
kind: Installation
apps:
ai-navigator-app:
enabled: false
dex:
enabled: true
dex-k8s-authenticator:
enabled: true
gatekeeper:
enabled: true
git-operator:
enabled: true
grafana-logging:
enabled: false
grafana-loki:
enabled: false
kommander:
enabled: true
kommander-ui:
enabled: true
kube-prometheus-stack:
enabled: true
kubefed:
enabled: true
kubernetes-dashboard:
enabled: true
kubetunnel:
enabled: false
logging-operator:
enabled: false
nkp-insights-management:
enabled: false
prometheus-adapter:
enabled: true
reloader:
enabled: true
rook-ceph:
enabled: false
rook-ceph-cluster:
enabled: false
traefik:
enabled: true
traefik-forward-auth-mgmt:
enabled: true
velero:
enabled: false
ageEncryptionSecretName: sops-age
clusterHostname: ""
EOF
Note: If deploying the cluster with rook-ceph. Add the values to the respective components. This is the equivalent of what was done in the NKP Management GUI at the workspace level in the “NKP Management Cluster Configuration” section of this document.
export CLUSTER_NAMESPACE=<workspace-namespace> # This is same as WORKSPACE_NAME for NKP Management Cluster managed clusters and "kommander" for self managed clusters
cat <<EOF > kommander-install.conf
apiVersion: config.kommander.mesosphere.io/v1alpha1
kind: Installation
apps:
ai-navigator-app:
enabled: false
dex:
enabled: true
dex-k8s-authenticator:
enabled: true
gatekeeper:
enabled: true
git-operator:
enabled: true
grafana-logging:
enabled: false
grafana-loki:
enabled: false
kommander:
enabled: true
kommander-ui:
enabled: true
kube-prometheus-stack:
enabled: true
kubefed:
enabled: true
kubernetes-dashboard:
enabled: true
kubetunnel:
enabled: false
logging-operator:
enabled: false
nkp-insights-management:
enabled: false
prometheus-adapter:
enabled: true
reloader:
enabled: true
rook-ceph:
enabled: true
values: |
csi:
rookUseCsiOperator: false
disableCsiDriver: "false"
enableRbdDriver: true
enableCephfsDriver: true
enableCSIHostNetwork: false
enableCephfsSnapshotter: true
enableNFSSnapshotter: false
enableRBDSnapshotter: false
enableCSIEncryption: false
rbdFSGroupPolicy: ReadWriteOnceWithFSType
rook-ceph-cluster:
enabled: true
values: |
cephClusterSpec:
placement:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchExpressions:
- key: app
operator: In
values:
- rook-ceph-mds
- rook-ceph-mgr
topologyKey: kubernetes.io/hostname
storage:
storageClassDeviceSets:
- name: rook-ceph-osd-set1
count: 3 # Changed to 3
portable: false # Changed to false for local TopoLVM PVs
encrypted: false
volumeClaimTemplates:
- metadata:
name: data
spec:
resources:
requests:
storage: 900Gi # This should be more than half of the total storage provided by TopoLVM on a host to prevent storage getting allocated on same host
volumeMode: Block
accessModes:
- ReadWriteOnce
cephFileSystems:
- name: ceph-filesystem
spec:
metadataPool:
replicated:
size: 3
dataPools:
- failureDomain: host
replicated:
size: 3
name: data0
metadataServer:
activeCount: 1
activeStandby: true
resources:
limits:
cpu: "2000m"
memory: "8Gi"
requests:
cpu: "2000m"
memory: "8Gi"
priorityClassName: system-cluster-critical
storageClass:
enabled: true
isDefault: true
name: ceph-filesystem
reclaimPolicy: Delete
allowVolumeExpansion: true
mountOptions: []
parameters:
csi.storage.k8s.io/provisioner-secret-name: rook-csi-cephfs-provisioner
csi.storage.k8s.io/provisioner-secret-namespace: "${CLUSTER_NAMESPACE}"
csi.storage.k8s.io/controller-expand-secret-name: rook-csi-cephfs-provisioner
csi.storage.k8s.io/controller-expand-secret-namespace: "${CLUSTER_NAMESPACE}"
csi.storage.k8s.io/node-stage-secret-name: rook-csi-cephfs-node
csi.storage.k8s.io/node-stage-secret-namespace: "${CLUSTER_NAMESPACE}"
traefik:
enabled: true
traefik-forward-auth-mgmt:
enabled: true
velero:
enabled: false
ageEncryptionSecretName: sops-age
clusterHostname: ""
EOF
Run the following command to Install Kommander with the custom values specified in kommander-install.conf.
nkp install kommander --installer-config kommander-install.conf
Once the installation completes, run the following command to get the dashboard connection details of the cluster.
nkp get dashboard
Sample output:
Username: nervous_dewdney
Password: oyC6mCd11Hw6PEnO2FotmWiN08bDhXxBnPARZTZjD9evtvWwZoaKss4FdXpnmE8l
URL: https://10.133.1.151/dkp/kommander/dashboard
Validate NKP Deployment
After 15 minutes or so after the cluster is built, ensure that all the HelmRelease resources have successfully reconciled. For a Self Managed Clusters these will be pushed via the Kommander component install and in case of a NKP Management Cluster managed cluster these will be automatically pushed by the Management Cluster.
kubectl get HelmRelease -A
Log in to the NKP Management Console (for self managed cluster use the output of the “nkp get dashboard” command shown above) and check if the cluster’s dashboards (Grafana, Prometheus, and so on) are accessible from there.
Deploy Test Application
To validate Kubernetes functionality, deploy wordpress as a sample application.
helm upgrade --install wordpress oci://registry-1.docker.io/bitnamicharts/wordpress -n wordpress --create-namespace
Verify
Ensure the workloads and services are created:
kubectl get all -n wordpress
Ensure the persistent volumes are created:
kubectl get pvc -n wordpress
After a few minutes, get the LoadBalancer IP of the wordpress service (which is of type LoadBalancer by default):
kubectl get svc -n wordpress wordprwess
Paste the “External-IP” into the browser or curl to ensure that it is reachable.
This confirms that Kubernetes’ workloads can be deployed and exposed successfully.
Cleanup by running the following command:
helm delete wordpress -n wordpress
Sample PVCs created in a three node cluster with rook-ceph enabled. See how rook-ceph uses PVCs created by TopoLVM to serve the MONs and OSDs
kubectl get pvc -A
NAMESPACE NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS VOLUMEATTRIBUTESCLASS AGE
caren-system helm-charts-pvc Bound pvc-3220175a-5017-45ba-b09b-79aa8cf30a12 2Gi RWO topolvm-provisioner <unset> 134m
git-operator-system git-operator-admin-volume Bound pvc-a2295cbf-54c9-4785-a1ab-abd274966b03 2Gi RWO topolvm-provisioner <unset> 129m
git-operator-system git-operator-git-volume Bound pvc-027a311e-d035-4a32-a0f4-c8189ab68583 10Gi RWO topolvm-provisioner <unset> 129m
kommander db-prometheus-kube-prometheus-stack-prometheus-0 Bound pvc-3c2e2da2-a8c3-4eef-b697-9c91332271ec 100Gi RWO topolvm-provisioner <unset> 124m
kommander kube-prometheus-stack-grafana Bound pvc-348a0837-ddad-475c-919f-d0254840621a 10Gi RWO topolvm-provisioner <unset> 124m
kommander rook-ceph-mon-a Bound pvc-57813ced-44bf-454e-934f-e0b8adfeca59 10Gi RWO topolvm-provisioner <unset> 2m42s
kommander rook-ceph-mon-b Bound pvc-8f1c6dc7-8f08-4ed0-b446-66ddb992d32e 10Gi RWO topolvm-provisioner <unset> 2m42s
kommander rook-ceph-mon-c Bound pvc-85d31348-3f0b-44d5-ab12-2dfd24b9e3c5 10Gi RWO topolvm-provisioner <unset> 2m41s
kommander rook-ceph-osd-set1-data-0fdwzp Bound pvc-5f4cd126-c2aa-4aee-9ae8-b529bcb55d47 750Gi RWO topolvm-provisioner <unset> 53s
kommander rook-ceph-osd-set1-data-1qnqb6 Bound pvc-c334fb65-5076-49f9-8171-da14300c4aa0 750Gi RWO topolvm-provisioner <unset> 53s
kommander rook-ceph-osd-set1-data-2mpp25 Bound pvc-f5743624-324f-4ce5-9655-cc6e81920065 750Gi RWO topolvm-provisioner <unset> 52s
For 3 node clusters that have rook-ceph running, ensure that you are able to use “ceph-filesystem” as the storage class and create RWX (ReadWriteMany) PVCs and successfully attach them to pods.
Here is a sample workload that creates a Deployment with 3 replicas and a RWX PVC with “ceph-filesystem” as the storage class (Note: Since ceph-filesystem is not the default SC, it has to be explicitly specified in the PVC request)
kubectl apply -f - << EOF
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: ceph-shared-pvc
spec:
accessModes:
- ReadWriteMany # Allows multiple nodes/pods to read and write concurrently
storageClassName: ceph-filesystem
resources:
requests:
storage: 2Gi
---
# Deployment demonstrating RWX shared mounting
apiVersion: apps/v1
kind: Deployment
metadata:
name: ceph-dep
labels:
app: ceph-dep
spec:
replicas: 3 # All 3 replicas will mount the same PVC irrespective of the node they are deployed to
selector:
matchLabels:
app: ceph-dep
template:
metadata:
labels:
app: ceph-dep
spec:
containers:
- name: web-server
image: nginx:stable-alpine
ports:
- containerPort: 80
name: web
volumeMounts:
- name: shared-data
mountPath: /usr/share/nginx/html # Shared directory path
volumes:
- name: shared-data
persistentVolumeClaim:
claimName: ceph-shared-pvc
EOF
Edge Deployment Considerations
When deploying Kubernetes in edge environments, several design considerations must be addressed.
Resource Optimization
Edge systems typically operate with constrained resources. Container resource limits should be configured appropriately.
Example:
These limits prevent Kubernetes workloads from consuming excessive host resources.
Security
Edge Kubernetes deployments must be secured to protect infrastructure and workloads.
Recommended security practices include:
● Securing Kubernetes API endpoints
● Restricting SSH access
● Implementing Kubernetes RBAC policies
● Limiting privileged container usage
Network Planning
Container networking should align with the overall edge infrastructure design.
Bridge networking provides the simplest deployment model, while advanced environments may require:
● Overlay networking
● Software-defined networking (SDN)
● Integration with enterprise network policies
Operational Benefits
Running Kubernetes containers offers several operational advantages:
● Rapid node provisioning
● Low resource overhead
● Simplified lifecycle management
● Efficient workload isolation
Containers can be easily recreated or migrated between cluster nodes, supporting dynamic edge workloads.
Expansion to Multi-Node Kubernetes
Additional Kubernetes nodes can be deployed by adding to the preprovisionedinventory resource (which is like adding more resources to the pool) and then scaling the KubeadmControlPlane resource to pick additional machines from the pool in the preprovisionedinventory
Note: The steps for expanding the cluster need be run by setting the KUBECONFIG environment variable to the cluster that is managing its lifecycle. So, it could be the NKP Management Cluster or to the Self Managed NKP Workload cluster depending on the deployment type.
For example:
export KUBECONFIG=<cluster's lifecycle manager's kubeconfig>
kubectl get preprovisionedinventory -n ${WORKSPACE_NAMESPACE} ${CLUSTER_NAME}-control-plane -o yaml |
yq '.spec.hosts += [{"address": "10.133.1.122"}, {"address": "10.133.1.123"}]' |
kubectl apply -f -
kubectl scale KubeadmControlPlane -n ${WORKSPACE_NAMESPACE} ${CLUSTER_NAME}-control-plane --replicas 3
Now run the nkp describe cluster command to check the progress of the expansion:
nkp describe cluster -c ${CLUSTER_NAME} -n ${WORKSPACE_NAMESPACE}
Remove restricting taints and labels from the CP node to allow running general workload and allowing it to host the MetalLB VIP. Both of these are disallowed by default:
export KUBECONFIG=<workload cluster's kubeconfig>
export NODE_NAME=($(kubectl get no --no-headers | awk '{ print $1 }'))
Remove taint so that normal pods can be scheduled on this node:
kubectl taint no ${NODE_NAME} node-role.kubernetes.io/control-plane:NoSchedule-
The following is required to use the control plane node for running metallb:
kubectl label node ${NODE_NAME} node.kubernetes.io/exclude-from-external-load-balancers-
Example cluster topology:
k8s-control-plane
k8s-node1
k8s-node2
k8s-node3
Validation Summary
Kubernetes was successfully deployed using Nutanix NKP with Ubuntu Linux on Cisco Unified Edge systems.
The following validation tests were performed:
| Validation Test |
Result |
| Container provisioning |
Successful |
| installation |
Successful |
| Kubernetes node registration |
Successful |
| Application deployment |
Successful |
Benefits of Edge Kubernetes Deployment
Running AI and IoT workloads locally provides several advantages:
● Reduced Latency
Data processing occurs close to the source, enabling near real-time response.
● Lower Network Utilization
Only processed results need to be transmitted to central systems.
● Improved Reliability
Applications continue operating even when cloud connectivity is interrupted.
● Scalability
Kubernetes enables dynamic scaling of edge workloads.
Design Considerations
When deploying AI or IoT workloads at the edge, the following factors should be considered:
● Resource Allocation
Ensure sufficient CPU and memory are available for inference workloads.
● Data Retention
Edge systems should implement policies for data storage and rotation.
● Security
Secure communication between IoT devices and edge services.
● Network Segmentation
Isolate operational technology (OT) networks from enterprise IT networks.
About the authors
Ulrich Kleidon, Principal Engineer, UCS Solutions, Cisco Systems, Inc.
Ulrich is a Principal Engineer for the Cisco UCS solutions team and a lead architect for solutions around converged infrastructure stacks, enterprise applications, data protection, software-defined storage, and Hybrid-Cloud. He has over 25 years of experience designing, implementing, and operating solutions in the data center.
Vinayaka Shivanna, Technical Marketing Engineer, UCS Solutions, Cisco Systems, Inc.
Vinayaka is a Technical Marketing Engineer on the Cisco Compute team. He has over six years of experience in the technology industry. Vinayaka has a strong background as a Full-Stack developer and AI engineer, with hands-on expertise in building and delivering AI-driven solutions across multiple domains. At Cisco, Vinayaka focuses on showcasing and enabling innovative compute and infrastructure capabilities, including Cisco UCS and AI integrations.
Arvind Bhoj, Staff Solutions Architect, Nutanix.
Arvind is a Staff Solutions Architect for Cloud Native Technology at Nutanix, bringing over 20 years of expertise to the forefront of infrastructure evolution. A specialist in Kubernetes and IT automation, Arvind bridges the gap between complex product engineering and real-world global deployments. He has spent his career partnering with large-scale organizations worldwide, guiding their transition into container orchestration and modern cloud-native architectures
Acknowledgements
For their support and contribution to the design, validation, and creation of this Cisco Validated Design, the authors would like to thank:
● Chris O’Brien, Director for Technical Marketing, UCS Solutions, Cisco Systems, Inc.
● Wolfgang Huse, Sr. Manager Solution & Performance Engineering, Nutanix
Appendix
This appendix contains the following:
● Compute
● Nutanix
● NVIDIA
Cisco Intersight: https://www.intersight.com
Cisco Intersight Managed Mode: https://www.cisco.com/c/en/us/td/docs/unified_computing/Intersight/b_Intersight_Managed_Mode_Configuration_Guide.html
Cisco Unified Edge and Canonical Ubuntu for Edge Deployments Design Guide: https://www.cisco.com/c/en/us/td/docs/unified_computing/ucs/UCS_documents/Cisco_Unified_Edge_and_Canonical_Ubuntu_for_Edge_Deployments_Design.html
Cisco Unified Edge At a Glance: https://www.cisco.com/c/en/us/products/collateral/servers-unified-computing/unified-edge/unified-edge-at-a-glance.html
Unified Edge Solution Overview: https://www.cisco.com/c/en/us/products/collateral/servers-unified-computing/unified-edge/unified-edge-solution-overview.html
Nutanix: https://www.nutanix.com/products/kubernetes-management-platform
TopoLVM: https://github.com/topolvm/topolvm
NVIDIA L4 GPU: https://www.nvidia.com/en-in/data-center/l4/
NVAIE: https://www.nvidia.com/en-in/data-center/products/ai-enterprise/
NVAIE Product Support Matrix: https://docs.nvidia.com/ai-enterprise/latest/product-support-matrix/index.html
Cisco UCS Hardware Compatibility Matrix: https://ucshcltool.cloudapps.cisco.com/public/
CVD Program
ALL DESIGNS, SPECIFICATIONS, STATEMENTS, INFORMATION, AND RECOMMENDATIONS (COLLECTIVELY, "DESIGNS") IN THIS MANUAL ARE PRESENTED "AS IS," WITH ALL FAULTS. CISCO AND ITS SUPPLIERS DISCLAIM ALL WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OR ARISING FROM A COURSE OF DEALING, USAGE, OR TRADE PRACTICE. IN NO EVENT SHALL CISCO OR ITS SUPPLIERS BE LIABLE FOR ANY INDIRECT, SPECIAL, CONSEQUENTIAL, OR INCIDENTAL DAMAGES, INCLUDING, WITHOUT LIMITATION, LOST PROFITS OR LOSS OR DAMAGE TO DATA ARISING OUT OF THE USE OR INABILITY TO USE THE DESIGNS, EVEN IF CISCO OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
THE DESIGNS ARE SUBJECT TO CHANGE WITHOUT NOTICE. USERS ARE SOLELY RESPONSIBLE FOR THEIR APPLICATION OF THE DESIGNS. THE DESIGNS DO NOT CONSTITUTE THE TECHNICAL OR OTHER PROFESSIONAL ADVICE OF CISCO, ITS SUPPLIERS OR PARTNERS. USERS SHOULD CONSULT THEIR OWN TECHNICAL ADVISORS BEFORE IMPLEMENTING THE DESIGNS. RESULTS MAY VARY DEPENDING ON FACTORS NOT TESTED BY CISCO.
CCDE, CCENT, Cisco Eos, Cisco Lumin, Cisco Nexus, Cisco StadiumVision, Cisco TelePresence, Cisco WebEx, the Cisco logo, DCE, and Welcome to the Human Network are trademarks; Changing the Way We Work, Live, Play, and Learn and Cisco Store are service marks; and Access Registrar, Aironet, AsyncOS, Bringing the Meeting To You, Catalyst, CCDA, CCDP, CCIE, CCIP, CCNA, CCNP, CCSP, CCVP, Cisco, the Cisco Certified Internetwork Expert logo, Cisco IOS, Cisco Press, Cisco Systems, Cisco Systems Capital, the Cisco Systems logo, Cisco Unified Computing System (Cisco UCS), Cisco UCS B-Series Blade Servers, Cisco UCS C-Series Rack Servers, Cisco UCS S-Series Storage Servers, Cisco UCS X-Series, Cisco UCS Manager, Cisco UCS Management Software, Cisco Unified Fabric, Cisco Application Centric Infrastructure, Cisco Nexus 9000 Series, Cisco Nexus 7000 Series. Cisco Prime Data Center Network Manager, Cisco NX-OS Software, Cisco MDS Series, Cisco Unity, Collaboration Without Limitation, EtherFast, EtherSwitch, Event Center, Fast Step, Follow Me Browsing, FormShare, GigaDrive, HomeLink, Internet Quotient, IOS, iPhone, iQuick Study, LightStream, Linksys, MediaTone, MeetingPlace, MeetingPlace Chime Sound, MGX, Networkers, Networking Academy, Network Registrar, PCNow, PIX, PowerPanels, ProConnect, ScriptShare, SenderBase, SMARTnet, Spectrum Expert, StackWise, The Fastest Way to Increase Your Internet Quotient, TransPath, WebEx, and the WebEx logo are registered trade-marks of Cisco Systems, Inc. and/or its affiliates in the United States and certain other countries. (LDW_P2)
All other trademarks mentioned in this document or website are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company. (0809R)
