Attention: This version of Event Streams has reached End of Support. For more information about supported versions, see the support matrix.

Post-installation tasks

Consider the following tasks after installing Event Streams.

Verifying your installation

To verify that your Event Streams installation deployed successfully, check the status of your release as follows.

  1. Log in to your IBM Cloud Private cluster management console from a supported web browser by using the URL https://<Cluster Master Host>:<Cluster Master API Port>. The master host and port for your cluster are set during the installation of IBM Cloud Private. For more information, see the IBM Cloud Private documentation.
  2. Enter an IBM Cloud Private administrator user name and password.
  3. From the navigation menu, click Workloads > Helm Releases.
  4. Locate your installation in the NAME column, and ensure the STATUS column for that row states Deployed.
  5. Optional: Click the name of your installation to check further details of your Event Streams installation. For example, you can check the ConfigMaps used, or check the logs for your pods.
  6. Log in to your Event Streams UI to get started.

Installing the command-line interface

The Event Streams command-line interface (CLI) is a plugin for the IBM Cloud Private CLI. You can use the Event Streams CLI to manage your Event Streams instance from the command line, such as creating, deleting, and updating topics.

To install the Event Streams CLI:

  1. Ensure you have the IBM Cloud Private CLI installed.
  2. Log in to the Event Streams as an administrator.
  3. Click the Toolbox tab.
  4. Go to the Event Streams command-line interface section and click Find out more.
  5. Download the Event Streams CLI plug-in for your system by using the appropriate link.
  6. Install the plugin using the following command:
    cloudctl plugin install <full_path>/es-plugin

To start the Event Streams CLI and check all available command options in the CLI, use the cloudctl es command. To get help on each command, use the --help option.

To use the Event Streams CLI against a deployed IBM Cloud Private cluster, run the following commands, replacing <master_ip_address> with your master node IP address, <master_port_number> with the master node port number, and <my_cluster> with your cluster name:

cloudctl login -a https://<master_ip_address>:<master_port_number> -c <my_cluster>
cloudctl es init

Firewall and load balancer settings

In your firewall settings, ensure you enable communication for the node ports that Event Streams services use.

If you are using an external load balancer for your master or proxy nodes in a high availability environment, ensure that the external ports are forwarded to the appropriate master and proxy nodes.

To find the node ports to expose by using the UI:

  1. Log in to your IBM Cloud Private cluster management console from a supported web browser by using the URL https://<Cluster Master Host>:<Cluster Master API Port>. The master host and port for your cluster are set during the installation of IBM Cloud Private. For more information, see the IBM Cloud Private documentation.
  2. From the navigation menu, click Workloads > Helm Releases.
    Menu > Workloads > Helm releases
  3. Locate the release name of your Event Streams installation in the NAME column, and click the name.
  4. Scroll down to the Service table. The table lists information about your Event Streams services.
  5. In the Service table, look for NodePort in the TYPE column.
    In each row that has NodePort as type, look in the PORT(S) column to find the port numbers you need to ensure are open to communication.
    The port numbers are paired as <internal_number:external_number>, where you need the second (external) numbers to be open (for example, 30314 in 32000:30314).
    The following image provides an example of the table:
    Service table

To find the node ports to expose by using the CLI:

  1. Log in to your cluster as an administrator by using the IBM Cloud Private CLI:
    cloudctl login -a https://<Cluster Master Host>:<Cluster Master API Port>
    The master host and port for your cluster are set during the installation of IBM Cloud Private.
  2. Run the following command to list information about your Event Streams services:
    kubectl get services -n <namespace>
    The following is an example of the output (this is the same result as shown in the UI example previously):
    NAME                                              TYPE        CLUSTER-IP   EXTERNAL-IP   PORT(S)                                                           AGE
    my-eventstreams-ibm-es-access-controller-svc      ClusterIP   None         <none>        8443/TCP                                                          111d
    my-eventstreams-ibm-es-elastic-svc                ClusterIP   None         <none>        9200/TCP,9300/TCP                                                 111d
    my-eventstreams-ibm-es-indexmgr-svc               ClusterIP   None         <none>        9080/TCP,8080/TCP                                                 111d
    my-eventstreams-ibm-es-kafka-broker-svc-0         ClusterIP   None         <none>        9092/TCP,8093/TCP,9094/TCP,7070/TCP                               111d
    my-eventstreams-ibm-es-kafka-broker-svc-1         ClusterIP   None         <none>        9092/TCP,8093/TCP,9094/TCP,7070/TCP                               111d
    my-eventstreams-ibm-es-kafka-broker-svc-2         ClusterIP   None         <none>        9092/TCP,8093/TCP,9094/TCP,7070/TCP                               111d
    my-eventstreams-ibm-es-kafka-headless-svc         ClusterIP   None         <none>        9092/TCP,8093/TCP,9094/TCP,8081/TCP                               111d
    my-eventstreams-ibm-es-proxy-svc                  NodePort    10.0.0.118   <none>        30000:32417/TCP,30001:31557/TCP,30051:32712/TCP,30101:32340/TCP   111d
    my-eventstreams-ibm-es-replicator-svc             ClusterIP   None         <none>        8083/TCP                                                          111d
    my-eventstreams-ibm-es-rest-proxy-svc             NodePort    10.0.0.86    <none>        32000:30314/TCP                                                   111d
    my-eventstreams-ibm-es-rest-svc                   ClusterIP   10.0.0.224   <none>        9080/TCP                                                          111d
    my-eventstreams-ibm-es-ui-svc                     NodePort    10.0.0.192   <none>        32000:30634/TCP                                                   111d
    my-eventstreams-ibm-es-zookeeper-fixed-ip-svc-0   ClusterIP   10.0.0.236   <none>        2181/TCP,2888/TCP,3888/TCP                                        111d
    my-eventstreams-ibm-es-zookeeper-fixed-ip-svc-1   ClusterIP   10.0.0.125   <none>        2181/TCP,2888/TCP,3888/TCP                                        111d
    my-eventstreams-ibm-es-zookeeper-fixed-ip-svc-2   ClusterIP   10.0.0.87    <none>        2181/TCP,2888/TCP,3888/TCP                                        111d
    my-eventstreams-ibm-es-zookeeper-headless-svc     ClusterIP   None         <none>        2181/TCP,2888/TCP,3888/TCP                                        111d
    
    

For your firewall settings, ensure the external ports are open. For example, in the previous UI example, it is the second number for the highlighted NodePort rows: 30314, 30634, 32417, 31557, 32712, and 32340.

For your load balancer settings, you need to expose the following ports:

  • For the CLI, ensure you forward the external port to both the master and the proxy nodes. This is the second port listed in the <release_name>-<namespace>-rest-proxy-svc row. In the previous example, the port is the second number in the PORT(S) column of the my-eventstreams-ibm-es-rest-proxy-svc row: 30314.
  • For the UI, ensure you forward the external port to both the master and the proxy nodes. This is the second port listed in the <release_name>-<namespace>-ui-svc row. In the previous example, the port is the second number in the PORT(S) column of the my-eventstreams-ibm-es-ui-svc row: 30634.
  • For Kafka, ensure you forward the external port to the proxy node. This is the second port listed in the <release_name>-<namespace>-proxy-svc row. In the previous example, the ports are the second numbers in the PORT(S) column of the my-eventstreams-ibm-es-proxy-svc row: 32417, 31557, 32712, and 32340.

Connecting clients

You can set up external client access during installation. After installation, clients can connect to the Kafka cluster by using the externally visible IP address for the Kubernetes cluster. The port number for the connection is allocated automatically and varies between installations. To look up this port number after the installation is complete:

  1. Log in to your IBM Cloud Private cluster management console from a supported web browser by using the URL https://<Cluster Master Host>:<Cluster Master API Port>. The master host and port for your cluster are set during the installation of IBM Cloud Private. For more information, see the IBM Cloud Private documentation.
  2. Enter an IBM Cloud Private administrator user name and password.
  3. From the navigation menu, click Workloads > Helm Releases.
  4. In the NAME column, locate and click the release name used during installation.
  5. Scroll down through the sections and locate the Service section.
  6. In the NAME column, locate and click the <releasename>-ibm-es-proxy-svc NodePort entry.
  7. In the Type column, locate the list of Node port links.
  8. Locate the top entry in the list named bootstrap <bootstrap port>/TCP.
  9. If no external hostname was specified when Event Streams was installed, this is the IP address and port number that external clients should connect to.
  10. If an external hostname was specified when Event Streams was installed, clients should connect to that external hostname using this bootstrap port number.

Before connecting a client, ensure the necessary certificates are configured within your client environment. Use the TLS and CA certificates if you provided them during installation, or export the self-signed public certificate from the browser.

To export the self-signed public certificate from the browser:

  1. Log in to your Event Streams UI.
  2. Click Connect to this cluster on the right.
  3. On the Connect a client tab, copy the address from the Bootstrap server section. This gives the bootstrap address for Kafka clients.
  4. From the Certificates section, download the server certificate. If you are using a Java client, use the Java truststore. Otherwise, use the PEM certificate.

Red Hat OpenShift only: fixing certificate errors

If you are installing Event Streams on the OpenShift Container Platform, there is a known issue that causes kubectl and oc commands to result in a certificate error after logging in with the IBM Cloud Private cloudctl login command.

As a temporary fix, you can run the following command after running cloudctl login:

kubectl config set-cluster mycluster --insecure-skip-tls-verify=true

To permanently resolve this issue, edit the existing cluster-ca-cert system secret to add an additional certificate as described in the IBM Cloud Private documentation.

Setting up access

Secure your installation by managing the access your users and applications have to your Event Streams resources.

For example, associate your IBM Cloud Private teams with your Event Streams instance to grant access to resources based on roles.

Scaling

Depending on the size of the environment that you are installing, consider scaling and sizing options. You might also need to change scale and size settings for your services over time. For example, you might need to add additional Kafka brokers over time.

See how to scale your environment

Considerations for GDPR readiness

Consider the requirements for GDPR, including encrypting your data for protecting it from loss or unauthorized access.