Steps To Install REX-RAY Plugin in Kubernetes
Follow the steps mentioned below to isntall the REX-RAY Plugin in Kubernetes.
Step 1: Make sure that docker is installed in the kubernetes nodes. You can use the following command to check the docker installed or not.
docker version
Step 2: Create the yaml file for the demoset to deploy the REX-RAY plugin to make sure that the rex-ray plugin is runnin on the eaxh node for that you can use the following yaml file.
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: rexray
namespace: kube-system
labels:
app: rexray
spec:
selector:
matchLabels:
name: rexray
template:
metadata:
labels:
name: rexray
spec:
containers:
- name: rexray
image: rexray/rexray:latest
securityContext:
privileged: true
volumeMounts:
- name: lib-modules
mountPath: /lib/modules
readOnly: true
volumes:
- name: lib-modules
hostPath:
path: /lib/modules
Apply the yaml file by using the following command. ‘
kubectl apply -f rexray-daemonset.yaml
What Is Docker REX – RAY Plugin ?
The Docker REX- RAY plugin is mainly used to attach the external volumes to our containers which are running in the containerization platforms. REX-RAY is a plugin that is written in the go-language it will not be available locally you need to download the plugin. REX – RAY plugin provides EBS volumes to the docker containers.