Advertisements

Tag: KUBERNETES

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…

Read 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

Creating a Java Microservice with Helidon/Microservice Archetype Deployed in Kubernetes

With Helidon you can create Java microservices easily. In this blog, we are creating/exposing a REST service that gets a JSON document stored in an Oracle database and retrieves it to the requestor. For retrieving the JSON document from the database we are using ORDS and SODA but you can use JDBC as well, we’ll show…

Read more Creating a Java Microservice with Helidon/Microservice Archetype Deployed in Kubernetes

Pushing a Container to Oracle Cloud Infrastructure Registry (OCIR) and Pulling it from OKE

OCIR is a Docker v2 compliant private registry provided by Oracle in their OCI (Oracle Cloud Infrastructure) offering. Let’s have a look at it. First log in to the repository this way: docker login <region-code>.ocir.io, where <region-code> is documented here. Then, you’ll need a user/password. For the user, provide an existing user in the OCI tenancy.…

Read more Pushing a Container to Oracle Cloud Infrastructure Registry (OCIR) and Pulling it from OKE

Deploy Sample Application to Kubernetes Cluster (Oracle Cloud Container Clusters)

Gonna deploy in K8S a simple-sample HTML5/JS app made with JET Toolkit Grab a K8S cluster from here Follow setup instructions from here and here and here and/or check this post And finally execute this: kubectl create deployment jetapp --image=docker.io/javiermugueta/myjetapp kubectl expose deployment jetapp --type=LoadBalancer --port=8000 Enjoy 😉

Read more Deploy Sample Application to Kubernetes Cluster (Oracle Cloud Container Clusters)