Skip to content

Commit

Permalink
add karmadactl operation scope docs
Browse files Browse the repository at this point in the history
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
  • Loading branch information
zhzhuang-zju committed Dec 16, 2024
1 parent 3f94aa0 commit 7dd3520
Show file tree
Hide file tree
Showing 12 changed files with 736 additions and 0 deletions.
96 changes: 96 additions & 0 deletions docs/resources/tutorials/karmadactl/command-context.drawio
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
<mxfile host="app.diagrams.net" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36" version="25.0.3">
<diagram name="command-context" id="VNAR715q6HBuhb9qn0a1">
<mxGraphModel dx="1050" dy="562" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="TU-5wCUeRCD-JGScTdBT-1" value="" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="50" y="220" width="760" height="370" as="geometry" />
</mxCell>
<mxCell id="u5HGE3QEBOKq89M5sMqb-2" value="&lt;span style=&quot;font-size: 12px;&quot;&gt;control plane&lt;/span&gt;" style="aspect=fixed;sketch=0;html=1;dashed=0;whitespace=wrap;verticalLabelPosition=bottom;verticalAlign=top;fillColor=#2875E2;strokeColor=#ffffff;points=[[0.005,0.63,0],[0.1,0.2,0],[0.9,0.2,0],[0.5,0,0],[0.995,0.63,0],[0.72,0.99,0],[0.5,1,0],[0.28,0.99,0]];shape=mxgraph.kubernetes.icon2;prIcon=api" parent="1" vertex="1">
<mxGeometry x="80" y="470" width="50" height="48" as="geometry" />
</mxCell>
<mxCell id="u5HGE3QEBOKq89M5sMqb-3" value="member1" style="aspect=fixed;sketch=0;html=1;dashed=0;whitespace=wrap;verticalLabelPosition=bottom;verticalAlign=top;fillColor=#2875E2;strokeColor=#ffffff;points=[[0.005,0.63,0],[0.1,0.2,0],[0.9,0.2,0],[0.5,0,0],[0.995,0.63,0],[0.72,0.99,0],[0.5,1,0],[0.28,0.99,0]];shape=mxgraph.kubernetes.icon2;prIcon=api" parent="1" vertex="1">
<mxGeometry x="171.5" y="470" width="50" height="48" as="geometry" />
</mxCell>
<mxCell id="u5HGE3QEBOKq89M5sMqb-4" value="member2" style="aspect=fixed;sketch=0;html=1;dashed=0;whitespace=wrap;verticalLabelPosition=bottom;verticalAlign=top;fillColor=#2875E2;strokeColor=#ffffff;points=[[0.005,0.63,0],[0.1,0.2,0],[0.9,0.2,0],[0.5,0,0],[0.995,0.63,0],[0.72,0.99,0],[0.5,1,0],[0.28,0.99,0]];shape=mxgraph.kubernetes.icon2;prIcon=api" parent="1" vertex="1">
<mxGeometry x="261.5" y="470" width="52.08" height="50" as="geometry" />
</mxCell>
<mxCell id="u5HGE3QEBOKq89M5sMqb-5" value="member3" style="aspect=fixed;sketch=0;html=1;dashed=0;whitespace=wrap;verticalLabelPosition=bottom;verticalAlign=top;fillColor=#2875E2;strokeColor=#ffffff;points=[[0.005,0.63,0],[0.1,0.2,0],[0.9,0.2,0],[0.5,0,0],[0.995,0.63,0],[0.72,0.99,0],[0.5,1,0],[0.28,0.99,0]];shape=mxgraph.kubernetes.icon2;prIcon=api" parent="1" vertex="1">
<mxGeometry x="354.5" y="470" width="50" height="48" as="geometry" />
</mxCell>
<mxCell id="u5HGE3QEBOKq89M5sMqb-10" value="kubectl" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#fff2cc;strokeColor=#d6b656;" parent="1" vertex="1">
<mxGeometry x="80" y="290" width="100" height="30" as="geometry" />
</mxCell>
<mxCell id="u5HGE3QEBOKq89M5sMqb-12" value="" style="aspect=fixed;sketch=0;html=1;dashed=0;whitespace=wrap;verticalLabelPosition=bottom;verticalAlign=top;fillColor=#2875E2;strokeColor=#ffffff;points=[[0.005,0.63,0],[0.1,0.2,0],[0.9,0.2,0],[0.5,0,0],[0.995,0.63,0],[0.72,0.99,0],[0.5,1,0],[0.28,0.99,0]];shape=mxgraph.kubernetes.icon2;prIcon=user" parent="1" vertex="1">
<mxGeometry x="217" y="281" width="50" height="48" as="geometry" />
</mxCell>
<mxCell id="u5HGE3QEBOKq89M5sMqb-13" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;entryPerimeter=0;" parent="1" source="u5HGE3QEBOKq89M5sMqb-12" target="u5HGE3QEBOKq89M5sMqb-2" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="u5HGE3QEBOKq89M5sMqb-26" value="karmada context" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="u5HGE3QEBOKq89M5sMqb-13" connectable="0" vertex="1">
<mxGeometry x="0.741" y="-2" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="u5HGE3QEBOKq89M5sMqb-14" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;entryPerimeter=0;" parent="1" source="u5HGE3QEBOKq89M5sMqb-12" target="u5HGE3QEBOKq89M5sMqb-3" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="u5HGE3QEBOKq89M5sMqb-27" value="member1 context" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="u5HGE3QEBOKq89M5sMqb-14" connectable="0" vertex="1">
<mxGeometry x="0.6032" y="1" relative="1" as="geometry">
<mxPoint x="-1" y="18" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="u5HGE3QEBOKq89M5sMqb-16" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;entryPerimeter=0;" parent="1" source="u5HGE3QEBOKq89M5sMqb-12" target="u5HGE3QEBOKq89M5sMqb-5" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="u5HGE3QEBOKq89M5sMqb-29" value="member3 context" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="u5HGE3QEBOKq89M5sMqb-16" connectable="0" vertex="1">
<mxGeometry x="0.7558" relative="1" as="geometry">
<mxPoint y="15" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="u5HGE3QEBOKq89M5sMqb-19" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;entryPerimeter=0;" parent="1" source="u5HGE3QEBOKq89M5sMqb-12" target="u5HGE3QEBOKq89M5sMqb-4" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="u5HGE3QEBOKq89M5sMqb-28" value="member2 context" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="u5HGE3QEBOKq89M5sMqb-19" connectable="0" vertex="1">
<mxGeometry x="0.6032" y="-1" relative="1" as="geometry">
<mxPoint x="1" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="u5HGE3QEBOKq89M5sMqb-20" value="different context" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="188" y="380" width="108" height="30" as="geometry" />
</mxCell>
<mxCell id="u5HGE3QEBOKq89M5sMqb-30" value="control plane" style="aspect=fixed;sketch=0;html=1;dashed=0;whitespace=wrap;verticalLabelPosition=bottom;verticalAlign=top;fillColor=#2875E2;strokeColor=#ffffff;points=[[0.005,0.63,0],[0.1,0.2,0],[0.9,0.2,0],[0.5,0,0],[0.995,0.63,0],[0.72,0.99,0],[0.5,1,0],[0.28,0.99,0]];shape=mxgraph.kubernetes.icon2;prIcon=api" parent="1" vertex="1">
<mxGeometry x="470" y="470" width="50" height="48" as="geometry" />
</mxCell>
<mxCell id="u5HGE3QEBOKq89M5sMqb-31" value="member1" style="aspect=fixed;sketch=0;html=1;dashed=0;whitespace=wrap;verticalLabelPosition=bottom;verticalAlign=top;fillColor=#2875E2;strokeColor=#ffffff;points=[[0.005,0.63,0],[0.1,0.2,0],[0.9,0.2,0],[0.5,0,0],[0.995,0.63,0],[0.72,0.99,0],[0.5,1,0],[0.28,0.99,0]];shape=mxgraph.kubernetes.icon2;prIcon=api" parent="1" vertex="1">
<mxGeometry x="561.5" y="470" width="50" height="48" as="geometry" />
</mxCell>
<mxCell id="u5HGE3QEBOKq89M5sMqb-32" value="member2" style="aspect=fixed;sketch=0;html=1;dashed=0;whitespace=wrap;verticalLabelPosition=bottom;verticalAlign=top;fillColor=#2875E2;strokeColor=#ffffff;points=[[0.005,0.63,0],[0.1,0.2,0],[0.9,0.2,0],[0.5,0,0],[0.995,0.63,0],[0.72,0.99,0],[0.5,1,0],[0.28,0.99,0]];shape=mxgraph.kubernetes.icon2;prIcon=api" parent="1" vertex="1">
<mxGeometry x="651.5" y="470" width="52.08" height="50" as="geometry" />
</mxCell>
<mxCell id="u5HGE3QEBOKq89M5sMqb-33" value="member3" style="aspect=fixed;sketch=0;html=1;dashed=0;whitespace=wrap;verticalLabelPosition=bottom;verticalAlign=top;fillColor=#2875E2;strokeColor=#ffffff;points=[[0.005,0.63,0],[0.1,0.2,0],[0.9,0.2,0],[0.5,0,0],[0.995,0.63,0],[0.72,0.99,0],[0.5,1,0],[0.28,0.99,0]];shape=mxgraph.kubernetes.icon2;prIcon=api" parent="1" vertex="1">
<mxGeometry x="744.5" y="470" width="50" height="48" as="geometry" />
</mxCell>
<mxCell id="u5HGE3QEBOKq89M5sMqb-34" value="karmadactl" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#fff2cc;strokeColor=#d6b656;" parent="1" vertex="1">
<mxGeometry x="470" y="290" width="100" height="30" as="geometry" />
</mxCell>
<mxCell id="u5HGE3QEBOKq89M5sMqb-35" value="" style="aspect=fixed;sketch=0;html=1;dashed=0;whitespace=wrap;verticalLabelPosition=bottom;verticalAlign=top;fillColor=#2875E2;strokeColor=#ffffff;points=[[0.005,0.63,0],[0.1,0.2,0],[0.9,0.2,0],[0.5,0,0],[0.995,0.63,0],[0.72,0.99,0],[0.5,1,0],[0.28,0.99,0]];shape=mxgraph.kubernetes.icon2;prIcon=user" parent="1" vertex="1">
<mxGeometry x="605" y="281" width="50" height="48" as="geometry" />
</mxCell>
<mxCell id="u5HGE3QEBOKq89M5sMqb-45" value="" style="shape=curlyBracket;whiteSpace=wrap;html=1;rounded=1;labelPosition=left;verticalLabelPosition=middle;align=right;verticalAlign=middle;direction=south;" parent="1" vertex="1">
<mxGeometry x="490" y="430" width="280" height="20" as="geometry" />
</mxCell>
<mxCell id="u5HGE3QEBOKq89M5sMqb-46" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0.1;entryY=0.5;entryDx=0;entryDy=0;entryPerimeter=0;" parent="1" source="u5HGE3QEBOKq89M5sMqb-35" target="u5HGE3QEBOKq89M5sMqb-45" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="u5HGE3QEBOKq89M5sMqb-44" value="karmada context" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="578" y="380" width="108" height="30" as="geometry" />
</mxCell>
<mxCell id="u5HGE3QEBOKq89M5sMqb-47" value="" style="line;strokeWidth=2;direction=south;html=1;" parent="1" vertex="1">
<mxGeometry x="440" y="250" width="10" height="320" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 7dd3520

Please sign in to comment.