added kured and fixed initial ignition disk partitioning

This commit is contained in:
Karim Naufal
2022-02-07 08:46:10 +01:00
parent 7532e7a4d5
commit fba212de47
13 changed files with 108 additions and 12 deletions

8
kured/kustomization.yaml Normal file
View File

@@ -0,0 +1,8 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- "https://github.com/weaveworks/kured/releases/download/1.9.1/kured-1.9.1-dockerhub.yaml"
patchesStrategicMerge:
- patch_latest.yaml

20
kured/patch.yaml Normal file
View File

@@ -0,0 +1,20 @@
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: kured
namespace: kube-system
spec:
selector:
matchLabels:
name: kured
template:
metadata:
labels:
name: kured
spec:
serviceAccountName: kured
containers:
- name: kured
command:
- /usr/bin/kured
- --reboot-command="/usr/bin/systemctl reboot"

22
kured/patch_latest.yaml Normal file
View File

@@ -0,0 +1,22 @@
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: kured
namespace: kube-system
spec:
selector:
matchLabels:
name: kured
template:
metadata:
labels:
name: kured
spec:
serviceAccountName: kured
containers:
- name: kured
image: docker.io/weaveworks/kured:latest
imagePullPolicy: Always
command:
- /usr/bin/kured
- --reboot-command="/usr/bin/systemctl reboot"