| Server IP : 112.74.42.100 / Your IP : 216.73.216.142 Web Server : nginx/1.20.2 System : Linux iZwz96lx4pjqiy84w4hni7Z 5.10.134-17.3.al8.x86_64 #1 SMP Thu Oct 31 14:29:57 CST 2024 x86_64 User : www ( 1000) PHP Version : 8.0.26 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /etc/sysak/ |
Upload File : |
apiVersion: v1
kind: ServiceAccount
metadata:
name: sysom
namespace: kube-system
---
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: sysom-role
rules:
- apiGroups:
- ''
resources:
- pods
- nodes
- nodes/status
- nodes/pods
- nodes/stats
- events
verbs:
- get
- list
- watch
- apiGroups:
- ''
resources:
- nodes/proxy
verbs:
- '*'
---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: sysom-binding
subjects:
- kind: ServiceAccount
name: sysom
namespace: kube-system
roleRef:
kind: ClusterRole
name: sysom-role
apiGroup: rbac.authorization.k8s.io
---
apiVersion: apps/v1
kind: DaemonSet
metadata:
labels:
app: sysom
name: sysom
namespace: kube-system
spec:
revisionHistoryLimit: 10
selector:
matchLabels:
app: sysom
template:
metadata:
labels:
app: sysom
spec:
containers:
- command:
- /bin/sh
- '-c'
- cd /root/dist/app/beeQ && sh ./run.sh ../etc/k8s.yaml
image: 'ackpod-registry.cn-shanghai.cr.aliyuncs.com/mem/sysom:v2.2'
imagePullPolicy: IfNotPresent
name: sysom
env:
- name: NODE_NAME
valueFrom:
fieldRef:
fieldPath: spec.nodeName
- name: CLUSTER_ID
valueFrom:
configMapKeyRef:
name: ack-cluster-profile
key: clusterid
ports:
- containerPort: 8889
hostPort: 8889
name: sysom
protocol: TCP
resources:
requests:
cpu: 250m
memory: 250Mi
securityContext:
privileged: true
volumeMounts:
- mountPath: /mnt/host
name: volume-sysom
- mountPath: /sys/kernel/debug
name: volume-debugfs
hostNetwork: true
hostPID: true
restartPolicy: Always
serviceAccount: sysom
serviceAccountName: sysom
terminationGracePeriodSeconds: 30
volumes:
- hostPath:
path: /
type: ''
name: volume-sysom
- hostPath:
path: /sys/kernel/debug
type: ''
name: volume-debugfs
updateStrategy:
rollingUpdate:
maxSurge: 0
maxUnavailable: 1
type: RollingUpdate