An open API service indexing awesome lists of open source software.

https://github.com/oracle-quickstart/oke-hazelcast

Describes how to use Hazelcast on Oracle Kubernetes Engine (OKE)
https://github.com/oracle-quickstart/oke-hazelcast

cloud docker hazelcast kubernetes oke operator oracle partner-led terraform

Last synced: 2 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# 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](https://github.com/hazelcast/charts) up on [Oracle Cloud Infrastructure Container Engine for Kubernetes (OKE)](https://cloud.oracle.com/containers/kubernetes-engine). 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](https://oci-resourcemanager-plugin.plugins.oci.oraclecloud.com/latest/deploy-to-oracle-cloud.svg)](https://cloud.oracle.com/resourcemanager/stacks/create?region=home&zipUrl=https://github.com/oracle-quickstart/oke-hazelcast/archive/master.zip)

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](https://github.com/oracle/oke-quickstart-prerequisites) 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](https://github.com/hazelcast/charts) 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:

![](./images/01%20-%20helm%20repo.png)

## 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:

![](./images/02%20-%20helm%20install.png)

You can grab the Management Center IP by running:

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

That gives:

![](./images/03%20-%20kubectl.png)

You can access Management Center on `http://:8080/hazelcast-mancenter`

![](./images/04%20-%20management%20center.png)

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

![](./images/05%20-%20cluster.png)

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

helm delete my-release

That gives:

![](./images/06%20-%20helm%20delete.png)