@when('kubernetes-master.gpu.enabled')
@when_not('kubernetes-master.privileged')
def disable_gpu_mode():
    'We were in gpu mode, but the operator has set allow-privileged="false",\n    so we can\'t run in gpu mode anymore.\n\n    '
    remove_state('kubernetes-master.gpu.enabled')
We were in gpu mode, but the operator has set allow-privileged="false",
so we can't run in gpu mode anymore.
@when('kubernetes-master.gpu.enabled')
@when_not('kubernetes-master.privileged')
def disable_gpu_mode():
    'We were in gpu mode, but the operator has set allow-privileged="false",\n    so we can\'t run in gpu mode anymore.\n\n    '
    remove_state('kubernetes-master.gpu.enabled')