添加下载站
This commit is contained in:
parent
ce453ca909
commit
2b2f75ee1f
21
gp2504/download-api-deployment.yaml
Normal file
21
gp2504/download-api-deployment.yaml
Normal file
@ -0,0 +1,21 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: download-api
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: download-api
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: download-api
|
||||
spec:
|
||||
containers:
|
||||
- name: download-api
|
||||
image: juyou.tencentcloudcr.com/juyoutech/download_api:latest
|
||||
ports:
|
||||
- containerPort: 3000
|
||||
imagePullSecrets:
|
||||
- name: juyou-docker-tcr-secret
|
||||
11
gp2504/download-api-service.yaml
Normal file
11
gp2504/download-api-service.yaml
Normal file
@ -0,0 +1,11 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: download-api-service
|
||||
spec:
|
||||
ports:
|
||||
- port: 80
|
||||
targetPort: 3000
|
||||
name: download-api
|
||||
selector:
|
||||
app: download-api
|
||||
28
gp2504/download-deployment.yaml
Normal file
28
gp2504/download-deployment.yaml
Normal file
@ -0,0 +1,28 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: download-web-h5
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: download-web-h5
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: download-web-h5
|
||||
spec:
|
||||
containers:
|
||||
- name: download-web-h5
|
||||
image: juyou.tencentcloudcr.com/juyoutech/download_web:latest
|
||||
ports:
|
||||
- containerPort: 80
|
||||
resources:
|
||||
requests:
|
||||
cpu: "0.125"
|
||||
memory: "125Mi"
|
||||
limits:
|
||||
cpu: "0.25"
|
||||
memory: "250Mi"
|
||||
imagePullSecrets:
|
||||
- name: juyou-docker-tcr-secret
|
||||
11
gp2504/download-service.yaml
Normal file
11
gp2504/download-service.yaml
Normal file
@ -0,0 +1,11 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: download-web-h5-service
|
||||
spec:
|
||||
ports:
|
||||
- port: 80
|
||||
targetPort: 80
|
||||
name: download-web-h5
|
||||
selector:
|
||||
app: download-web-h5
|
||||
@ -7,6 +7,10 @@ resources:
|
||||
- api2-service.yaml
|
||||
- market-endpoints.yaml
|
||||
- market-service.yaml
|
||||
- download-deployment.yaml
|
||||
- download-service.yaml
|
||||
- download-api-deployment.yaml
|
||||
- download-api-service.yaml
|
||||
- ../base/projects/stock2
|
||||
- ../base/redis
|
||||
- ../base/redis-nodeport
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user