import { Button } from "@/components/ui/button"; import { Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle, DialogTrigger, } from "@/components/ui/dialog"; import { api } from "@/utils/api"; import { DropdownMenuItem } from "@/components/ui/dropdown-menu"; export const AddManager = () => { const { data } = api.cluster.addManager.useQuery(); return ( <> e.preventDefault()} > Add Manager Add a new manager Add a new manager
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}
); };