Automating start/stop of OKE Cluster with DevCS


Reusing the work published here, here and here we are showing today how to schedule the start/stop sequence of an OKE cluster with Developer Cloud Service. Start schedule Create a build with the step as follows: git clone https://github.com/javiermugueta/oke-cluster-start-stop.git cd oke-cluster-start-stop ./oke-cluster-start-stop.sh -r=<region> -c=<compartment> -k=<clustername> -o=start The rest of steps pretty much equal to explained … Continue reading Automating start/stop of OKE Cluster with DevCS

Bitbucket Pipeline for Pushing, via Bastion Host, React Static Content to a Farm of Web-server Pods Running in Oracle Kubernetes Engine Cluster on Top Oracle Content and Experience Cloud


Intro In this post we are explaining how to publish React content to a remote Kubernetes cluster which has a Replicaset of Apachii pods, all of them mounting the shared disk via a PersistentVolume, where the content is pushed by sftp from Bitbucket using a pipeline, for serving the static content on top of a … Continue reading Bitbucket Pipeline for Pushing, via Bastion Host, React Static Content to a Farm of Web-server Pods Running in Oracle Kubernetes Engine Cluster on Top Oracle Content and Experience Cloud

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

Near Real Time Data Driven SaaS Integration with Streaming | Part 2: Extracting/Publishing Data Changes to Streaming Topics


As we mentioned in a previous post, the idea here is to develop a construct that seeks for changes in the SaaS data system and publishes those changes to a stream for later consumption from other systems over there. Indeed, as we see in the diagram, there is a block in which we are executing a program … Continue reading Near Real Time Data Driven SaaS Integration with Streaming | Part 2: Extracting/Publishing Data Changes to Streaming Topics

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

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 … Continue reading Deploying a Coherence Cluster in Kubernetes

WebLogic Kubernetes Operator: Deploying a Java App in a WebLogic Domain on Oracle Kubernetes Engine (OKE) in 30 Minutes


WebLogic Kubernetes Operator provides a way of running WLS domains in a k8s cluster. For this post we are depicting the steps of the tutorial you can find in the documentation here. So let's get started! What you need: a k8s clusterkubectlmavengitdocker60 minutes git clone https://github.com/oracle/weblogic-kubernetes-operator docker login docker pull oracle/weblogic-kubernetes-operator:2.2.0 docker pull traefik:1.7.6 For … Continue reading WebLogic Kubernetes Operator: Deploying a Java App in a WebLogic Domain on Oracle Kubernetes Engine (OKE) in 30 Minutes

Deploying an Oracle Database with Persistence Enabled in Oracle Kubernetes Engine in Ten Minutes or Less


In a previous post I explained how to create the same thing using an image published in docker registry under my user. Well... that post is not working anymore because I deleted the image for some reasons. The method exposed here is better because the deployment file pulls the official image published here. Therefore you … Continue reading Deploying an Oracle Database with Persistence Enabled in Oracle Kubernetes Engine in Ten Minutes or Less

Configuring Grafana for Oracle Kubernetes Engine


INSTALL GRAFANA LOCALLY brew install grafana http://localhost:3000 INSTALL K8S PLUGIN FOR GRAFANA grafana-cli plugins install grafana-kubernetes-app brew services restart grafana INSTALL PROMETHEUS ON OKE helm install --name my-prometheus stable/prometheus export POD_NAME=$(kubectl get pods --namespace default -l "app=prometheus,component=server" -o jsonpath="{.items[0].metadata.name}") kubectl --namespace default port-forward $POD_NAME 9090 CONFIGURE PROMETHEUS DATASOURCE CONFIGURE K8S DATASOURCE USE IT That's all! … Continue reading Configuring Grafana for Oracle Kubernetes Engine