You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@zookeeper.apache.org by "Md. Mubassir Ahsan (Jira)" <ji...@apache.org> on 2021/02/03 18:17:00 UTC
[jira] [Created] (ZOOKEEPER-4198) Install Zookeeper on IBM Cloud
Md. Mubassir Ahsan created ZOOKEEPER-4198:
---------------------------------------------
Summary: Install Zookeeper on IBM Cloud
Key: ZOOKEEPER-4198
URL: https://issues.apache.org/jira/browse/ZOOKEEPER-4198
Project: ZooKeeper
Issue Type: Improvement
Components: documentation
Reporter: Md. Mubassir Ahsan
This documentation will describe how to Install ZooKeeper on IBM Cloud.
# Requirements/Prerequisites
You will need an IBM Cloud Pay-As-You-Go or Subscription Account type which can be found [here](https://cloud.ibm.com/docs/account?topic=account-accounts).
# Introduction
This docs will describe how to install ZooKeeper on IBM Cloud. These four steps will be needed as follows:
- Step 1: Provision Kubernetes Cluster
- Step 2: Deploy IBM Cloud Block Storage plug-in
- Step 3: Deploy ZooKeeper
- Step 4: Verify Installation
So let's get started.
## Step 1: Provision Kubernetes Cluster
* Search for **Kubernetes** and select **Kubernetes Service** from the list.
![image](https://user-images.githubusercontent.com/8035032/105907020-a52f7b00-604e-11eb-819d-fa97c1fa2f3e.png)
> You will be redirected to the [Kubernetes cluster creation](https://cloud.ibm.com/kubernetes/catalog/create) page.
### Option A: Create free Kubernetes Engine:
* Price Plan: Free
![image](https://user-images.githubusercontent.com/8035032/105908265-33583100-6050-11eb-9d1b-1dcf98a69a79.png)
> Enter the cluster name of your choice then click **Create** to provision the free Kubernetes Cluster.
> Please wait for few moments to provision the cluster.
### Option B: Create Standard Kubernetes Engine with the following attributes:
* Price Plan: Standard
![image](https://user-images.githubusercontent.com/8035032/105909832-43711000-6052-11eb-9633-1b61c53d14cd.png)
* Infrastructure: Classic
* Availability: Multi Zone
* Metro: Dallas
* 4 VCPU
* 16 GB RAM
* Worker nodes per zone: 3
![image](https://user-images.githubusercontent.com/8035032/105909001-2c7dee00-6051-11eb-9785-e990b71ea111.png)
> Enter the cluster name of your choice then click **Create** to provision.
![image](https://user-images.githubusercontent.com/8035032/105909673-13c20800-6052-11eb-9863-8a2718922886.png)
> Please wait for a few moments to provision the cluster.
## Step 2: Deploy IBM Cloud Block Storage plug-in
* Just like in step 1, search for "Block Storage" and Click on it.
![image](https://user-images.githubusercontent.com/8035032/105910051-964ac780-6052-11eb-87ac-908391bb85fb.png)
* On the Block Storage page click on **Create**
![image](https://user-images.githubusercontent.com/8035032/105910564-546e5100-6053-11eb-8059-3a66c705e098.png)
* Now input the storage details
> N.B. Select location as the cluster location.
* Location > Europe > London > LON02
* Billing Method > Monthly > 20 GB
* OS type > Linux
* IOPS > 2 IOPS/GB
![image](https://user-images.githubusercontent.com/8035032/105910989-df4f4b80-6053-11eb-9c02-bbd16b7ea021.png)
* Click on “I have agreed to the terms and conditions listed below”.
> Now a storage plugin will be available in the dashboard.
## Step 3: Deploy ZooKeeper
* Again Search for **ZooKeeper** and Click on it.
![image](https://user-images.githubusercontent.com/8035032/106059575-1a698180-611d-11eb-8129-a24c54583226.png)
> You will be taken to the **ZooKeeper** deployment page.
In the ZooKeeper creation page add the details below:
* Target: IBM Kubernetes Service
* Method: Helm chart
* Kubernetes cluster: mycluster-free
* Target namespace: zookeeper
* Workspace: zookeeper
* Resource group: Default
![image](https://user-images.githubusercontent.com/8035032/106060051-c3b07780-611d-11eb-9e91-8199389cd151.png)
* Check on “I have agreed to the terms and conditions listed below”.
> Click **Install** to deploy ZooKeeper.
> Please wait for all the process to complete.
![image](https://user-images.githubusercontent.com/8035032/106060549-649f3280-611e-11eb-97d2-fc32a9929ea5.png)
## Step 4: Verify Installation
* Go to Left Navigation Menu.
* Click on Kubernetes
![verification](https://user-images.githubusercontent.com/8035032/106024720-458aab80-60f2-11eb-8bc3-7c592c07a5a3.png)
* Click on your Cluster "mycluster-free".
![image](https://user-images.githubusercontent.com/8035032/106024886-6b17b500-60f2-11eb-8863-85844f916ba5.png)
> You will be taken to your clusters overview page where you will see the details of your cluster as well.
* To verify the installation find the Actions..
* Click on it and select `Web terminal` from the dropdown menu.
![image](https://user-images.githubusercontent.com/8035032/106023003-98fbfa00-60f0-11eb-998c-a860a42b116c.png)
> Click install, then wait for a couple of minutes to finish the process.
![image](https://user-images.githubusercontent.com/8035032/106023384-f2fcbf80-60f0-11eb-88f7-4dccc973dff3.png)
* After completing the installation click on Actions > Web terminal again.
> A command line terminal will appear. Type the command below:
#### Get the list of pods:
`kubectl get ns`
![image](https://user-images.githubusercontent.com/8035032/106060818-bd6ecb00-611e-11eb-9777-a7b75c10c1fc.png)
#### See if it is running:
` kubectl get pod -n zookeeper -o wide `
![image](https://user-images.githubusercontent.com/8035032/106060986-fa3ac200-611e-11eb-8ea5-e93ee91444e4.png)
The Installation is now done! Enjoy !
--
This message was sent by Atlassian Jira
(v8.3.4#803005)