momo-jun commented on code in PR #440: URL: https://github.com/apache/pulsar-site/pull/440#discussion_r1123048858
########## docs/deploy-ibm.md: ########## @@ -0,0 +1,246 @@ +--- +id: deploy-ibm +title: Apache Pulsar Installation on IBM Kubernetes Cluster through Helm chart +sidebar_label: "IBM Cloud Services" +original_id: deploy-ibm +--- + +:::tip + +This tutorial uses Apache Pulsar 2.9.3 as an example. If you want to upgrade Pulsar version, follow the instructions in [Helm Upgrade Guide](https://pulsar.apache.org/docs/2.10.x/helm-upgrade/). + +::: + + +Deploying a Pulsar cluster on IBM cloud consists of the following steps: + +1. [Create VM on IBM Cloud.](#create-vm-on-ibm-cloud) +2. [Create Kubernete cluster on IBM Cloud.](#create-kubernetes-cluster-on-ibm) +3. [Prepare VM for connecting to Kubernetes cluster and deploy Pulsar Helm chart on Kubernetes cluster.](#prepare-vm-for-connecting-to-kubernetes-cluster-and-deploy-pulsar-helm-chart-on-kubernetes-cluster) +4. [Verify the deployment.](#run-kubectl-commands-to-verify-the-deployment) + + +## 1. Create VM on IBM Cloud + +1. Go to [IBM Cloud]( https://cloud.ibm.com/?cm_sp=freelancer-_-pulsar-iks-_-cta) and login with your credentials. +2. Search for Virtual Server. +3. Select Virtual Server for Classic. + + + +4. Select the type of virtual server as selected "Public" in the image. + Type the host name, quantity of the machine and billing method. + + + +5. Select location value according to your region. For example: In below image we have selected Chennai in Asia region. + + + +6. Select the profile of virtual machine. + + + +7. Select the operating system and version. + + + +8. Select network interface according to use. + + + +9. Select the security group. + + + +10. Leave rest of the things could be default. Click on the "Create" button. + + + +11. Check created VM in "Navigation Menu" -> "Resource list" Devices + + + + + +12. Check the detail of VM in overview + + + +13. Check the devices list, click on the menu option on the same page. + + + +## 2. Create Kubernetes Cluster on IBM + +1. Search for the Kubernetes services + + + +2. Select the plan details to "Standard". Please note "Free" plan has the limited resources, which can not fulfill the Pulsar cluster requirement. + + + +3. Select the infrastructure type we are going with the classic and also select the Kubernetes version . + + + +4. Select location and resource group. Select single single zone or multi zone as per your need. + + + + + +5. Select worker pool size and flavor (vCPU, Memory) of the worker. + + + + + +6. Set cluster name as you want. + + +7. Leave rest of the things as we are selecting as default. You can disable below options. Click on create and wait for provisioning of the cluster. + + + +8. After the cluster is successfully provisioned, connect to the cluster. In order to connect click on the "Action" button then click on "Connect via CLI", it will give you commands, copy that and run in your VM so that we can communicate to cluster through VM. We have to configure VM for communicating to cluster in the next steps will describe how to configure VM for that. + + + +9. Check the created cluster list through clicking on the clusters options Review Comment: ```suggestion 9. Check the created cluster list by clicking on the clusters options. ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
