https://github.com/tkestack/csi-operator
https://github.com/tkestack/csi-operator
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/tkestack/csi-operator
- Owner: tkestack
- License: other
- Created: 2019-11-05T10:32:41.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-03-29T08:47:45.000Z (over 4 years ago)
- Last Synced: 2025-04-02T20:38:35.975Z (over 1 year ago)
- Language: Go
- Size: 271 KB
- Stars: 14
- Watchers: 7
- Forks: 10
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# csi-operator
Operator that deploys and updates CSI driver and external components in Kubernetes cluster.
## Build
Please install `revive` before building:
```
go get -u github.com/mgechev/revive
```
To make the binary, just run:
```bash
make csi-operator
```
The binary will be located at `output/bin/csi-operator`.
To release the image, just run:
```bash
make docker-build
```
Then a image with name `csi-operator:latest` will be created.
## Usage
`csi-operator` can be deployed inside the kubernetes cluster:
1. Create the RBAC objects needed by `csi-operator`:
```bash
kubectl -f deploy/kubernetes/rbac.yaml
```
2. Create a deployment to run the `csi-operator`:
```bash
kubectl -f deploy/kubernetes/deployment.yaml
```
## Examples
There are a large number of examples in [examples](examples/).