variant: fcos version: 1.5.0 passwd: users: - name: core ssh_authorized_keys: - ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPwvWJHWxUL/QjvsewyzUr9nN8ySIcx5u0wl6gO9PmEm kclijsters@ws-blacksmith-wereldbol-eu password_hash: $1$butane$i3iLu4iMrUL8b5E/pr3bC. shell: /bin/bash storage: directories: - path: /var/mnt/k8s overwrite: true files: - path: /etc/hostname mode: 0644 contents: inline: srv-space2.wereldbol.eu # CRI-O DNF module - path: /etc/dnf/modules.d/cri-o.module mode: 0644 overwrite: true contents: inline: | [cri-o] name=cri-o stream=stable profiles= state=enabled # YUM repository for kubeadm, kubelet and kubectl - path: /etc/yum.repos.d/kubernetes.repo mode: 0644 overwrite: true contents: inline: | [kubernetes] name=Kubernetes baseurl=https://pkgs.k8s.io/core:/stable:/v1.30/rpm/ enabled=1 gpgcheck=1 repo_gpgcheck=1 gpgkey=https://pkgs.k8s.io/core:/stable:/v1.30/rpm/repodata/repomd.xml.key # configuring automatic loading of br_netfilter on startup - path: /etc/modules-load.d/br_netfilter.conf mode: 0644 overwrite: true contents: inline: br_netfilter # setting kernel parameters required by kubelet - path: /etc/sysctl.d/kubernetes.conf mode: 0644 overwrite: true contents: inline: | net.bridge.bridge-nf-call-iptables=1 net.ipv4.ip_forward=1 links: - path: /etc/localtime target: ../usr/share/zoneinfo/Europe/Brussels systemd: units: - name: "install-qemu-guest-agent.service" enabled: true contents: | [Unit] Description=Ensure qemu-guest-agent is installed Wants=network-online.target After=network-online.target Before=zincati.service ConditionPathExists=!/var/lib/%N.stamp [Service] Type=oneshot RemainAfterExit=yes ExecStart=rpm-ostree install --allow-inactive --assumeyes --reboot qemu-guest-agent ExecStart=/bin/touch /var/lib/%N.stamp [Install] WantedBy=multi-user.target - name: var-mnt-k8s.mount enabled: true contents: | [Unit] Description=K8s data storage [Mount] What=192.168.5.100:/mnt/Rust/K8s Where=/var/mnt/k8s Type=nfs4 [Install] WantedBy=multi-user.target