Skip to content

Instantly share code, notes, and snippets.

@eparis
Created April 20, 2015 00:04
Show Gist options
  • Save eparis/183e866b1d85f408db6e to your computer and use it in GitHub Desktop.
Save eparis/183e866b1d85f408db6e to your computer and use it in GitHub Desktop.
SchedulingDisabled Test
{
minion: api.Node{
ObjectMeta: api.ObjectMeta{Name: "foo2"},
Spec: api.NodeSpec{Unschedulable: true},
Status: api.NodeStatus{Conditions: []api.NodeCondition{
{Type: api.NodeReady, Status: api.ConditionTrue},
{Type: api.NodeReady, Status: api.ConditionTrue}}},
},
status: "Ready,SchedulingDisabled",
},
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment