-
Notifications
You must be signed in to change notification settings - Fork 5
Home
omgbebebe edited this page May 30, 2024
·
1 revision
High level functionality when a user type a request in a comment, this question processed by LLM then reply returns via feedback channel to a TMUX window.
-
#mw list k8s namespaceswill performkubectl get namespacesin a current TMUX window:
- catch user input
- decide that this is a comment
- send request to a LLM
- get reply from LLM
- type
kubectl get namespacesinto the TMUX window without endingEnterkey, just a command and allow user to decide to perform or not - print short description about generated command into
feedbackwindow
-
#mw show failed podswill perform something likekubectl get pods --all-namespaces | rg Error
- the actions list is the same as above
-
#mw what's issue with default-domain-lfsx4or#mw ivestigate first podwill performkubectl logs -n knative-serving default-domain-lfsx4, examine logs via LLM and print reply into thefeedbackwindow -
#mw ssh into default-domain-lfsx4will generate akubectlcommand to exec shell on the pod and give it terminal to the user
-
--mw list databaseswill perform\linpsqlshell and print a short description into thefeedbackwindow --mw list active connection-
--mw show autovacuum statuswill perform a SQL query to the postgres system tables and shows numbers about dead tuples, last time when autovacuum was performed, etc. Optionally provide the user with a recommendations if any issues is detected. I.e. too many dead tuples compared with live tuples -
explain select <foo> from <bar> where <baz>=<cux>then--mw explain the planwill investigate the plan via LLM and provide a recommendations to perform the query better if any. I.e.you need to create an index on <bla-bla>; to do that perform the SQL query "CREATE INDEX <bla-bla-bla> -
--mw list dead indiceswill print a SQL query to show indices that have never been used.
-
#mw monitor ARP packetswill performsudo tcpdump -qni any arp -
#mw oom killswill grep dmesg to find a records about OOM kills and print the process names and why it was killed -
#mw expand the root fs by 50Gbwill determine the root block device, depending on it type (raw or lvm or zfs etc.) will print intofeedbackthe set of command to extent the block device.