Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Support for NVMe EC2 Instances (m5, c5) #51

Open
stanvarlamov opened this issue May 8, 2018 · 1 comment
Open

Add Support for NVMe EC2 Instances (m5, c5) #51

stanvarlamov opened this issue May 8, 2018 · 1 comment

Comments

@stanvarlamov
Copy link
Contributor

As OpenShift 3.9 is now fully compatible with ec2 m5 instances - those can be used in the configuration, after this proposed setup-master.sh and setup-node-sh update:

Replace

cat <<EOF > /etc/sysconfig/docker-storage-setup
DEVS=/dev/xvdf
VG=docker-vg
EOF

with

DEVICE_NAME=xvdf
lsblk | grep -q "xvdf"
if [ $? -ne 0 ]; then
   DEVICE_NAME=nvme1n1
fi   
cat <<EOF > /etc/sysconfig/docker-storage-setup
DEVS=/dev/$DEVICE_NAME
VG=docker-vg
EOF
@dwmkerr
Copy link
Owner

dwmkerr commented May 13, 2018

Looks great @stanvarlamov, I'll hopefully get onto this shortly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants