Professional Documents
Culture Documents
0.8
1
Overview
Note: Nutanix Karbon 0.8 is in Technical Preview and should not be used in a production environment. For
support, contact your account team.
Nutanix Karbon is a curated turnkey offering that provides simplified provisioning and operations of
Kubernetes clusters. Kubernetes is an open-source container orchestration system for deploying and
managing container-based applications.
Karbon leverages the CentOS and Ubuntu Linux-based operating systems for Karbon-enabled
Kubernetes cluster node creation. Linux containers provide the flexibility to deploy applications in different
environments with consistent results.
The Karbon web console simplifies the deployment and management of Kubernetes clusters with a
simple GUI and built-in event monitoring tools. Kibana, the built-in add-on, lets you filter and parse logs for
systems, pods, and VMs. Karbon also leverages Pulse, Prism's health-monitoring system, which interacts
with Nutanix Support to expedite cluster issue resolutions.
Enabling Karbon involves launching it through Prism Central and logging into Karbon to create clusters.
Prerequisites
The Nutanix cluster must meet the following requirements prior to enabling Karbon:
Cluster Requirements
• Prism Central 5.9 or later.
443
Karbon | Overview | 2
TCP Port Description
Proxy Requirements
The following domains should be whitelisted if an unauthenticated proxy is used in Prism Element:
• hub.docker.com
• gcr.io
• k8s.gcr.io
• quay.io
• docker.elastic.co
Karbon | Overview | 3
2
Enabling Karbon
5. Once you receive the message that Karbon is successfully enabled, click the here link in the message
to log into the Karbon Console.
Uploading Images
Deploying Kubernetes clusters in Karbon requires a CentOS or Ubuntu image. You must choose from
either of the two Linux distributions and upload the images from Prism Central. The following versions are
supported for Karbon:
• CentOS versions 7.5.1804.
• Ubuntu version 16.04 only.
3. Select Images.
5. Follow steps to add the image URL, or skip to Step 7 to add the image as a file.
a. Download the Ubuntu or CentOS image by clicking on one of the following URLs:
• CentOS http://download.nutanix.com/karbon/0.8/acs-centos7.qcow2
• Ubuntu http://download.nutanix.com/karbon/0.8/acs-ubuntu1604.qcow2
b. In the Image Source window, click + Add File.
7. In the Image Name field, replace the image name with one of the following:
Caution: You must use one of the following image names to create the cluster.
9. Click Save.
Note: You do not need to log in if you've already logged into Prism Central.
5. Do the following in the indicated fields to setup the Name and Environment:
• Name: Choose a name for your cluster. The name must start with a letter or a number followed by
up to 40 lowercase or uppercase letters, numbers, or hyphens (cannot end with a hyphen).
• Cluster: Choose which Nutanix cluster you'd like to run the Kubernetes cluster on.
• Kubernetes Version: Choose from one of three Kubernetes versions (1.8.13, 1.9.6, or 1.10.3).
• Host OS Image: Select the Linux distribution of the uploaded image (centos or ubuntu).
6. Click Next.
The Worker Resources page appears.
Note: When choosing memory, CPU, and disk size, the Kubernetes cluster deployment might fail if
available capacity is exceeded on any underlying hardware. This is also applicable to master and etcd
resources in the following steps.
8. Click Next.
The Master Configuration page appears.
Note: Only single master node deployments are supported for Technical Preview.
• Memory: Enter the memory capacity for the master node (recommended 4 GiB).
• Size: Enter the hard disk size for the master node (recommended 120 GiB).
• VCPU: Enter the number of vCPUs for the master node
10. Do the following in the indicated fields to configure the etcd Resources:
• Number of VMs: Select the number of etcd VMs (three recommended).
• Memory: Enter the size of etcd resources (recommended 8 GiB).
• Size: Enter the hard disk size per etcd VM.
• VCPU: Enter the number of VCPUs per etcd node.
• Service CIDR: Enter an IP address range within your network range (RFC-1918) in CIDR notation,
or use the default values. This will be the IP range on which services are exposed.
Note: The Service CIDR and Pod CIDR must not overlap with the VM Network IP range or with each
other.
• Pod CIDR: Enter an IP address range within your network range (RFC-1918) in CIDR notation that
will be used for pod-to-pod communication, or use the default values. All pods in the cluster will be
assigned an IP address from this range.
Note: Some storage will be automatically provisioned for system cluster logs based on the cluster's size.
14. Do the following in the indicated fields to configure Storage Class settings:
• Storage Class Name: Enter the name for the storage class. The name must start with a letter or
a number. Only lowercase alphanumeric characters, hyphens, and periods are allowed (maximum
253 characters).
• Prism Element Cluster: Select the target cluster for allocating storage for stateful pods.
• Cluster Username: Enter your Prism Element username.
• Cluster Password: Enter your Prism Element password.
• Storage Container Name: Select the storage container that will be used for the storage.
• File System: Select the file system that the storage class will use (xfs or ext4).
16. Hover over the Status field to display a tooltip with progress details.
Download the Kubernetes cluster configuration file (Kubeconfig) to your machine to deploy applications on
your cluster using kubectl.
4. Replace kubeconfig with the downloaded file's path and file name, and run the following command.
$ export KUBECONFIG=/path/to/kubeconfig
Name Description
Summary
Clicking on a cluster's name on the Karbon page takes you to the Summary page. The Summary page
includes the following information about the cluster in the Properties fields.
Name Description
Total Disk Space Total disk space allocated to all of the nodes in the
cluster.
Master, etcd, and Worker node tiles include the following details about each of these node types.
Name Description
Storage Class
The Storage Class page includes a table with the following details about every storage class.
Name Description
The page also includes Create Storage Class and Delete Storage Class action buttons.
Volumes
The Volume page includes Create Volume and Delete Volume action buttons, and a table with the
following details about every volume.
Name Description
Add-ons
The Add-on page lists the add-ons installed on the Kubernetes cluster. Karbon comes with a built-in
Logging add-on powered by Kibana. The Add-on page includes a table with the following details.
Name Description
Logging Add-On
The Logging add-on is powered by Kibana. The Kibana dashboard has a custom tab for the LogTrail plugin
that displays data for the selected namespaces. By default, LogTrail is configured to display logs for the
system namespaces of the Kubernetes cluster: kube-system and ntnx-logging.
Setting Description
All Systems
The All Systems tab displays logs from all hosts by default, but can also be used to run select logs for a
specific host.