ecs-operator

module
v0.0.0-...-801ba76 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 5, 2019 License: Apache-2.0

README

ECS Operator - Use Kubrenetes CRD & Custom Controller to make OpenStack API cloud native.

Note: The repo is in early stage and under frequent development.

Getting started

Requirements

go docker ECS v5 env with ssh access

Steps
  1. Clone repo
$ git clone git@github.com:houming-wang/ecs-operator.git
  1. Build the operator image and upload to one of ECS v5 nodes
$ cd ecs-operator;make image-build
  1. OpenStack auth info config config OpenStack auth info in /etc/openstack/cloud.yaml see examples/cloud.yaml

  2. Deploy operator

$ kubectl apply -f examples/operator-deploy.yaml
  1. Create Instance CRD
$ kubectl apply -f examples/crd.yaml
  1. Create Instance change name、FlavRef、ImageRef、Network UUID in examples/instance-cr.yaml and then
$ kubectl apply -f examples/instance-cr.yaml

Directories

Path Synopsis
pkg
apis/ecs/v1
Package v1 is the v1 version of the API.
Package v1 is the v1 version of the API.
generated/clientset/versioned
This package has the automatically generated clientset.
This package has the automatically generated clientset.
generated/clientset/versioned/fake
This package has the automatically generated fake clientset.
This package has the automatically generated fake clientset.
generated/clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
This package contains the scheme of the automatically generated clientset.
generated/clientset/versioned/typed/ecs/v1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
generated/clientset/versioned/typed/ecs/v1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL