Skip to content

Instantly share code, notes, and snippets.

@hexfusion
Created July 14, 2020 15:51
Show Gist options
  • Save hexfusion/fedb89e842ca49fb4633d4b409067aa6 to your computer and use it in GitHub Desktop.
Save hexfusion/fedb89e842ca49fb4633d4b409067aa6 to your computer and use it in GitHub Desktop.
---
apiVersion: machineconfiguration.openshift.io/v1
kind: MachineConfig
metadata:
creationTimestamp: null
labels:
machineconfiguration.openshift.io/role: master
name: 10-master-etcd
spec:
config:
ignition:
config: {}
security:
tls: {}
timeouts: {}
version: 2.2.0
networkd: {}
passwd: {}
storage:
filesystems:
- mount:
device: "/dev/sdc"
format: xfs
wipeFilesystem: true
name: etcd
systemd:
units:
- contents: |-
[Unit]
Before=local-fs.target
[Mount]
What=/dev/sdc
Where=/var/lib/etcd
Type=xfs
[Install]
WantedBy=local-fs.target
enable: true
name: var-lib-etcd.mount
osImageURL: ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment