gitopsify machines

This commit is contained in:
Tobias Brunner 2022-10-13 21:33:37 +02:00
parent 490fa5a75e
commit 773ec25351
2 changed files with 51 additions and 0 deletions

View file

@ -4,5 +4,6 @@ resources:
- storageclasses.yaml
- unattended-upgrades.yaml
- tailscale-subnet-router.yaml
- machinedeployments.yaml
generators:
- secret-generator.yaml

View file

@ -0,0 +1,50 @@
apiVersion: cluster.k8s.io/v1alpha1
kind: MachineDeployment
metadata:
annotations:
k8c.io/operating-system-profile: osp-ubuntu
machinedeployment.clusters.k8s.io/revision: "1"
name: zurrli-pool1
spec:
minReadySeconds: 0
progressDeadlineSeconds: 600
replicas: 2
revisionHistoryLimit: 1
selector:
matchLabels:
workerset: zurrli-pool1
strategy:
rollingUpdate:
maxSurge: 1
maxUnavailable: 0
type: RollingUpdate
template:
metadata:
labels:
workerset: zurrli-pool1
namespace: kube-system
spec:
metadata:
labels:
workerset: zurrli-pool1
providerSpec:
value:
caPublicKey: ""
cloudProvider: hetzner
cloudProviderSpec:
image: ubuntu-20.04
labels:
kubeone_cluster_name: zurrli
zurrli-workers: pool1
location: nbg1
networks:
- "2074236"
serverType: cx21
operatingSystem: ubuntu
operatingSystemSpec:
distUpgradeOnBoot: false
sshPublicKeys:
- |
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBAHdMd0oZvl5GrXP9wTJYVsY8oH+4naSE5C7y/tbacZ tobru
versions:
kubelet: 1.24.6