ORACLE CLOUD

Set Up an Ingress Controller in OKE Cluster


Here a recipe to create a ingresscontroller. Step 1: setting up the nginx ingress controller kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/master/deploy/static/mandatory.yaml Step 2: exposing the ingress as a service of type LoadBalancer (as a public IP) kubectl apply -f https://raw.githubusercontent.com/javiermugueta/rawcontent/master/cloud-generic.yaml Step 3: Execute this command several times until the external-ip appears as non <pending>, grab the IP […]

More

Deploying a Coherence Cluster in Kubernetes


Coherence-Operator is a Kubernetes opeartor for deploying Oracle Coherence in k8s. Let’s see how to do it. 1 Clean previous setup intents: helm del –purge sample-coherence helm del –purge sample-coherence-operator kubectl delete namespace sample-coherence-ns 2 Execute the following: kubectl config set-context $(kubectl config current-context) –namespace=sample-coherence-ns helm repo add coherence https://oracle.github.io/coherence-operator/charts helm repo update helm –debug […]

More

Microservices Versioning and the “Database per Service Pattern” with Oracle Autonomous Database


The database per service pattern with an Oracle database can be accomplished easily with one instance of Autonomous Database per microservice, a very easy to use and maintain database (relational and JSON). But not only is easy to use and maintain because you don’t have to deal with administration tasks or manage different technologies for persisting […]

More

Building Producer and Consumer Clients in go Language for Oracle Event Hub Cloud Service


CREATE AN OEH CLUSTER Documentation here or watch following video: When the cluster is created, go to details page and grab the connection url, which has the  format <broker1_ip>:6667,…,<brokern_ip>:6667 CREATE A TOPIC INSTALL THE LIB I’ve done the following (Mac): git clone https://github.com/edenhill/librdkafka.git cd librdkafka ./configure –prefix /usr/local make sudo make install (sudo make uninstall […]

More

Connecting Oracle Integration Cloud Service (aka OIC) to API Platform Cloud Service


Integration Oracle Integration Cloud Service is an integration platform consisting in several tools such as: Integration: a low code but extensible integration environment with many out of the box connector adapters and many more in the marketplace Process: a Business Process Managament and Business Rules environment Visual Builder: a visual low code development environment API Management Oracle API Platform Cloud […]

More

Creating a Fast&Simple Container for Sending Messages to a Topic in Oracle Event Hub Cloud Service (aka OEHCS, which is a Kafka cluster) and Deploying it to Kubernetes Cluster


The container uses 4 environment variables, you can find a container already built for you here SOURCE CODE OF THE PRODUCER var sleep = require(‘system-sleep’); const oehcs_connect_url = process.env.OEHCS_CONNECTURL const topic_name = process.env.TOPIC_NAME const num_partitions = process.env.NUM_PARTITIONS const message = process.env.MESSAGE var kafka = require(‘kafka-node’), HighLevelProducer = kafka.HighLevelProducer, client = new kafka.KafkaClient({kafkaHost: oehcs_connect_url}), producer = new […]

More