Skip to content

Commit 191a976

Browse files
authored
Add a deployment for hd
1 parent 30780ac commit 191a976

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

hack/deploy.yaml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
kind: Deployment
2+
apiVersion: apps/v1
3+
metadata:
4+
name: hd
5+
labels:
6+
app: hd
7+
spec:
8+
replicas: 1
9+
selector:
10+
matchLabels:
11+
app: hd
12+
template:
13+
metadata:
14+
creationTimestamp: null
15+
labels:
16+
app: hd
17+
spec:
18+
containers:
19+
- name: hd
20+
image: 'ghcr.io/linuxsuren/hd:v0.0.60'
21+
command:
22+
- /bin/sh
23+
args:
24+
- '-c'
25+
- while true; do echo hello; sleep 10;done
26+
resources: {}
27+
terminationMessagePath: /dev/termination-log
28+
terminationMessagePolicy: File
29+
imagePullPolicy: IfNotPresent
30+
restartPolicy: Always
31+
terminationGracePeriodSeconds: 30
32+
dnsPolicy: ClusterFirst
33+
securityContext: {}
34+
schedulerName: default-scheduler
35+
strategy:
36+
type: RollingUpdate
37+
rollingUpdate:
38+
maxUnavailable: 25%
39+
maxSurge: 25%
40+
revisionHistoryLimit: 10
41+
progressDeadlineSeconds: 600

0 commit comments

Comments
 (0)