Added KHM desktop
All checks were successful
Update Kubernetes Services Wiki / Generate and Update K8s Wiki (push) Successful in 17s
Check with kubeconform / lint (push) Successful in 23s
Auto-update README / Generate README and Create MR (push) Successful in 7s

This commit is contained in:
2025-12-28 12:37:32 +00:00
parent 65b2aaa91d
commit 28d5bcfabd
4 changed files with 100 additions and 0 deletions

View File

@@ -0,0 +1,59 @@
---
apiVersion: batch/v1
kind: CronJob
metadata:
name: khm-client
labels:
app: khm-client
spec:
schedule: "* * * * *"
concurrencyPolicy: Forbid
successfulJobsHistoryLimit: 3
failedJobsHistoryLimit: 3
jobTemplate:
spec:
template:
metadata:
labels:
app: khm-client
spec:
restartPolicy: OnFailure
nodeSelector:
node-role.kubernetes.io/desktop: ""
tolerations:
- key: workload
operator: Equal
value: desktop
effect: NoSchedule
hostNetwork: false
containers:
- name: khm-client
image: 'ultradesu/khm:latest'
imagePullPolicy: Always
securityContext:
privileged: false
resources:
requests:
memory: "64Mi"
cpu: "50m"
limits:
memory: "256Mi"
cpu: "200m"
command:
- /usr/local/bin/khm
- --known-hosts
- /host-ssh/known_hosts
- --host
- https://khm.hexor.cy
- --flow=work
- --basic-auth=ultradesu:JiMkWGaA0UZRkzzqtdPvvE0D5vIMCrH7LZGvK2Ux6eGSWECrPlh7UH1khdEm
- --in-place
volumeMounts:
- name: known-hosts
mountPath: /host-ssh/known_hosts
subPath: known_hosts
volumes:
- name: known-hosts
hostPath:
path: /Users/ab/.ssh/known_hosts
type: File