This repository has been archived by the owner on Feb 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #233 from sofastack/feat.ci-test
添加workflow等待模块available
- Loading branch information
Showing
2 changed files
with
338 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
...ler/config/samples/ci/module-deployment_v1alpha1_moduledeployment_provider_scaledown.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
apiVersion: serverless.alipay.com/v1alpha1 | ||
kind: ModuleDeployment | ||
metadata: | ||
labels: | ||
app.kubernetes.io/name: moduledeployment | ||
app.kubernetes.io/instance: moduledeployment-sample | ||
app.kubernetes.io/part-of: module-controller | ||
app.kubernetes.io/managed-by: kustomize | ||
app.kubernetes.io/created-by: module-controller | ||
name: moduledeployment-sample-provider | ||
spec: | ||
baseDeploymentName: dynamic-stock-deployment | ||
template: | ||
spec: | ||
module: | ||
name: dynamic-provider | ||
version: '1.0.0' | ||
url: http://serverless-opensource.oss-cn-shanghai.aliyuncs.com/module-packages/stable/dynamic-provider-1.0.0-ark-biz.jar | ||
replicas: 0 | ||
operationStrategy: | ||
needConfirm: false | ||
grayTimeBetweenBatchSeconds: 120 | ||
useBeta: false | ||
batchCount: 1 | ||
upgradePolicy: install_then_uninstall | ||
schedulingStrategy: | ||
schedulingPolicy: scatter | ||
|