Skip to content

Instantly share code, notes, and snippets.

@jaylandro
Created October 12, 2022 17:26
Show Gist options
  • Save jaylandro/3e6cba64ebe04121c6a8fc8f65fa2210 to your computer and use it in GitHub Desktop.
Save jaylandro/3e6cba64ebe04121c6a8fc8f65fa2210 to your computer and use it in GitHub Desktop.
graph
subgraph Cluster[Target Kubernetes Cluster<br><br>]
    Verification(Pod: Node Drain Verification )
    ctpl(Control Plane)
    n0(Node0<br>Pods: a,b,c,d,g,h)
    n1(Node1<br>Pods: e,f,g,h)
    n1final(Node1)
    n2(Node2<br>Pods: i,j,k,l,e,f)

    n1 -- e & f rescheduled --> n2
    n1 -- g & h rescheduled --> n0
    n1 -- Node1 drained --> n1final
    Verification -- Node1 selected via <br> label for draining ---> ctpl
    ctpl --> n1
end


classDef draintarget stroke:orange,stroke-dasharray:5;
class n1,n1final draintarget

style Cluster fill:aliceblue,stroke:none
style Verification fill:orange
style ctpl stroke-dasharray:5,fill:none
style n1final fill:lightgrey
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment