oke-cluster-start-stop, a kubectl Plugin for starting/stopping all the Compute Nodes of an OKE Cluster


If you want to start or stop all of your OKE data plane cluster nodes you must go to all the nodes and execute the action one by one. The current post depicts a kubectl plugin extension created for helping you to start/stop your oke clusters. NOTES: The tool has been developed and tested in … Continue reading oke-cluster-start-stop, a kubectl Plugin for starting/stopping all the Compute Nodes of an OKE Cluster

“Kool” Kubernetes Client Tools


When working with k8s, you typically have several clusters and a bunch of namespaces per cluster, the following tools can help you manage the stuff with easy. kubectx + kubens kubectx allows you to change the context between different k8s clusters kubens allows you to change between different namespaces in the current cluster context brew … Continue reading “Kool” Kubernetes Client Tools

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 … Continue reading Set Up an Ingress Controller in OKE Cluster

Shared Disk Seen by Pods Deployed in two Independent OKE Clusters across two Cloud Regions | Remote Network Peering


In this episode we are creating 2 independent OKE clusters, one in Frankfurt and the other in Phoenix, and then we will create a File System in Frankfurt (kind of NFS server) that will act as repository for a shared persistent volume reachable by all the pods of a deployment deployed to both clusters. Remote … Continue reading Shared Disk Seen by Pods Deployed in two Independent OKE Clusters across two Cloud Regions | Remote Network Peering

How to ssh to OKE (k8s) Private Node (worker compute node) via Jump Box (Bastion Server)


In OKE typically you create, for redundancy and high availability reasons, a k8s cluster in 5 or more subnets: 2 are public and, in there, is where the public load balancer is deployed, for example one in AD1 and the other in AD3 3 or more are private, and, in there, is where the worker … Continue reading How to ssh to OKE (k8s) Private Node (worker compute node) via Jump Box (Bastion Server)

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 … Continue reading 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

Microservices and SODA: JSON Data Stored in an Oracle Database Accessed through​ REST or Java


Simple Oracle Document Access SODA (Simple Oracle Document Access) is a non-SQL style of storing/retrieving JSON data in an Oracle database. It's so easy to work with SODA! Let's get started. First, enable ORDS schema in your database. Second, deploy ORDS in K8s (you can also deploy ORDS standalone in your laptop or in a container … Continue reading Microservices and SODA: JSON Data Stored in an Oracle Database Accessed through​ REST or Java

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 😉

Deploy Hyperledger Composer on Oracle Cloud Container Native (Managed Kubernetes) in less than 30 Minutes


PART ONE: PREPARE YOUR ENVIRONMENT Get a cloud account, log in with your IdCS credentials, go to the Compute (new OCI) dashboard and create a local user: Create a Policy: Add the following policy statements it they don't exist: Create a Compartment: Create a Virtual Cloud Network (VCN) and 3 subnets on it in case … Continue reading Deploy Hyperledger Composer on Oracle Cloud Container Native (Managed Kubernetes) in less than 30 Minutes