Code Monkey home page Code Monkey logo

cloudpods-service-operator's Introduction

OneCloud Service Operator

This repo contains the OneCloud Service Operator for Kubernetes(OSO).

An operator in Kubernetes is the combination of one or more custom resources and controllers managing said custom resources.

The OSO will allow containerized applications and Kubernetes users to create, update, delete and retrieve the status of objects in OneCloud services such as Server, Image, Network, Storage, etc. using the Kubernetes API, for example using Kubernetes manifests or kubectl plugins.

Installation

# install all crds
make install

# build
make manager

# run locally
./manager --config xxx.conf

# build and push docker image
make image

Documention

See Documention

Contribution

See Contribution.

License

Apache License 2.0. See LICENSE.

cloudpods-service-operator's People

Contributors

rainzm avatar zexi avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

cloudpods-service-operator's Issues

Build failed for some small bugs by following the README.md

$ make 
/home/liushaohui/softwares/gopath/bin/controller-gen object:headerFile="hack/boilerplate.go.txt" paths="./..."
go fmt ./...
api/v1/endpoint_types.go
controllers/endpoint_controller.go
pkg/resources/endpoint.go
go vet ./...
go: downloading golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543
go: extracting golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543
# yunion.io/x/onecloud-service-operator/controllers
controllers/ansibleplaybook_controller.go:215:34: yunion.io/x/onecloud-service-operator/pkg/resources.APCreateParams composite literal uses unkeyed fields
Makefile:53: recipe for target 'vet' failed
make: *** [vet] Error 2
$ make image 
docker build . -t /onecloud-service-operator:
invalid argument "/onecloud-service-operator:" for "-t, --tag" flag: invalid reference format
See 'docker build --help'.
Makefile:73: recipe for target 'image' failed
make: *** [image] Error 125

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.