kubernetes

Get Started with Bitnami Charts using the IBM Cloud Kubernetes Service

Introduction

IBM Cloud Kubernetes Service is a managed Kubernetes service for production environments. Key features include intelligent scheduling, self-healing, horizontal scaling, service discovery and load balancing, automated rollouts and rollbacks, and secret and configuration management.

IBM Cloud Kubernetes Service makes it easy to configure and deploy a new Kubernetes cluster. Once you have your cluster running, you can use the IBM Cloud Catalog to deploy Bitnami’s Kubernetes-ready applications into your cluster with a single click.

This tutorial will walk you, step by step, through the process of deploying Bitnami applications on a running IBM Cloud Kubernetes Service cluster.

Assumptions and prerequisites

This tutorial assumes that:

For illustrative purposes, this guide will show you the steps to deploy the Bitnami WordPress Helm chart on your IBM Cloud Kubernetes cluster. But WordPress is just an example: there are many other Helm charts available to choose from, and they’re all equally easy to deploy by following the same steps.

Step 1: Deploy WordPress through the IBM Cloud Catalog

At the end of this step, you will have WordPress running in your IBM Cloud Kubernetes cluster.

Follow the steps below:

  • Log in to your IBM Cloud account
  • Click the “Catalog” menu item in the top navigation bar.
  • Select the “Software” tab of the catalog.
  • Search for and select WordPress from the list of applications.

    WordPress selection

  • On the application deployment page, select your IBM Cloud Kubernetes Service cluster. Use the default namespace or add a custom namespace for the deployment.

    WordPress deployment

  • Scroll down to the application customization section and review the details of the deployment, such as the WordPress blog name, administrator name and email address, and administrator password. Enter a custom password, or leave it blank to have a random password generated.

    WordPress deployment configuration

  • Read and agree to the license agreements. Click “Install” to begin the deployment.

IBM Cloud will now begin deploying WordPress to the Kubernetes cluster. This may take a few minutes and the status of the deployment will be visible in the workspace, as shown below.

WordPress deployment status

Once complete, review the notes and run the commands shown to obtain the service’s public IP address and credentials (if randomly generated) to log in to WordPress. You can now access WordPress by launching your Web browser and browsing to the service address. You should see the front page of your blog with a sample post, as below:

WordPress home page

Step 2: Log in and start using WordPress

At the end of this step, you will have logged in to WordPress and created a new blog post.

To log in to the WordPress dashboard, follow these steps:

  • Browse to the WordPress dashboard, usually at the URL http://SERVER-IP/wp-admin.

  • Log in with the administrator credentials from the previous step.

    WordPress credentials

You should now arrive at the WordPress dashboard, which allows you to manage posts, pages and comments; customize your blog with themes and plugins; import and export content; manage navigation menus; add or delete new user accounts; and much more.

WordPress credentials

Create your first post

You can now add a new post using the following steps:

  • Select the “Posts -> Add New” menu option to create a new post.

    Add new WordPress post

  • Enter a title and content for the post. You can use the formatting tools at the top of the content area to format your post and add hyperlinks or images.

  • Optionally, choose the format and category for your post.

  • Publish it immediately using the “Publish” button.

    Add new WordPress post

And now, when you visit your blog’s front page, you should see your new post.

WordPress post publishing

Congratulations! You now have a working, fully-functional WordPress blog in the cloud.

Keep your WordPress installation up-to-date

You can keep your WordPress installation up-to-date with the WordPress update feature. To access this:

  • Log in to WordPress using the administrator account.
  • Select the “Dashboard -> Updates” menu item.

    WordPress update

  • Review the resulting page to see if WordPress needs an update. If an update is available, you can install it by clicking the “Update Now” button. You can also re-install WordPress if needed with the “Re-install Now” button.

    WordPress update

To learn more about the topics discussed in this tutorial, use the links below:

Last modification November 15, 2019