import { CardContent } from "@/components/ui/card";
import {
DialogDescription,
DialogHeader,
DialogTitle,
} from "@/components/ui/dialog";
import { api } from "@/utils/api";
import copy from "copy-to-clipboard";
import { CopyIcon } from "lucide-react";
import { toast } from "sonner";
export const AddManager = () => {
const { data } = api.cluster.addManager.useQuery();
return (
<>
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(manager) to your
cluster
{data}
>
);
};