在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):k8up-io/k8up开源软件地址(OpenSource Url):https://github.com/k8up-io/k8up开源编程语言(OpenSource Language):Go 89.4%开源软件介绍(OpenSource Introduction):K8up Backup OperatorK8up is a Kubernetes backup operator based on Restic that will handle PVC and application backups on a Kubernetes or OpenShift cluster. Just create a DocumentationThe documentation is written in AsciiDoc and published with Antora to k8up.io.
It's source is available in the Run ContributingK8up is written using Kubebuilder. You'll need:
To run the end-to-end test (e.g.
These are the most common make targets: Code StructureK8s consists of two main modules:
/
- api Go Types for the Custom Resource Definitions (CRDs) [o]
- cmd CLI definition and entrypoints
- common Code that is not specific to either
- config Various configuration files for the Operator SDK [o]
- controllers The reconciliation loops of the operator module [o]
- docs Out ASCIIdoc code as published on https://k8up.io
- e2e The Bats-based End-To-End tests
- envtest Infrastructure code for the integration tests
- operator Code that is otherwise related to the _operator module_,
but not part of the recommended Operator SDK structure.
- restic Code that makes up the _restic module_.
[o]: this is part of the recommended Operator SDK structure Generate Kubernetes codeIf you make changes to the CRD structs you'll need to run code generation. This can be done with make: make generate Install CRDsCRDs can be either installed on the cluster by running Currently there's an issue using Run the operatorYou can run the operator in different ways:
Best is if you have minio installed somewhere to be able to setup the needed env values. It needs to be reachable from within your dev cluster. Run E2E testsYou need To run e2e tests, execute: make e2e-test To test just a specific e2e test, run: make e2e-test -e BATS_FILES=test-00-deployment.bats To remove the local KIND cluster and other e2e resources, run: make e2e-clean To cleanup all created artifacts, there's always: make clean Example configurationsThere are a number of example configurations in |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论