Coder Social home page Coder Social logo

criscola / kubernetes-dbaas Goto Github PK

View Code? Open in Web Editor NEW
11.0 5.0 6.0 23.68 MB

A unique Kubernetes Database-as-a-Service (DBaaS) Operator for declarative, self-service database provisioning in DBMS solutions.

License: Apache License 2.0

Dockerfile 0.50% Makefile 6.16% Go 84.28% Smarty 1.60% JavaScript 6.04% CSS 1.43%
kubernetes kubernetes-operator database database-management-systems database-provisioning automation stored-procedures declarative-config helm go

kubernetes-dbaas's Introduction

Hi there ๐Ÿ‘‹

kubernetes-dbaas's People

Contributors

criscola avatar mgruener avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

kubernetes-dbaas's Issues

mdatabase.kb.io webhook error

Hello,

I use:
Kubernetes v1.21.1
cert-manager 1.4.4

This is my configuration:
values.yaml:

enableMetricsRbac: false
dbms:
  - databaseClassName: "postgres-default"
    endpoints:
      - name: "postgres-default"
        dsn: "postgres://postgres@REDACTED"

postgres-example.yaml:

apiVersion: database.dbaas.bedag.ch/v1
kind: Database
metadata:
  name: database-sample  
spec:
  endpoint: postgres-default

I get a the following error message on kubectl apply -f postgres-example.yaml:

Error from server (InternalError): error when creating "postgres-example.yaml": Internal error occurred: failed calling webhook "mdatabase.kb.io": Post "https://kubernetes-dbaas-webhook-service.kubernetes-dbaas-system.svc:443/mutate-database-dbaas-bedag-ch-v1-database?timeout=10s": dial tcp 10.250.98.125:443: connect: connection refused

Trival flow for Postgres

Hi,

Your software seems great, but I try the simpliest flow but I cannot get it run.
Especially, the stored procedure deployment is not documented (there is examples in the test data).
The Usage specify apiVersion: dbaas.bedag.ch/v1 whereas it seems that apiVersion: database.dbaas.bedag.ch/v1 should be used instead.

I think you should describe a minimal working flow that is sure to be working:

  • Get a cluster with the right version
  • Install cert-manager
  • Install prometeus (I think you should disable it be default to start with)
  • Execute Stored Procedure creation script (it would be even better if these are auto-created if not specified otherwise)
  • Configure a database class (without SecretRef to start with) in values.yaml
  • Install kubernetes-dbaas
  • apply a database creation file

By just doing that I should I should have a database up & running with a secret in my namespace

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.