Skip to content

Commit 2c1a6d2

Browse files
authored
chore: adding tools.json (github#255)
Signed-off-by: Ivan Pedrazas <ivan.pedrazas@docker.com>
1 parent 72b870a commit 2c1a6d2

File tree

1 file changed

+387
-0
lines changed

1 file changed

+387
-0
lines changed
Lines changed: 387 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,387 @@
1+
[
2+
{
3+
"name": "check_pod_health",
4+
"description": "Check the health status of a pod.",
5+
"arguments": [
6+
{
7+
"name": "pod_name",
8+
"type": "string",
9+
"desc": ""
10+
},
11+
{
12+
"name": "namespace",
13+
"type": "string",
14+
"desc": "",
15+
"optional": true
16+
}
17+
]
18+
},
19+
{
20+
"name": "create_deployment",
21+
"description": "Create a new deployment.",
22+
"arguments": [
23+
{
24+
"name": "image",
25+
"type": "string",
26+
"desc": ""
27+
},
28+
{
29+
"name": "name",
30+
"type": "string",
31+
"desc": ""
32+
},
33+
{
34+
"name": "replicas",
35+
"type": "integer",
36+
"desc": ""
37+
},
38+
{
39+
"name": "namespace",
40+
"type": "string",
41+
"desc": "",
42+
"optional": true
43+
}
44+
]
45+
},
46+
{
47+
"name": "delete_resource",
48+
"description": "Delete a Kubernetes resource.",
49+
"arguments": [
50+
{
51+
"name": "name",
52+
"type": "string",
53+
"desc": ""
54+
},
55+
{
56+
"name": "resource_type",
57+
"type": "string",
58+
"desc": ""
59+
},
60+
{
61+
"name": "namespace",
62+
"type": "string",
63+
"desc": "",
64+
"optional": true
65+
}
66+
]
67+
},
68+
{
69+
"name": "get_api_resources",
70+
"description": "List Kubernetes API resources."
71+
},
72+
{
73+
"name": "get_cluster_roles",
74+
"description": "Get all cluster-wide RBAC roles."
75+
},
76+
{
77+
"name": "get_configmaps",
78+
"description": "Get all ConfigMaps in the specified namespace.",
79+
"arguments": [
80+
{
81+
"name": "namespace",
82+
"type": "string",
83+
"desc": "",
84+
"optional": true
85+
}
86+
]
87+
},
88+
{
89+
"name": "get_current_context",
90+
"description": "Get current kubeconfig context."
91+
},
92+
{
93+
"name": "get_deployments",
94+
"description": "Get all deployments in the specified namespace.",
95+
"arguments": [
96+
{
97+
"name": "namespace",
98+
"type": "string",
99+
"desc": "",
100+
"optional": true
101+
}
102+
]
103+
},
104+
{
105+
"name": "get_events",
106+
"description": "Get all events in the specified namespace.",
107+
"arguments": [
108+
{
109+
"name": "namespace",
110+
"type": "string",
111+
"desc": "",
112+
"optional": true
113+
}
114+
]
115+
},
116+
{
117+
"name": "get_logs",
118+
"description": "Get logs from a pod.",
119+
"arguments": [
120+
{
121+
"name": "pod_name",
122+
"type": "string",
123+
"desc": ""
124+
},
125+
{
126+
"name": "container",
127+
"type": "string",
128+
"desc": "",
129+
"optional": true
130+
},
131+
{
132+
"name": "namespace",
133+
"type": "string",
134+
"desc": "",
135+
"optional": true
136+
},
137+
{
138+
"name": "tail",
139+
"type": "string",
140+
"desc": "",
141+
"optional": true
142+
}
143+
]
144+
},
145+
{
146+
"name": "get_namespaces",
147+
"description": "Get all Kubernetes namespaces."
148+
},
149+
{
150+
"name": "get_nodes",
151+
"description": "Get all nodes in the cluster."
152+
},
153+
{
154+
"name": "get_pod_events",
155+
"description": "Get events for a specific pod.",
156+
"arguments": [
157+
{
158+
"name": "pod_name",
159+
"type": "string",
160+
"desc": ""
161+
},
162+
{
163+
"name": "namespace",
164+
"type": "string",
165+
"desc": "",
166+
"optional": true
167+
}
168+
]
169+
},
170+
{
171+
"name": "get_pods",
172+
"description": "Get all pods in the specified namespace.",
173+
"arguments": [
174+
{
175+
"name": "namespace",
176+
"type": "string",
177+
"desc": "",
178+
"optional": true
179+
}
180+
]
181+
},
182+
{
183+
"name": "get_rbac_roles",
184+
"description": "Get all RBAC roles in the specified namespace.",
185+
"arguments": [
186+
{
187+
"name": "namespace",
188+
"type": "string",
189+
"desc": "",
190+
"optional": true
191+
}
192+
]
193+
},
194+
{
195+
"name": "get_resource_usage",
196+
"description": "Get resource usage statistics via kubectl top.",
197+
"arguments": [
198+
{
199+
"name": "namespace",
200+
"type": "string",
201+
"desc": "",
202+
"optional": true
203+
}
204+
]
205+
},
206+
{
207+
"name": "get_secrets",
208+
"description": "Get all Secrets in the specified namespace.",
209+
"arguments": [
210+
{
211+
"name": "namespace",
212+
"type": "string",
213+
"desc": "",
214+
"optional": true
215+
}
216+
]
217+
},
218+
{
219+
"name": "get_services",
220+
"description": "Get all services in the specified namespace.",
221+
"arguments": [
222+
{
223+
"name": "namespace",
224+
"type": "string",
225+
"desc": "",
226+
"optional": true
227+
}
228+
]
229+
},
230+
{
231+
"name": "health_check",
232+
"description": "Check cluster health by pinging the API server."
233+
},
234+
{
235+
"name": "install_helm_chart",
236+
"description": "Install a Helm chart.",
237+
"arguments": [
238+
{
239+
"name": "chart",
240+
"type": "string",
241+
"desc": ""
242+
},
243+
{
244+
"name": "name",
245+
"type": "string",
246+
"desc": ""
247+
},
248+
{
249+
"name": "namespace",
250+
"type": "string",
251+
"desc": ""
252+
},
253+
{
254+
"name": "repo",
255+
"type": "string",
256+
"desc": "",
257+
"optional": true
258+
},
259+
{
260+
"name": "values",
261+
"type": "string",
262+
"desc": "",
263+
"optional": true
264+
}
265+
]
266+
},
267+
{
268+
"name": "kubectl_explain",
269+
"description": "Explain a Kubernetes resource using kubectl explain.",
270+
"arguments": [
271+
{
272+
"name": "resource",
273+
"type": "string",
274+
"desc": ""
275+
}
276+
]
277+
},
278+
{
279+
"name": "port_forward",
280+
"description": "Forward local port to pod port.",
281+
"arguments": [
282+
{
283+
"name": "local_port",
284+
"type": "integer",
285+
"desc": ""
286+
},
287+
{
288+
"name": "pod_name",
289+
"type": "string",
290+
"desc": ""
291+
},
292+
{
293+
"name": "pod_port",
294+
"type": "integer",
295+
"desc": ""
296+
},
297+
{
298+
"name": "namespace",
299+
"type": "string",
300+
"desc": "",
301+
"optional": true
302+
}
303+
]
304+
},
305+
{
306+
"name": "scale_deployment",
307+
"description": "Scale a deployment.",
308+
"arguments": [
309+
{
310+
"name": "name",
311+
"type": "string",
312+
"desc": ""
313+
},
314+
{
315+
"name": "replicas",
316+
"type": "integer",
317+
"desc": ""
318+
},
319+
{
320+
"name": "namespace",
321+
"type": "string",
322+
"desc": "",
323+
"optional": true
324+
}
325+
]
326+
},
327+
{
328+
"name": "switch_context",
329+
"description": "Switch current kubeconfig context.",
330+
"arguments": [
331+
{
332+
"name": "context_name",
333+
"type": "string",
334+
"desc": ""
335+
}
336+
]
337+
},
338+
{
339+
"name": "uninstall_helm_chart",
340+
"description": "Uninstall a Helm release.",
341+
"arguments": [
342+
{
343+
"name": "name",
344+
"type": "string",
345+
"desc": ""
346+
},
347+
{
348+
"name": "namespace",
349+
"type": "string",
350+
"desc": ""
351+
}
352+
]
353+
},
354+
{
355+
"name": "upgrade_helm_chart",
356+
"description": "Upgrade a Helm release.",
357+
"arguments": [
358+
{
359+
"name": "chart",
360+
"type": "string",
361+
"desc": ""
362+
},
363+
{
364+
"name": "name",
365+
"type": "string",
366+
"desc": ""
367+
},
368+
{
369+
"name": "namespace",
370+
"type": "string",
371+
"desc": ""
372+
},
373+
{
374+
"name": "repo",
375+
"type": "string",
376+
"desc": "",
377+
"optional": true
378+
},
379+
{
380+
"name": "values",
381+
"type": "string",
382+
"desc": "",
383+
"optional": true
384+
}
385+
]
386+
}
387+
]

0 commit comments

Comments
 (0)