You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Install an Apache Zookeeper Persistent Volume Claim
Open the persistent volume claims of the OpenShift project by clicking [ Storage ]
Click "Create Storage"
For the config map "Storage Class", enter: gp2-encrypted
For the config map "Name" enter: computate-zookeeper
For the config map "Size" in GiB, enter: 1
For other values, you can leave them as the default, then click [ Create ]
Click [ Create ]
Verify the Apache Zookeeper Service
Open the services of the OpenShift project by clicking [ Applications ] -> [ Services ]
Notice that an apache-zookeeper service already exists. Click on the "apache-zookeeper" service.
Notice that it has a service with an assigned cluster IP address that proxies TCP traffic on port 2181 to a target port of 2181 on the pod. 2181 is the default port of Apache Zookeeper.
You might notice a related pod that is not receiving traffic and is in a state of "Crash Loop Back-off". That is because the computate-zookeeper application is not completely configured yet.
Configure the Apache Zookeeper Deployment Config
Open the deployment configs of the OpenShift project by clicking [ Applications ] -> [ Deployments ]
Notice that an apache-zookeeper deployment config already exists. Click on the "apache-zookeeper" deployment config, then click on the "Configuration" tab.
Configure Apache Zookeeper Recreate deployments
On the apache-zookeeper deployment config, click [ Actions ] -> Edit
Change the Strategy Type to: Recreate
to keep some existing rolling strategy parameters, click [ Yes ]
Click [ Save ]
Configure an Apache Zookeeper Resource Limit
On the apache-zookeeper deployment config, click [ Actions ] -> Edit Resource Limits
For the "Memory" in MiB, enter: 256
For other values, you can leave them as the default, then click [ Save ]
Configure Apache Zookeeper Data Volume Mount
On the apache-zookeeper deployment config, click [ Actions ] -> Add Storage
Select the existing "computate-zookeeper" persistent volume claim storage
For the "Mount Path", enter: /opt/zookeeper/data
For the "Volume Name", enter: volume-computate-zookeeper-data
For other values, you can leave them as the default, then click [ Add ]
Configure Apache Zookeeper Config Volume Mount
On the apache-zookeeper deployment config, click the "Configuration" tab
In the "Volumes" section, click "Add Config Files"
For the "Source", select: computate-zookeeper
For the "Mount Path", enter: /opt/zookeeper/conf
For other values, you can leave them as the default, then click [ Add ]
At this point, you should find the computate-zookeeper running with the pod no longer in an error state.
The text was updated successfully, but these errors were encountered:
As a team, install an Apache Zookeeper cluster manager to OpenShift.
Install an Apache Zookeeper Container Image Stream
Install an Apache Zookeeper Config Map
Install an Apache Zookeeper Persistent Volume Claim
Verify the Apache Zookeeper Service
Configure the Apache Zookeeper Deployment Config
Configure Apache Zookeeper Recreate deployments
Configure an Apache Zookeeper Resource Limit
Configure Apache Zookeeper Data Volume Mount
Configure Apache Zookeeper Config Volume Mount
At this point, you should find the computate-zookeeper running with the pod no longer in an error state.
The text was updated successfully, but these errors were encountered: