mirror of
https://github.com/amkartashov/gf-k8s.git
synced 2026-01-11 01:49:44 +00:00
sshct: upgrade image, mount bin/perf from host
This commit is contained in:
parent
f05970b306
commit
0db9cc3b18
1 changed files with 28 additions and 1 deletions
|
|
@ -25,13 +25,29 @@ spec:
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /var/run/docker.sock
|
path: /var/run/docker.sock
|
||||||
type: Socket
|
type: Socket
|
||||||
|
- name: host-perf
|
||||||
|
hostPath:
|
||||||
|
path: /usr/bin/perf
|
||||||
|
type: File
|
||||||
|
- name: host-perf-5.10
|
||||||
|
hostPath:
|
||||||
|
path: /usr/bin/perf_5.10
|
||||||
|
type: File
|
||||||
|
- name: host-lib-modules
|
||||||
|
hostPath:
|
||||||
|
path: /lib/modules
|
||||||
|
type: Directory
|
||||||
|
- name: host-kernel-debug
|
||||||
|
hostPath:
|
||||||
|
path: /sys/kernel/debug
|
||||||
|
type: Directory
|
||||||
#- name: gorilychrume
|
#- name: gorilychrume
|
||||||
# hostPath:
|
# hostPath:
|
||||||
# path: /data/gorilych.ru/me
|
# path: /data/gorilych.ru/me
|
||||||
# type:
|
# type:
|
||||||
containers:
|
containers:
|
||||||
- name: sshct
|
- name: sshct
|
||||||
image: gorilych/sshct:v3.4.0
|
image: gorilych/sshct:v3.5.0
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
env:
|
env:
|
||||||
- name: CTUSERPWD
|
- name: CTUSERPWD
|
||||||
|
|
@ -47,6 +63,17 @@ spec:
|
||||||
name: home
|
name: home
|
||||||
- mountPath: /var/run/docker.sock
|
- mountPath: /var/run/docker.sock
|
||||||
name: dockersock
|
name: dockersock
|
||||||
|
- mountPath: /usr/bin/perf
|
||||||
|
name: host-perf
|
||||||
|
readOnly: true
|
||||||
|
- mountPath: /usr/bin/perf_5.10
|
||||||
|
name: host-perf-5.10
|
||||||
|
readOnly: true
|
||||||
|
- mountPath: /lib/modules
|
||||||
|
name: host-lib-modules
|
||||||
|
readOnly: true
|
||||||
|
- mountPath: /sys/kernel/debug
|
||||||
|
name: host-kernel-debug
|
||||||
#- mountPath: /home/www/me
|
#- mountPath: /home/www/me
|
||||||
# name: gorilychrume
|
# name: gorilychrume
|
||||||
---
|
---
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue