No description
  • Go 94.6%
  • Makefile 2.8%
  • Dockerfile 2.3%
  • Shell 0.3%
Find a file
dependabot[bot] 0e52c8df49
Bump k8s.io/client-go from 0.28.3 to 0.28.4 (#400)
Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go) from 0.28.3 to 0.28.4.
- [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kubernetes/client-go/compare/v0.28.3...v0.28.4)

---
updated-dependencies:
- dependency-name: k8s.io/client-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-20 10:45:12 +01:00
.github Remove label trigger for docker build workflow 2023-10-24 14:36:51 +02:00
config Refactor Bucket and Volume server, fix failing Bucket integration tests & bump deps (#382) 2023-10-24 14:34:11 +02:00
docs Implemented ORI for Buckets (#239) 2023-04-26 12:09:20 +02:00
hack Remove ceph-csi (#196) 2023-04-14 15:15:24 +02:00
integration Fix sporatic in bucket tests (#385) 2023-10-24 16:04:07 +02:00
ori Improve logging in gRPC server methods (#392) 2023-11-06 22:06:05 +01:00
pkg Remove BucketClass API dependency (#391) 2023-11-03 23:43:34 +01:00
.dockerignore Initial commit 2022-08-16 17:26:03 +02:00
.gitignore Fix ImagePopulator, VolumePool and Volume controller (#17) 2022-08-24 17:21:10 +02:00
.golangci.yaml Remove ceph-csi (#196) 2023-04-14 15:15:24 +02:00
CODE_OF_CONDUCT.md Add code of conduct and contributor guide references 2022-08-25 12:20:24 +02:00
CODEOWNERS Add codeowners to project 2022-08-25 09:53:22 +02:00
CONTRIBUTING.md Add code of conduct and contributor guide references 2022-08-25 12:20:24 +02:00
Dockerfile Bump golang from 1.21.3-bookworm to 1.21.4-bookworm (#395) 2023-11-08 09:10:29 +01:00
go.mod Bump k8s.io/client-go from 0.28.3 to 0.28.4 (#400) 2023-11-20 10:45:12 +01:00
go.sum Bump k8s.io/client-go from 0.28.3 to 0.28.4 (#400) 2023-11-20 10:45:12 +01:00
LICENSE Add license file 2022-10-28 10:00:14 +02:00
Makefile Refactor Bucket and Volume server, fix failing Bucket integration tests & bump deps (#382) 2023-10-24 14:34:11 +02:00
mkdocs.yml Add link to landing page 2022-08-25 18:43:47 +02:00
PROJECT Initial commit 2022-08-16 17:26:03 +02:00
README.md Describe image population (#47) 2022-09-07 16:43:13 +02:00

cephlet

Test PRs Welcome GitHub License

cephlet is a Ceph based provider implementation of the onmetal-api Volume and VolumePool types.

Please consult the project documentation for additional information.

Getting Started

Youll need a Kubernetes cluster to run against. You can use KIND to get a local cluster for testing, or run against a remote cluster. Note: Your controller will automatically use the current context in your kubeconfig file (i.e. whatever cluster kubectl cluster-info shows).

Running on the cluster

  1. Install Instances of Custom Resources:
kubectl apply -f config/samples/
  1. Build and push your image to the location specified by IMG:
make docker-build docker-push IMG=<some-registry>/cephlet:tag
  1. Deploy the controller to the cluster with the image specified by IMG:
make deploy IMG=<some-registry>/cephlet:tag

Undeploy controller

UnDeploy the controller to the cluster:

make undeploy

Contributing

We'd love to get feedback from you. Please report bugs, suggestions or post questions by opening a GitHub issue.

How it works

This project aims to follow the Kubernetes Operator pattern

It uses Controllers which provides a reconcile function responsible for synchronizing resources untile the desired state is reached on the cluster

Test It Out

Run your controller (this will run in the foreground, so switch to a new terminal if you want to leave it running):

make run

NOTE: You can also run this in one step by running: make install run

NOTE: Run make --help for more information on all potential make targets

More information can be found via the Kubebuilder Documentation

License

Copyright 2022.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.