GithubHelp home page GithubHelp logo

h-r-k-matsumoto / gcs-crd Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 55.52 MB

custom resource definitions for google cloud storage.

License: Apache License 2.0

Dockerfile 1.43% Makefile 4.16% Go 94.41%
kubernetes golang gcs

gcs-crd's Introduction

GCS CRD

This is implementation of Kubernetes Custom Resrouce Definitions.
The Goal is to opearation GCS as a resource of Kubernetes.

Remember that GKE has Servive Broker.

Development using Kubebuilder.

Details of this repository are described at the following site. Sorry, it will be in Japanese. https://qiita.com/h-r-k-matsumoto/items/ab7ead01c89af60119aa

It is still in development.

How to use

Local Development

Prepare

  • install Kubebuilder.
  • set GOOGLE_APPLICATION_CREDENTIALS environemt.Please see here.

Running

$ make install
$ make run

Please change the following part of the manifest sample.

  bucketName: crd-gcs-example
  projectID: <<set-your-gcp-projectid>>
$ kubectl apply -f ./config/samples/

bucketName is crd target logical name.
The actual bucket name is generated by the controller.
e.g. logical name is crd-gcs-example2, actual name is crd-gcs-example2-cabjafbb-pllngz .

Deploy to GKE.

Prepare

Running

$ make deploy

Please change the following part of the manifest sample.

  bucketName: crd-gcs-example
  projectID: <<set-your-gcp-projectid>>
$ kubectl apply -f ./config/samples/

bucketName is crd target logical name.
The actual bucket name is generated by the controller.
e.g. logical name is crd-gcs-example2, actual name is crd-gcs-example2-cabjafbb-pllngz .

gcs-crd's People

Contributors

h-r-k-matsumoto avatar

Watchers

 avatar

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.