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.
Merge pull request #205 from sofastack/fix_quick_start
fix make dev and ci
- Loading branch information
Showing
9 changed files
with
76 additions
and
8 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
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
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
25 changes: 25 additions & 0 deletions
25
module-controller/config/samples/ci/dynamic-stock-deployment.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,25 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: dynamic-stock-deployment | ||
spec: | ||
replicas: 1 | ||
selector: | ||
matchLabels: | ||
app: dynamic-stock | ||
template: | ||
metadata: | ||
labels: | ||
app: dynamic-stock | ||
maxModuleCount: "10" | ||
spec: | ||
containers: | ||
- name: dynamic-stock-container | ||
image: serverless-registry.cn-shanghai.cr.aliyuncs.com/opensource/test/dynamic-stock-mng:v0.6 | ||
ports: | ||
- containerPort: 8080 | ||
- containerPort: 1238 | ||
resources: | ||
limits: | ||
cpu: "500m" | ||
memory: "1Gi" |
14 changes: 14 additions & 0 deletions
14
module-controller/config/samples/ci/dynamic-stock-service.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,14 @@ | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: dynamic-stock-service | ||
spec: | ||
selector: | ||
app: dynamic-stock | ||
type: NodePort | ||
ports: | ||
- name: http-port | ||
protocol: TCP | ||
port: 8080 | ||
targetPort: 8080 | ||
nodePort: 30080 |
24 changes: 24 additions & 0 deletions
24
module-controller/config/samples/ci/module-deployment-controller.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,24 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: module-controller | ||
labels: | ||
app: module-controller | ||
spec: | ||
replicas: 1 | ||
selector: | ||
matchLabels: | ||
app: module-controller | ||
template: | ||
metadata: | ||
labels: | ||
app: module-controller | ||
spec: | ||
serviceAccountName: controller-manager | ||
containers: | ||
- name: module-controller | ||
image: serverless-registry.cn-shanghai.cr.aliyuncs.com/opensource/test/module-controller:ci-test-master-latest | ||
resources: | ||
limits: | ||
cpu: "500m" | ||
memory: "1Gi" |
This file was deleted.
Oops, something went wrong.
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
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