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 0b15b613
authored
Aug 07, 2020
by
wangtingwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
core collector增加挂载kubelet.sock,废弃core monitor,二者不兼容
1 parent
6d7ed887
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
47 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/collector-deployment.yaml
View file @
0b15b61
...
@@ -30,6 +30,9 @@ spec:
...
@@ -30,6 +30,9 @@ spec:
-
name
:
config
-
name
:
config
mountPath
:
/adl/bin/conf/app.yaml
mountPath
:
/adl/bin/conf/app.yaml
subPath
:
app.yaml
subPath
:
app.yaml
-
name
:
k8s-pod-resource-sock
mountPath
:
/var/lib/kubelet/pod-resources/kubelet.sock
subPath
:
kubelet.sock
command
:
[
"
core--collector"
]
command
:
[
"
core--collector"
]
ports
:
ports
:
-
containerPort
:
8080
-
containerPort
:
8080
...
@@ -54,6 +57,9 @@ spec:
...
@@ -54,6 +57,9 @@ spec:
-
name
:
docker-sock
-
name
:
docker-sock
hostPath
:
hostPath
:
path
:
/var/run/
path
:
/var/run/
-
name
:
k8s-pod-resource-sock
hostPath
:
path
:
/var/lib/kubelet/pod-resources
-
name
:
hostname
-
name
:
hostname
hostPath
:
hostPath
:
path
:
/etc/hostname
path
:
/etc/hostname
...
...
kpl_deploy_yaml/1-autodl-core/monitor-deployment.yaml
View file @
0b15b61
...
@@ -12,54 +12,11 @@ spec:
...
@@ -12,54 +12,11 @@ spec:
logCollect
:
"
true"
logCollect
:
"
true"
spec
:
spec
:
imagePullSecrets
:
imagePullSecrets
:
-
name
:
"
harbor-secret"
-
name
:
"
harbor-secret"
serviceAccountName
:
autodl-serviceaccount
serviceAccountName
:
autodl-serviceaccount
nodeSelector
:
nodeSelector
:
internal_service_node
:
"
true"
internal_service_node
:
"
true"
containers
:
containers
:
-
name
:
core--monitor
-
name
:
core--monitor
image
:
DOCKER_REGISTRY/adl-core-v1:latest
image
:
DOCKER_REGISTRY/adl-core-v1:latest
imagePullPolicy
:
Always
imagePullPolicy
:
Always
volumeMounts
:
-
mountPath
:
/mnt/ceph
name
:
adl-volume
-
name
:
docker-sock
mountPath
:
/var/run/docker.sock
subPath
:
docker.sock
-
name
:
config
mountPath
:
/adl/bin/conf/app.yaml
subPath
:
app.yaml
-
mountPath
:
/etc/kpl/ssl
name
:
kpl-ssl
readOnly
:
true
command
:
[
"
core--monitor"
]
ports
:
-
containerPort
:
8080
name
:
cmport-8080
livenessProbe
:
httpGet
:
path
:
/health
port
:
cmport-8080
scheme
:
HTTP
resources
:
requests
:
cpu
:
"
200m"
memory
:
"
512Mi"
limits
:
cpu
:
"
1000m"
memory
:
"
1024Mi"
volumes
:
-
name
:
adl-volume
persistentVolumeClaim
:
claimName
:
adl-pvc
readOnly
:
false
-
configMap
:
defaultMode
:
420
name
:
kpl-ssl
name
:
kpl-ssl
-
name
:
docker-sock
hostPath
:
path
:
/var/run/
-
name
:
config
configMap
:
name
:
cfg-autodl-core
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