Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
tingweiwang
/
ksy-project-docking
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit d4ff5ea5
authored
Jun 05, 2020
by
tingweiwang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新各个组件k8s yaml
1 parent
2c8e7376
Show whitespace changes
Inline
Side-by-side
Showing
33 changed files
with
78 additions
and
6 deletions
kpl_deploy_yaml/1-autodl-core/collector-deployment.yaml
kpl_deploy_yaml/1-autodl-core/monitor-deployment.yaml
kpl_deploy_yaml/1-autodl-core/nginx.yaml
kpl_deploy_yaml/1-autodl-core/server-deployment.yaml
kpl_deploy_yaml/1-autodl-core/worker-deployment.yaml
kpl_deploy_yaml/4-kpl-frontend/kpl-frontend-svc.yaml → kpl_deploy_yaml/2-kpl-frontend/kpl-frontend-svc.yaml
kpl_deploy_yaml/4-kpl-frontend/kpl-frontend.yaml → kpl_deploy_yaml/2-kpl-frontend/kpl-frontend.yaml
kpl_deploy_yaml/5-kpl-backend/deploy-deployment.yaml → kpl_deploy_yaml/3-kpl-backend/deploy-deployment.yaml
kpl_deploy_yaml/5-kpl-backend/deploy-svc.yaml → kpl_deploy_yaml/3-kpl-backend/deploy-svc.yaml
kpl_deploy_yaml/5-kpl-backend/image-proxy-deployment.yaml → kpl_deploy_yaml/3-kpl-backend/image-proxy-deployment.yaml
kpl_deploy_yaml/5-kpl-backend/image-proxy-svc.yaml → kpl_deploy_yaml/3-kpl-backend/image-proxy-svc.yaml
kpl_deploy_yaml/5-kpl-backend/monitor-deployment.yaml → kpl_deploy_yaml/3-kpl-backend/monitor-deployment.yaml
kpl_deploy_yaml/5-kpl-backend/monitor-svc.yaml → kpl_deploy_yaml/3-kpl-backend/monitor-svc.yaml
kpl_deploy_yaml/5-kpl-backend/nginx-svc.yaml → kpl_deploy_yaml/3-kpl-backend/nginx-svc.yaml
kpl_deploy_yaml/5-kpl-backend/nginx.yaml → kpl_deploy_yaml/3-kpl-backend/nginx.yaml
kpl_deploy_yaml/5-kpl-backend/quota-rpc-server-deployment.yaml → kpl_deploy_yaml/3-kpl-backend/quota-rpc-server-deployment.yaml
kpl_deploy_yaml/5-kpl-backend/quota-rpc-server-svc.yaml → kpl_deploy_yaml/3-kpl-backend/quota-rpc-server-svc.yaml
kpl_deploy_yaml/5-kpl-backend/server-deployment.yaml → kpl_deploy_yaml/3-kpl-backend/server-deployment.yaml
kpl_deploy_yaml/5-kpl-backend/server-svc.yaml → kpl_deploy_yaml/3-kpl-backend/server-svc.yaml
kpl_deploy_yaml/5-kpl-backend/worker-deployment.yaml → kpl_deploy_yaml/3-kpl-backend/worker-deployment.yaml
kpl_deploy_yaml/5-kpl-backend/workspace-worker-deployment.yaml → kpl_deploy_yaml/3-kpl-backend/workspace-worker-deployment.yaml
kpl_deploy_yaml/4-kpl-manager/server-deployment.yaml
kpl_deploy_yaml/4-kpl-manager/server-svc.yaml
kpl_deploy_yaml/6-kpl-stream/server-deployment.yaml → kpl_deploy_yaml/5-kpl-stream/server-deployment.yaml
kpl_deploy_yaml/6-kpl-stream/server-svc.yaml → kpl_deploy_yaml/5-kpl-stream/server-svc.yaml
kpl_deploy_yaml/3-user-center-backend/nginx-svc.yaml → kpl_deploy_yaml/user-center-backend.bak/nginx-svc.yaml
kpl_deploy_yaml/3-user-center-backend/nginx.yaml → kpl_deploy_yaml/user-center-backend.bak/nginx.yaml
kpl_deploy_yaml/3-user-center-backend/rpc-server-deployment.yaml → kpl_deploy_yaml/user-center-backend.bak/rpc-server-deployment.yaml
kpl_deploy_yaml/3-user-center-backend/rpc-server-svc.yaml → kpl_deploy_yaml/user-center-backend.bak/rpc-server-svc.yaml
kpl_deploy_yaml/3-user-center-backend/server-deployment.yaml → kpl_deploy_yaml/user-center-backend.bak/server-deployment.yaml
kpl_deploy_yaml/3-user-center-backend/server-svc.yaml → kpl_deploy_yaml/user-center-backend.bak/server-svc.yaml
kpl_deploy_yaml/2-user-center-frontend/kpl-frontend-svc.yaml → kpl_deploy_yaml/user-center-frontend.bak/kpl-frontend-svc.yaml
kpl_deploy_yaml/2-user-center-frontend/kpl-frontend.yaml → kpl_deploy_yaml/user-center-frontend.bak/kpl-frontend.yaml
kpl_deploy_yaml/1-autodl-core/collector-deployment.yaml
View file @
d4ff5ea
...
@@ -39,7 +39,7 @@ spec:
...
@@ -39,7 +39,7 @@ spec:
scheme
:
HTTP
scheme
:
HTTP
resources
:
resources
:
requests
:
requests
:
cpu
:
"
5
00m"
cpu
:
"
2
00m"
memory
:
"
512Mi"
memory
:
"
512Mi"
limits
:
limits
:
cpu
:
"
1000m"
cpu
:
"
1000m"
...
...
kpl_deploy_yaml/1-autodl-core/monitor-deployment.yaml
View file @
d4ff5ea
...
@@ -29,6 +29,9 @@ spec:
...
@@ -29,6 +29,9 @@ spec:
-
name
:
config
-
name
:
config
mountPath
:
/adl/bin/conf/app.yaml
mountPath
:
/adl/bin/conf/app.yaml
subPath
:
app.yaml
subPath
:
app.yaml
-
mountPath
:
/etc/kpl/ssl
name
:
kpl-ssl
readOnly
:
true
command
:
[
"
core--monitor"
]
command
:
[
"
core--monitor"
]
ports
:
ports
:
-
containerPort
:
8080
-
containerPort
:
8080
...
@@ -40,7 +43,7 @@ spec:
...
@@ -40,7 +43,7 @@ spec:
scheme
:
HTTP
scheme
:
HTTP
resources
:
resources
:
requests
:
requests
:
cpu
:
"
5
00m"
cpu
:
"
2
00m"
memory
:
"
512Mi"
memory
:
"
512Mi"
limits
:
limits
:
cpu
:
"
1000m"
cpu
:
"
1000m"
...
@@ -50,6 +53,10 @@ spec:
...
@@ -50,6 +53,10 @@ spec:
persistentVolumeClaim
:
persistentVolumeClaim
:
claimName
:
adl-pvc
claimName
:
adl-pvc
readOnly
:
false
readOnly
:
false
-
configMap
:
defaultMode
:
420
name
:
kpl-ssl
name
:
kpl-ssl
-
name
:
docker-sock
-
name
:
docker-sock
hostPath
:
hostPath
:
path
:
/var/run/
path
:
/var/run/
...
...
kpl_deploy_yaml/1-autodl-core/nginx.yaml
View file @
d4ff5ea
...
@@ -10,6 +10,8 @@ spec:
...
@@ -10,6 +10,8 @@ spec:
labels
:
labels
:
app
:
core--nginx
app
:
core--nginx
spec
:
spec
:
imagePullSecrets
:
-
name
:
"
harbor-secret"
nodeSelector
:
nodeSelector
:
internal_service_node
:
"
true"
internal_service_node
:
"
true"
containers
:
containers
:
...
...
kpl_deploy_yaml/1-autodl-core/server-deployment.yaml
View file @
d4ff5ea
...
@@ -38,7 +38,7 @@ spec:
...
@@ -38,7 +38,7 @@ spec:
port
:
port-30100
port
:
port-30100
resources
:
resources
:
requests
:
requests
:
cpu
:
"
5
00m"
cpu
:
"
2
00m"
memory
:
"
512Mi"
memory
:
"
512Mi"
limits
:
limits
:
cpu
:
"
1000m"
cpu
:
"
1000m"
...
...
kpl_deploy_yaml/1-autodl-core/worker-deployment.yaml
View file @
d4ff5ea
...
@@ -31,6 +31,9 @@ spec:
...
@@ -31,6 +31,9 @@ spec:
subPath
:
app.yaml
subPath
:
app.yaml
-
name
:
config-harbor-secret
-
name
:
config-harbor-secret
mountPath
:
/root/.docker/
mountPath
:
/root/.docker/
-
mountPath
:
/etc/kpl/ssl
name
:
kpl-ssl
readOnly
:
true
command
:
[
"
core--worker"
]
command
:
[
"
core--worker"
]
ports
:
ports
:
-
containerPort
:
8080
-
containerPort
:
8080
...
@@ -42,11 +45,11 @@ spec:
...
@@ -42,11 +45,11 @@ spec:
scheme
:
HTTP
scheme
:
HTTP
resources
:
resources
:
requests
:
requests
:
cpu
:
"
5
00m"
cpu
:
"
2
00m"
memory
:
"
512Mi"
memory
:
"
512Mi"
limits
:
limits
:
cpu
:
"
1000m"
cpu
:
"
1000m"
memory
:
"
1024M
i"
memory
:
"
3G
i"
volumes
:
volumes
:
-
name
:
adl-volume
-
name
:
adl-volume
persistentVolumeClaim
:
persistentVolumeClaim
:
...
@@ -58,6 +61,10 @@ spec:
...
@@ -58,6 +61,10 @@ spec:
-
name
:
config
-
name
:
config
configMap
:
configMap
:
name
:
cfg-autodl-core
name
:
cfg-autodl-core
-
configMap
:
defaultMode
:
420
name
:
kpl-ssl
name
:
kpl-ssl
-
name
:
config-harbor-secret
-
name
:
config-harbor-secret
secret
:
secret
:
secretName
:
harbor-secret
secretName
:
harbor-secret
...
@@ -66,4 +73,3 @@ spec:
...
@@ -66,4 +73,3 @@ spec:
path
:
config.json
path
:
config.json
mode
:
0644
mode
:
0644
kpl_deploy_yaml/
4
-kpl-frontend/kpl-frontend-svc.yaml
→
kpl_deploy_yaml/
2
-kpl-frontend/kpl-frontend-svc.yaml
View file @
d4ff5ea
File moved
kpl_deploy_yaml/
4
-kpl-frontend/kpl-frontend.yaml
→
kpl_deploy_yaml/
2
-kpl-frontend/kpl-frontend.yaml
View file @
d4ff5ea
File moved
kpl_deploy_yaml/
5
-kpl-backend/deploy-deployment.yaml
→
kpl_deploy_yaml/
3
-kpl-backend/deploy-deployment.yaml
View file @
d4ff5ea
File moved
kpl_deploy_yaml/
5
-kpl-backend/deploy-svc.yaml
→
kpl_deploy_yaml/
3
-kpl-backend/deploy-svc.yaml
View file @
d4ff5ea
File moved
kpl_deploy_yaml/
5
-kpl-backend/image-proxy-deployment.yaml
→
kpl_deploy_yaml/
3
-kpl-backend/image-proxy-deployment.yaml
View file @
d4ff5ea
File moved
kpl_deploy_yaml/
5
-kpl-backend/image-proxy-svc.yaml
→
kpl_deploy_yaml/
3
-kpl-backend/image-proxy-svc.yaml
View file @
d4ff5ea
File moved
kpl_deploy_yaml/
5
-kpl-backend/monitor-deployment.yaml
→
kpl_deploy_yaml/
3
-kpl-backend/monitor-deployment.yaml
View file @
d4ff5ea
File moved
kpl_deploy_yaml/
5
-kpl-backend/monitor-svc.yaml
→
kpl_deploy_yaml/
3
-kpl-backend/monitor-svc.yaml
View file @
d4ff5ea
File moved
kpl_deploy_yaml/
5
-kpl-backend/nginx-svc.yaml
→
kpl_deploy_yaml/
3
-kpl-backend/nginx-svc.yaml
View file @
d4ff5ea
File moved
kpl_deploy_yaml/
5
-kpl-backend/nginx.yaml
→
kpl_deploy_yaml/
3
-kpl-backend/nginx.yaml
View file @
d4ff5ea
File moved
kpl_deploy_yaml/
5
-kpl-backend/quota-rpc-server-deployment.yaml
→
kpl_deploy_yaml/
3
-kpl-backend/quota-rpc-server-deployment.yaml
View file @
d4ff5ea
File moved
kpl_deploy_yaml/
5
-kpl-backend/quota-rpc-server-svc.yaml
→
kpl_deploy_yaml/
3
-kpl-backend/quota-rpc-server-svc.yaml
View file @
d4ff5ea
File moved
kpl_deploy_yaml/
5
-kpl-backend/server-deployment.yaml
→
kpl_deploy_yaml/
3
-kpl-backend/server-deployment.yaml
View file @
d4ff5ea
File moved
kpl_deploy_yaml/
5
-kpl-backend/server-svc.yaml
→
kpl_deploy_yaml/
3
-kpl-backend/server-svc.yaml
View file @
d4ff5ea
File moved
kpl_deploy_yaml/
5
-kpl-backend/worker-deployment.yaml
→
kpl_deploy_yaml/
3
-kpl-backend/worker-deployment.yaml
View file @
d4ff5ea
File moved
kpl_deploy_yaml/
5
-kpl-backend/workspace-worker-deployment.yaml
→
kpl_deploy_yaml/
3
-kpl-backend/workspace-worker-deployment.yaml
View file @
d4ff5ea
File moved
kpl_deploy_yaml/4-kpl-manager/server-deployment.yaml
0 → 100644
View file @
d4ff5ea
apiVersion
:
extensions/v1beta1
kind
:
Deployment
metadata
:
name
:
kpl--manager
namespace
:
kpl
spec
:
replicas
:
1
template
:
metadata
:
labels
:
app
:
kpl--manager
spec
:
imagePullSecrets
:
-
name
:
"
harbor-secret"
serviceAccountName
:
kpl-serviceaccount
nodeSelector
:
kpl
:
"
true"
internal_service_node
:
"
true"
containers
:
-
name
:
kpl--manager
image
:
DOCKER_REGISTRY/kpl-manager-v1:latest
imagePullPolicy
:
Always
volumeMounts
:
-
name
:
config
mountPath
:
/adl/bin/conf/app.yaml
subPath
:
app.yaml
command
:
[
"
kpl--manager"
]
ports
:
-
containerPort
:
8080
name
:
port-8080
resources
:
requests
:
cpu
:
"
300m"
memory
:
"
512Mi"
limits
:
cpu
:
"
1000m"
memory
:
"
1024Mi"
volumes
:
-
name
:
config
configMap
:
name
:
cfg-kpl-backend
kpl_deploy_yaml/4-kpl-manager/server-svc.yaml
0 → 100644
View file @
d4ff5ea
apiVersion
:
v1
kind
:
Service
metadata
:
labels
:
app
:
kpl--manager
name
:
kpl--manager
namespace
:
kpl
spec
:
type
:
NodePort
selector
:
app
:
kpl--manager
ports
:
-
port
:
8080
name
:
port-8080
targetPort
:
8080
nodePort
:
30305
kpl_deploy_yaml/
6
-kpl-stream/server-deployment.yaml
→
kpl_deploy_yaml/
5
-kpl-stream/server-deployment.yaml
View file @
d4ff5ea
File moved
kpl_deploy_yaml/
6
-kpl-stream/server-svc.yaml
→
kpl_deploy_yaml/
5
-kpl-stream/server-svc.yaml
View file @
d4ff5ea
File moved
kpl_deploy_yaml/
3-user-center-backend
/nginx-svc.yaml
→
kpl_deploy_yaml/
user-center-backend.bak
/nginx-svc.yaml
View file @
d4ff5ea
File moved
kpl_deploy_yaml/
3-user-center-backend
/nginx.yaml
→
kpl_deploy_yaml/
user-center-backend.bak
/nginx.yaml
View file @
d4ff5ea
File moved
kpl_deploy_yaml/
3-user-center-backend
/rpc-server-deployment.yaml
→
kpl_deploy_yaml/
user-center-backend.bak
/rpc-server-deployment.yaml
View file @
d4ff5ea
File moved
kpl_deploy_yaml/
3-user-center-backend
/rpc-server-svc.yaml
→
kpl_deploy_yaml/
user-center-backend.bak
/rpc-server-svc.yaml
View file @
d4ff5ea
File moved
kpl_deploy_yaml/
3-user-center-backend
/server-deployment.yaml
→
kpl_deploy_yaml/
user-center-backend.bak
/server-deployment.yaml
View file @
d4ff5ea
File moved
kpl_deploy_yaml/
3-user-center-backend
/server-svc.yaml
→
kpl_deploy_yaml/
user-center-backend.bak
/server-svc.yaml
View file @
d4ff5ea
File moved
kpl_deploy_yaml/
2-user-center-frontend
/kpl-frontend-svc.yaml
→
kpl_deploy_yaml/
user-center-frontend.bak
/kpl-frontend-svc.yaml
View file @
d4ff5ea
File moved
kpl_deploy_yaml/
2-user-center-frontend
/kpl-frontend.yaml
→
kpl_deploy_yaml/
user-center-frontend.bak
/kpl-frontend.yaml
View file @
d4ff5ea
File moved
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment