serverless-manager

所属分类:FaaS/Serverless
开发工具:GO
文件大小:0KB
下载次数:0
上传日期:2023-10-12 22:25:02
上 传 者sh-1993
说明:  无服务器管理器,,
(serverless manager,,)

文件列表:
.mlc.config.json (274, 2023-12-29)
.reuse/ (0, 2023-12-29)
.reuse/dep5 (1863, 2023-12-29)
CODEOWNERS (481, 2023-12-29)
CODE_OF_CONDUCT.md (419, 2023-12-29)
CONTRIBUTING.md (181, 2023-12-29)
LICENSE (11222, 2023-12-29)
LICENSES/ (0, 2023-12-29)
LICENSES/Apache-2.0.txt (10280, 2023-12-29)
NOTICE.md (78, 2023-12-29)
OWNERS (908, 2023-12-29)
OWNERS_ALIASES (847, 2023-12-29)
... ...

[![REUSE status](https://api.reuse.software/badge/github.com/kyma-project/serverless-manager)](https://api.reuse.software/info/github.com/kyma-project/serverless-manager) # Serverless Operator ## Status ![GitHub tag checks state](https://img.shields.io/github/checks-status/kyma-project/serverless-manager/main?label=serverless-operator&link=https%3A%2F%2Fgithub.com%2Fkyma-project%2Fserverless-manager%2Fcommits%2Fmain) ## Overview Serverless Operator allows deploying the [Serverless](https://kyma-project.io/docs/kyma/latest/01-overview/serverless/) component on the Kyma cluster in compatibility with [Lifecycle Manager](https://github.com/kyma-project/lifecycle-manager). ## Install Apply the following script to install Serverless Operator: ```bash kubectl apply -f https://github.com/kyma-project/serverless-manager/releases/latest/download/serverless-operator.yaml ``` To get Serverless installed, apply the sample Serverless CR: ```bash kubectl apply -f https://github.com/kyma-project/serverless-manager/releases/latest/download/default-serverless-cr.yaml ``` ## Development ### Prerequisites - Access to a Kubernetes (v1.24 or higher) cluster - [Go](https://go.dev/) - [k3d](https://k3d.io/) - [Docker](https://www.docker.com/) - [kubectl](https://kubernetes.io/docs/tasks/tools/) - [Kubebuilder](https://book.kubebuilder.io/) ## Manual Installation Using Make Targets 1. Clone the project. ```bash git clone https://github.com/kyma-project/serverless-manager.git && cd serverless-manager/ ``` 2. Set the Serverless Operator image name. ```bash export IMG=/custom-serverless-operator:0.0.1 ``` 3. Verify the compability. ```bash make test ``` 4. Build and push the image to the registry. ```bash make module-image ``` 5. Deploy Serverless Operator. ```bash make deploy ``` ### Test Integration with Lifecycle Manager on the k3d Cluster 1. Clone the project. ```bash git clone https://github.com/kyma-project/serverless-manager.git && cd serverless-manager/ ``` 2. Build Serverless Operator locally and run it on the k3d cluster. ```bash make -C hack/local run-with-lifecycle-manager ``` > **NOTE:** To clean up the k3d cluster, use the `make -C hack/local stop` make target. ## Using Serverless Operator - Create a Serverless instance. ```bash kubectl apply -f config/samples/default-serverless-cr.yaml ``` - Delete a Serverless instance. ```bash kubectl delete -f config/samples/default-serverless-cr.yaml ``` - Use external registry. The following example shows how you can modify the Serverless Docker registry address using the `serverless.operator.kyma-project.io` CR: ```bash kubectl create secret generic my-secret \ --namespace kyma-system \ --from-literal username="" \ --from-literal password="" \ --from-literal serverAddress="" \ --from-literal registryAddress="" ``` > **NOTE:** For DockerHub: > - SERVER_ADDRESS is "https://index.docker.io/v1/", > - USERNAME and REGISTRY_ADDRESS must be identical. ```bash cat <
近期下载者

相关文件


收藏者