Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(app/wizard): info panel telling to add env only once per swarm cluster #11954

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import EdgeAgentAsyncIcon from '@/react/edge/components/edge-agent-async.svg?c';

import { BoxSelector, type BoxSelectorOption } from '@@/BoxSelector';
import { BadgeIcon } from '@@/BadgeIcon';
import { Alert } from '@@/Alert';

import { AnalyticsStateKey } from '../types';
import { EdgeAgentTab } from '../shared/EdgeAgentTab';
Expand Down Expand Up @@ -70,6 +71,17 @@ export function WizardDocker({ onCreate, isDockerStandalone }: Props) {

return (
<div className="form-horizontal">
{!isDockerStandalone && (
<Alert color="warn" className="col-sm-12 mb-2">
<div>
Only do this <b>once</b> for your environment, regardless of how
many nodes are in the cluster. You do <b>not</b> need to add each
node as an individual environment in Portainer. Adding just one node
(we recommend the manager node) will allow Portainer to manage the
entire cluster.
</div>
</Alert>
)}
<BoxSelector
onChange={(v) => setCreationType(v)}
options={options}
Expand Down
Loading