Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
solsson committed Jul 13, 2024
1 parent ab56840 commit ecde416
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ jobs:
context: ./registry/node-update
tags: |
ghcr.io/yolean/ystack-registry-node-update:${{ github.sha }}
ghcr.io/yolean/ystack-registry-node-update:latest
platforms: linux/amd64,linux/arm64/v8
push: true
cache-from: type=gha
Expand Down
2 changes: 2 additions & 0 deletions registry/node-update/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Dockerfile
*.yaml
31 changes: 31 additions & 0 deletions registry/node-update/daemonset.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# yaml-language-server: $schema=https://github.com/yannh/kubernetes-json-schema/raw/master/v1.27.9/daemonset.json
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: containerd-config
spec:
selector:
matchLabels:
app: containerd-config
template:
metadata:
labels:
app: containerd-config
annotations:
"cluster-autoscaler.kubernetes.io/safe-to-evict": "true"
spec:
tolerations:
- effect: NoSchedule
operator: Exists
hostPID: true
hostNetwork: true
restartPolicy: Never
containers:
- name: init-container-did-the-work
image: k8s.gcr.io/pause:3.6@sha256:3d380ca8864549e74af4b29c10f9cb0956236dfb01c40ca076fb6c37253234db
imagePullPolicy: Always
terminationGracePeriodSeconds: 30
volumes:
- name: etc-containerd
hostPath:
path: /etc/containerd
2 changes: 2 additions & 0 deletions registry/node-update/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
resources:
- daemonset.yaml

0 comments on commit ecde416

Please sign in to comment.