From 7488d49c9f28a870cf15f6a643e851f28992f2c2 Mon Sep 17 00:00:00 2001 From: Eguzki Astiz Lezaun Date: Tue, 18 May 2021 10:10:34 +0200 Subject: [PATCH] Initial development doc (#14) * Initial development doc * README.doc: fix overview --- README.md | 16 +++++++++++++++- doc/development.md | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+), 1 deletion(-) create mode 100644 doc/development.md diff --git a/README.md b/README.md index f73425871..fef9299bc 100644 --- a/README.md +++ b/README.md @@ -1 +1,15 @@ -# kuadrant-controller \ No newline at end of file +# kuadrant-controller + +[![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](http://www.apache.org/licenses/LICENSE-2.0) + +## Overview +Kuadrant is a re-architecture of API Management using Cloud Native concepts and separating the components to be less coupled, more reusable and leverage the underlying platform. + +## Contributing +The [Development guide](doc/development.md) describes how to build the kuadrant controller and how to test your changes before submitting a patch or opening a PR. + +## Licensing + +This software is licensed under the [Apache 2.0 license](https://www.apache.org/licenses/LICENSE-2.0). + +See the LICENSE and NOTICE files that should have been provided along with this software for details. diff --git a/doc/development.md b/doc/development.md new file mode 100644 index 000000000..d963d2928 --- /dev/null +++ b/doc/development.md @@ -0,0 +1,37 @@ +# Development Guide + +## Technology stack required for development + +* [operator-sdk] version v1.16.1 +* [kind] version v0.9.0 +* [git][git_tool] +* [go] version 1.15+ +* [kubernetes] version v1.19+ +* [kubectl] version v1.19+ + +## Local setup + +``` +$ make local-setup +``` + +List of tasks done by the command above: + +* Create local cluster using kind +* Build kuadrant docker image +* Deploy **ingress provider** (currently [Istio](https://istio.io)) +* Deploy Kuadrant control plane +* Deploy EchoAPI + +### Cleaning up + +``` +$ make local-cleanup +``` + +[git_tool]:https://git-scm.com/downloads +[operator-sdk]:https://github.com/operator-framework/operator-sdk +[go]:https://golang.org/ +[kind]:https://kind.sigs.k8s.io/ +[kubernetes]:https://kubernetes.io/ +[kubectl]:https://kubernetes.io/docs/tasks/tools/#kubectl