Installing HPE Ezmeral Data Fabric and Kubernetes Software on the Same Nodes
This section describes how to install the configuration files for the HPE Ezmeral Data Fabric for Kubernetes. In this configuration, Data Fabric and Kubernetes software can coexist on the same nodes if certain version requirements are met.
Before Installation
- This procedure assumes that the Kubernetes cluster is already installed and functioning normally.
- Ensure that all Kubernetes nodes use the same Linux distribution. For example, all nodes can be CentOS nodes, or all nodes can be Ubuntu nodes. But a cluster with a mixture of CentOS and Ubuntu nodes is not supported.
- This procedure requires stopping Warden and Zookeeper on all nodes in the Data Fabric cluster and then restarting Warden and Zookeeper on all nodes. The steps cannot be performed online one node at a time.
- Do not install the Data Fabric client on a node where the volume plug-in configuration file is installed. The Data Fabric client can be installed on a node in the Kubernetes cluster, but it must be installed before the HPE Ezmeral Data Fabric for Kubernetes is installed on the same Kubernetes cluster.
Install the MapR 6.0.1 or Later Cluster on the Kubernetes Nodes
Use any of the methods described in Installing with the Installer to install a Data Fabric 6.0.1 or later cluster on the existing Kubernetes nodes.
Install the MapR Data Fabric for Kubernetes
- Stop all running jobs on the Data Fabric cluster.
- Stop Warden on all Data Fabric cluster nodes by
running the following command on each
node:
service mapr-warden stop
- Stop Zookeeper on all Data Fabric Zookeeper nodes by
running the following command on each
node:
service mapr-zookeeper stop
- Deploy the HPE Ezmeral Data Fabric for Kubernetes components by using steps 1 through 6 of Installing HPE Ezmeral Data Fabric and Kubernetes Software on Separate Nodes.
- Configure the
MAPR_SUBNETS
environment variable to ensure that Data Fabric software does not use thedocker0
network interface on each node. See Designating NICs for HPE Ezmeral Data Fabric.If
MAPR_SUBNETS
is not set, the CLDB uses all NICs present on the node. When Docker is installed on a node, thedocker0
bridge is created as a virtual NIC for use by the Docker containers. You must configure theMAPR_SUBNETS
setting to include the physical NICs that you want the CLDB to use and exclude thedocker0
network interface. In this way, you can avoid issues with duplicate or non-routable IP addresses. For more information aboutdocker0
, see Docker container networking. - Start Zookeeper on all Data Fabric Zookeepr nodes by
running the following command on each
node:
service mapr-zookeeper start
- Start Warden on all Data Fabric cluster nodes by
running the following command on each
node:
service mapr-warden start