/ecs-operator

Primary LanguageGoApache License 2.0Apache-2.0

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