How-tos

Turn-key Kubernetes with data visualization and analytics

Share this post:

(Ed.–This post covers 1 of 3 related tutorials you can do around Kubernetes-based application development. The author mentions the other two–on creating a highly scalable web app, and on establishing a DevOps pipeline–after discussing the tutorial on setting up visualization of app log data.) 

Monitoring or diagnosing performance or errors with your applications, containers, Kubernetes pods or workers doesn’t have to be challenge. IBM Cloud delivers a set of integrated tools to remove this hurdle, even for a user that has little experience managing clusters. These tools provide a single pane of glass to manage application activity and health across multiple clusters, compute options and/or regions.

We recently created a new tutorial that brings together IBM Cloud Developer Tools, IBM Container Service with Kubernetes, Log Analysis and Monitoring.

Get into the code

Follow this tutorial to go from scratch to having an application running in a cloud-hosted Kubernetes cluster with built-in industry standard open source tools for log aggregation, data visualization, monitoring and alerting.

Once you’ve created your cluster on IBM Cloud (you can do that here), this tutorial should take you no more than 30 minutes.

Architecture

Along with this current tutorial, there are two others that build on each other:

 Scalable web app on Kubernetes gets guides you through deploying and scaling a web app. While you’re at it, consider what’s involved in adding a chatbot to that web experience; here’s how online-only banker UBank did it. 

Continuous deployment on Kubernetes sets you up with a DevOps pipeline.

You can start with any of them but, if you have no other preference, I would recommend doing them in sequence, top to bottom. 

https://console.bluemix.net/docs/tutorials/index.html#tutorials

This current solution starts off by using the IBM Cloud Developer Tools to generate a starter application. No need to program your own yml files or Helm Charts. The starters come preconfigured ready to use as-is or customize them to your liking. Push the containerized application image to a IBM Cloud Container Registry and create a Kubernetes deployment in one single command.

bx_dev_create

Then, stand up your Log Analysis and Monitoring services which ingests data from your cluster. These services are meant to be used with Kubernetes clusters, Cloud Foundry or Virtual Servers. When your application architecture is composed of several microservices, this provides a single dashboard to analyze logs or metrics across all your microservices. Keep in mind that data can also be sent from outside of IBM-Cloud. This scales well to architecture that span across multi-clouds or hybrid environments.

kibana

grafana

Try it today

The tutorials section has a feedback form on the side where you can comment on the content. If you have suggestions on the existing tutorials or ideas for future additions, please submit your feedback.

Start the tutorial

 

IBM Cloud Technical Offering Manager

More How-tos stories
May 6, 2019

Are You Ready for SAP S/4HANA Running on Cloud?

Our clients tell us SAP applications are central to their success and strategy for cloud, with a deadline to refresh the business processes and move to SAP S/4HANA by 2025. Now is the time to assess, plan and execute the journey to cloud and SAP S/4HANA

Continue reading

May 3, 2019

Kubernetes Tutorials: 5 Ways to Get You Building Fast

Ready to start working with Kubernetes? Want to build your Kubernetes skills? The five tutorials in this post will teach you everything you need to know about how to manage your containerized apps with Kubernetes.

Continue reading

May 3, 2019

Using Portworx to Deploy and Manage an HA MySQL Cluster on IBM Cloud Kubernetes Service

This tutorial is a walkthrough of the steps involved in deploying and managing a highly available MySQL cluster on IBM Cloud Kubernetes Service.

Continue reading