Skip to content

Describes how to use Hazelcast on Oracle Kubernetes Engine (OKE)

License

Notifications You must be signed in to change notification settings

oracle-quickstart/oke-hazelcast

Repository files navigation

oke-hazelcast

This repo is an active colaboration between OCI and Hazelcast. The helm description below is being superceeded, but remains for the moment.

This is a walkthrough of setting the Hazelcast Operator up on Oracle Cloud Infrastructure Container Engine for Kubernetes (OKE). It is developed jointly by Oracle and Hazelcast.

Prerequisites

First you're going to need to setup an Oracle Cloud account. The terraform in this directory will deploy create a VCN and OKE cluster. Clicking the deploy button below will direct you to the console

Deploy to Oracle Cloud

If you want to deploy onto an existing OKE cluster you need to set your environmental variables and configure kubectl. It sounds like a lot, but there's a nice walkthrough here that should help.

Get the Helm Chart

Great, you made it!

Now time for the fun part... Let's deploy the Hazelcast Operator using a Helm chart. That's all detailed in a great readme here Basically all you need to do is run:

helm init --upgrade
helm repo add hazelcast https://hazelcast.github.io/charts/
helm repo update

That should give you something like this:

Install the Chart

To install the chart run:

helm install --name my-release hazelcast/hazelcast

This prints out all sorts of helpful stuff about how to access the cluster:

You can grab the Management Center IP by running:

kubectl get svc --namespace default my-release-hazelcast-mancenter

That gives:

You can access Management Center on http://<ip_address>:8080/hazelcast-mancenter

Create a user and then you can check out the cluster:

Deleting the Chart

When you're all done with you cluster, you can run this to delete it:

helm delete my-release

That gives: