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 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
de8c91e
commit 91aae3e
Showing
3 changed files
with
153 additions
and
6 deletions.
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
...troller/config/samples/ci/module-deployment_v1alpha1_moduledeployment_batch_provider.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: 3 | ||
operationStrategy: | ||
needConfirm: true | ||
grayTimeBetweenBatchSeconds: 120 | ||
useBeta: false | ||
batchCount: 3 | ||
upgradePolicy: install_then_uninstall | ||
schedulingStrategy: | ||
schedulingPolicy: scatter | ||
|
28 changes: 28 additions & 0 deletions
28
...nfig/samples/ci/module-deployment_v1alpha1_moduledeployment_batch_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: true | ||
grayTimeBetweenBatchSeconds: 120 | ||
useBeta: false | ||
batchCount: 3 | ||
upgradePolicy: install_then_uninstall | ||
schedulingStrategy: | ||
schedulingPolicy: scatter | ||
|