Skip to content

Commit 5e2a393

Browse files
authored
Merge pull request #57 from embik/extend-readme
Extend README.md and align other documents
2 parents 997b353 + e02e45b commit 5e2a393

File tree

4 files changed

+79
-88
lines changed

4 files changed

+79
-88
lines changed

CODE_OF_CONDUCT.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
This project is following the [CNCF Code of Conduct](https://github.com/cncf/foundation/blob/main/code-of-conduct.md). For a current version of the Code of Conduct, please see [here](https://github.com/kcp-dev/kcp/blob/main/code-of-conduct.md).

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ We're thrilled that you're interested in contributing to kcp! Please visit our
44
[full contributing guide](https://docs.kcp.io/kcp/main/en/CONTRIBUTING/) on our documentation site.
55

66
Beside that, what coverns the project and all contributions to it must follow
7-
the [KCP Project Governance](./GOVERNANCE.md).
7+
the [kcp Project Governance](https://github.com/kcp-dev/kcp/blob/main/GOVERNANCE.md).
88

9-
From the KCP Project Governance, the following manifesto should guide the technical
9+
From the kcp Project Governance, the following manifesto should guide the technical
1010
decisions through-out all contributions:
1111

1212
> kcp maintainers strive to be good citizens in the Kubernetes project.

README.md

Lines changed: 76 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,63 @@
11
# kcp-dev/kcp-operator
22

3-
This is a work-in-progress operator to deploy and manage kcp instances. Please check back later!
3+
[![Go Report Card](https://goreportcard.com/badge/github.com/kcp-dev/kcp-operator)](https://goreportcard.com/report/github.com/kcp-dev/kcp-operator)
4+
[![GitHub](https://img.shields.io/github/license/kcp-dev/kcp-operator)](https://img.shields.io/github/license/kcp-dev/kcp-operator)
5+
[![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/kcp-dev/kcp-operator?sort=semver)](https://img.shields.io/github/v/release/kcp-dev/kcp-operator?sort=semver)
6+
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fkcp-dev%2Fkcp-operator.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fkcp-dev%2Fkcp-operator?ref=badge_shield)
47

5-
## Requirements
8+
> [!WARNING]
9+
> While kcp-operator is usable, the project is still in an early state. Please only use it if you know what you are doing. We recommend against using it in production setups right now.
10+
11+
kcp-operator is a Kubernetes operator to deploy and run [kcp](https://github.com/kcp-dev/kcp) instances on a Kubernetes cluster. kcp is a horizontally scalable control plane for Kubernetes-like APIs.
12+
13+
## Features
14+
15+
- [x] Create and update core components of a kcp setup (root shard, additional shards, front proxy)
16+
- [x] Support for multi-shard deployments of kcp
17+
- [ ] Support for a dedicated cache-server deployment not embedded in the root shard
18+
- [x] Generate and refresh kubeconfigs for accessing kcp instances or specific shards
19+
- [ ] Cross-namespace/-cluster setups of a multi-shard kcp deployment
20+
21+
## Support Matrix
22+
23+
The table below marks known support of a kcp version in kcp-operator versions.
24+
25+
| kcp | `main` |
26+
| ------ | ------------------ |
27+
| `main` | :warning: [^1] |
28+
| 0.27.x | :white_check_mark: |
29+
30+
[^1]: While we try to support kcp's `main` branch, this support is best effort and should not be used for deploying actual kcp instances.
31+
32+
## Installation
33+
34+
### Requirements
635

736
- [cert-manager](https://cert-manager.io/)
837

38+
39+
### Helm Chart
40+
41+
A Helm chart for kcp-operator is maintained in [kcp-dev/helm-charts](https://github.com/kcp-dev/helm-charts/tree/main/charts/kcp-operator). To install it, first add the Helm repository:
42+
43+
```sh
44+
helm repo add kcp https://kcp-dev.github.io/helm-charts
45+
```
46+
47+
And then install the chart:
48+
49+
```sh
50+
helm upgrade --install --create-namespace --namespace kcp-operator kcp/kcp-operator kcp-operator
51+
```
52+
953
## Quickstart
1054

1155
### RootShard
1256

13-
Running a root shard requires a running etcd instance/cluster. You can set up a simple one via Helm (THIS IS INSECURE, NEVER DEPLOY ETCD LIKE THIS IN PRODUCTION):
57+
> [!CAUTION]
58+
> Never deploy etcd like below in production as it sets up an etcd instance without authentication or TLS.
59+
60+
Running a root shard requires a running etcd instance/cluster. You can set up a simple one via Helm:
1461

1562
```sh
1663
$ helm install etcd oci://registry-1.docker.io/bitnamicharts/etcd --set auth.rbac.enabled=false --set auth.rbac.create=false
@@ -73,6 +120,15 @@ graph TB
73120
classDef cert color:orange
74121
```
75122

123+
## Contributing
124+
125+
Thanks for taking the time to start contributing!
126+
127+
### Before You Start
128+
129+
* Please familiarize yourself with the [Code of Conduct][4] before contributing.
130+
* See [our contributor documentation][2] for instructions on the developer certificate of origin that we require.
131+
76132
### Running E2E tests locally
77133

78134
In order to run the E2E tests locally, you will need to setup cert-manager with the sample clusterissuer:
@@ -81,3 +137,20 @@ In order to run the E2E tests locally, you will need to setup cert-manager with
81137
helm upgrade --install --namespace cert-manager --create-namespace --version v1.16.2 --set crds.enabled=true cert-manager jetstack/cert-manager
82138
kubectl apply -n cert-manager --filename hack/ci/testdata/clusterissuer.yaml
83139
```
140+
141+
### Pull Requests
142+
143+
* We welcome pull requests. Feel free to dig through the [issues][1] and jump in.
144+
145+
## Changelog
146+
147+
See [the list of releases][3] to find out about feature changes.
148+
149+
## License
150+
151+
This project is licensed under [Apache-2.0](./LICENSE).
152+
153+
[1]: https://github.com/kcp-dev/kcp-operator/issues
154+
[2]: https://docs.kcp.io/kcp/main/contributing/getting-started/#developer-certificate-of-origin-dco
155+
[3]: https://github.com/kcp-dev/kcp-operator/releases
156+
[4]: https://github.com/kcp-dev/kcp/blob/main/code-of-conduct.md

code-of-conduct.md

Lines changed: 0 additions & 83 deletions
This file was deleted.

0 commit comments

Comments
 (0)