Code Monkey home page Code Monkey logo

mariadb-broker's Introduction

MariaDB Broker

This is an implementation of a Service Broker that uses Helm to provision instances of MariaDB. This is a proof-of-concept for the Kubernetes Service Catalog, and should not be used in production.

Learn more about the Kubernetes Service Catalog

NOTE: Works on Kubernetes v1.8.3 + Service Catalog v0.1.2.

An existing MariaDB Server

Suppose you already have a MariaDB Server outside the Kubernetes cluster.

docker run -d --name=mariadb-server -p 3306:3306 -e MYSQL_ROOT_PASSWORD=passw0rd mariadb:10.1.16

Installing the Broker

docker run -d --name=mariadb-broker -p 8005:8005 -e MARIADB_HOST=10.10.25.250 -e MARIADB_PORT=3306 -e MARIADB_USER=root -e MARIADB_PASS=passw0rd siji/mariadb-broker:1.0.0

Or using Helm chart:

helm install --name=mariadb-broker charts/mariadb-broker

Create MariaDB broker in Kubernetes cluster

Please update the Broker URL in examples/mariadb-broker.yaml.

kubectl apply -f examples/1.mariadb-broker.yaml

Create a MariaDB instance for JPress blog system

kubectl apply -f examples/2.jpress/2.1.jpress-instance.yaml

kubectl apply -f examples/2.jpress/2.2.jpress-binding.yaml

kubectl apply -f examples/2.jpress/2.3.jpress-blog-system.yaml

Create a MariaDB instance for Wordpress blog system

kubectl apply -f examples/3.wodpress/3.1.wordpress-instance.yaml

kubectl apply -f examples/3.wodpress/3.2.wordpress-binding.yaml

kubectl apply -f examples/3.wodpress/3.3.wordpress-blog-system.yaml

mariadb-broker's People

Contributors

gyliu513 avatar liukuan73 avatar

Watchers

James Cloos avatar  avatar

Forkers

chenguang209

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.