aboutsummaryrefslogtreecommitdiffstats
path: root/kud/deployment_infra/playbooks/deploy_optane.sh
blob: cb50237322b39f8df7108c0a285c0388db39c465 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash

work_path="$(dirname -- "$(readlink -f -- "$0")")"
ndctl_region=`ndctl list -R`
if [[ $ndctl_region == "" ]] ; then
    echo "No Optane Hardware!"
else
    echo "Optane Plugin start .."
    /usr/local/bin/kubectl apply -f $work_path/pmem-csi-lvm.yaml
fi