import { Button } from "@/components/ui/button"; import { Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle, DialogTrigger, } from "@/components/ui/dialog"; import { DropdownMenuItem } from "@/components/ui/dropdown-menu"; import { api } from "@/utils/api"; export const AddWorker = () => { const { data } = api.cluster.addWorker.useQuery(); return ( e.preventDefault()} > Add Worker Add a new worker Add a new worker
1. Go to your new server and run the following command curl https://get.docker.com | sh -s -- --version 24.0
2. Run the following command to add the node(server) to your cluster {data}
); };