{"repo":"IBM/operator-sample-go","free":true,"listed":false,"github":"https://github.com/IBM/operator-sample-go","clone":"git clone https://github.com/IBM/operator-sample-go.git","description":"Kubernetes Operator Samples using Go, the Operator SDK and OLM","language":"Shell","stars":68,"topics":["kubernetes","openshift","go","devops","golang","automation","operator","operations","day2","kubernetes-operator"],"license":"Apache-2.0","category":"deployment-docker-iac","readme_excerpt":"Kubernetes Operator Patterns and Best Practises This project contains Kubernetes operator samples that demonstrate best practices how to develop operators with Golang, Operator SDK including Kubebuilder and the Operator Lifecycle Manager Framework. Brief Overview The repo contains two operators: Application operator: Deploys and manages a front-end micro-service application which provides a simple web UI. Database operator: Deploys and manages a simple database. Used by the front-end application. Additionally the repo contains four more application components: simple-microservice - A front end web application, written in Java using Quarkus database-service - A simple database application deployed by the database operator, written in Java using Quarkus operator-database-backup - A Go application to query the database and upload the data to cloud object storage. This container is launched on a schedule by the database operator operator-application-scaler - A Go application used to make autoscaling decisions for the front-end. It queries Prometheus metrics exposed by the simple-microservice, and if necessary, modifies the custom resource which defines the size of the front-end deployment. This container is launched on a schedule by the application operator Scripts are provided to automate build and deployment: scripts - Automation to verify workstation prerequisites, build all container images and deploy to a Kubernetes or OpenShift cluster. Alternatively, the scripts can deploy","default_branch":null,"files":null,"tree":[],"storefront":"/r/IBM","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/IBM/operator-sample-go/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}