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 12a16359
authored
Oct 12, 2020
by
wangtingwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加缓存
1 parent
24cb7f50
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
0 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/worker-deployment.yaml
kpl_deploy_yaml/1-autodl-core/collector-deployment.yaml
View file @
12a1635
...
@@ -40,6 +40,9 @@ spec:
...
@@ -40,6 +40,9 @@ spec:
-
mountPath
:
/etc/kpl/ssl
-
mountPath
:
/etc/kpl/ssl
name
:
kpl-ssl
name
:
kpl-ssl
readOnly
:
true
readOnly
:
true
-
mountPath
:
/data
name
:
host-cache-path
readOnly
:
false
command
:
[
"
core--collector"
]
command
:
[
"
core--collector"
]
ports
:
ports
:
-
containerPort
:
8080
-
containerPort
:
8080
...
@@ -78,6 +81,9 @@ spec:
...
@@ -78,6 +81,9 @@ spec:
-
name
:
hostname
-
name
:
hostname
hostPath
:
hostPath
:
path
:
/etc/hostname
path
:
/etc/hostname
-
name
:
host-cache-path
hostPath
:
path
:
/data
-
name
:
config
-
name
:
config
configMap
:
configMap
:
name
:
cfg-autodl-core
name
:
cfg-autodl-core
...
...
kpl_deploy_yaml/1-autodl-core/monitor-deployment.yaml
0 → 100644
View file @
12a1635
apiVersion
:
extensions/v1beta1
kind
:
Deployment
metadata
:
name
:
core--monitor
namespace
:
autodl
spec
:
replicas
:
1
template
:
metadata
:
labels
:
app
:
core--monitor
logCollect
:
"
true"
spec
:
imagePullSecrets
:
-
name
:
"
harbor-secret"
serviceAccountName
:
autodl-serviceaccount
nodeSelector
:
internal_service_node
:
"
true"
containers
:
-
name
:
core--monitor
image
:
DOCKER_REGISTRY/adl-core-v1:latest
imagePullPolicy
:
Always
kpl_deploy_yaml/1-autodl-core/worker-deployment.yaml
View file @
12a1635
...
@@ -39,6 +39,9 @@ spec:
...
@@ -39,6 +39,9 @@ spec:
name
:
kpl-ssl
name
:
kpl-ssl
readOnly
:
true
readOnly
:
true
command
:
[
"
core--worker"
]
command
:
[
"
core--worker"
]
env
:
# 临时修复go1.15无法支持旧版本证书的问题, https://github.com/golang/go/issues/39568
-
name
:
GODEBUG
value
:
x509ignoreCN=0
ports
:
ports
:
-
containerPort
:
8080
-
containerPort
:
8080
name
:
cwport-8080
name
:
cwport-8080
...
...
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