Getting Started with Portworx Essentials on Kubernetes
April 21, 2020
The Kubernetes architecture can be a lot to swallow, so on routine days administering applications on Kubernetes may feel like everything is running pretty well. However, just like any avid hiker would recommend, it’s important to carry the essentials so that you have them when you need them. This is how Portworx feels about running your stateful applications on Kubernetes—even if you are not at full enterprise level scale and don’t need enterprise capabilities. This is why we’ve released Portworx Essentials, which provides the essential Kubernetes storage capabilities for small production applications—and is free forever. Learn what the essentials are for stateful applications and how to install and get started using them for Kubernetes.
What Are the Essentials of Kubernetes Storage?
When it comes to running stateful applications in Kubernetes like MySQL, Postgres, Kafka, Cassandra, Gitlab, WordPress, and Jenkins, there are some basic necessities for keeping data available. Like the CAP theorem suggests, data should be consistent, available, and partition tolerant, and in order for these to be true, there needs to be some level of data management.
Getting Started
Prerequisites for installing Portworx essentials are listed here, including the following hardware requirements. You must also already have Kubernetes installed.
Hardware
CPU
4 cores
RAM
4GB
Disk (/var)
2GB free
Backing drive
8GB (minimum required)
Storage drives
Storage drives must be unmounted block storage: raw disks, drive partitions, LVM, or cloud block storage.
Ethernet NIC card
10 GB (recommended)
Note: Portworx Essentials cannot be installed in an air-gapped environment. If you need to run stateful service in an air-gapped environment, consider Portworx Enterprise.
Once you have Kuberentes installed on a cluster of at least three worker nodes that meet the minimum requirements, then you can proceed to install Portworx Essentials. To do this, first head over to PX-Central. From here you should be able to login and click on “Install and Run.”
Once you are in the install and run view, click on “New Spec” in the top right corner.
From here, you will have a choice between Portworx products you want to install. To install Portworx essentials on Kubernetes, click “Portworx Essentials,” then click “>Next.”
Next, follow the prompts and fill out the configuration accordingly with information about your Kubernetes environment.
Once you reach the end, you will be asked to agree to the Portworx Essentials license agreement.
Click “Agree” once you are ready to move forward, and you can save the spec file with a name and optional metadata labels.
You can download the spec file or copy the kubectl apply command, which you can run directly on your Kubernetes cluster where kubectl is configured.
Once you apply Portworx Essentials with kubectl, you can monitor Portworx pods with the following command.
Lastly, if you prefer to watch a demo of the above steps for getting started installing Portworx Essentials on Kubernetes, you can watch the video below. Thanks for reading!
Demo
Share
Subscribe for Updates
About Us
Portworx is the leader in cloud native storage for containers.