Skip to content

Commit ecde416

Browse files
committed
wip
1 parent ab56840 commit ecde416

File tree

4 files changed

+36
-0
lines changed

4 files changed

+36
-0
lines changed

.github/workflows/images.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ jobs:
5151
context: ./registry/node-update
5252
tags: |
5353
ghcr.io/yolean/ystack-registry-node-update:${{ github.sha }}
54+
ghcr.io/yolean/ystack-registry-node-update:latest
5455
platforms: linux/amd64,linux/arm64/v8
5556
push: true
5657
cache-from: type=gha

registry/node-update/.dockerignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Dockerfile
2+
*.yaml

registry/node-update/daemonset.yaml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# yaml-language-server: $schema=https://github.com/yannh/kubernetes-json-schema/raw/master/v1.27.9/daemonset.json
2+
apiVersion: apps/v1
3+
kind: DaemonSet
4+
metadata:
5+
name: containerd-config
6+
spec:
7+
selector:
8+
matchLabels:
9+
app: containerd-config
10+
template:
11+
metadata:
12+
labels:
13+
app: containerd-config
14+
annotations:
15+
"cluster-autoscaler.kubernetes.io/safe-to-evict": "true"
16+
spec:
17+
tolerations:
18+
- effect: NoSchedule
19+
operator: Exists
20+
hostPID: true
21+
hostNetwork: true
22+
restartPolicy: Never
23+
containers:
24+
- name: init-container-did-the-work
25+
image: k8s.gcr.io/pause:3.6@sha256:3d380ca8864549e74af4b29c10f9cb0956236dfb01c40ca076fb6c37253234db
26+
imagePullPolicy: Always
27+
terminationGracePeriodSeconds: 30
28+
volumes:
29+
- name: etc-containerd
30+
hostPath:
31+
path: /etc/containerd
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
resources:
2+
- daemonset.yaml

0 commit comments

Comments
 (0)