mirror of https://github.com/portainer/portainer
feat(app/wizard): info panel telling to add env only once per swarm cluster (#11954)
parent
e4e55157e8
commit
8fae7f8438
|
@ -10,6 +10,7 @@ import EdgeAgentAsyncIcon from '@/react/edge/components/edge-agent-async.svg?c';
|
||||||
|
|
||||||
import { BoxSelector, type BoxSelectorOption } from '@@/BoxSelector';
|
import { BoxSelector, type BoxSelectorOption } from '@@/BoxSelector';
|
||||||
import { BadgeIcon } from '@@/BadgeIcon';
|
import { BadgeIcon } from '@@/BadgeIcon';
|
||||||
|
import { Alert } from '@@/Alert';
|
||||||
|
|
||||||
import { AnalyticsStateKey } from '../types';
|
import { AnalyticsStateKey } from '../types';
|
||||||
import { EdgeAgentTab } from '../shared/EdgeAgentTab';
|
import { EdgeAgentTab } from '../shared/EdgeAgentTab';
|
||||||
|
@ -70,6 +71,17 @@ export function WizardDocker({ onCreate, isDockerStandalone }: Props) {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="form-horizontal">
|
<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
|
<BoxSelector
|
||||||
onChange={(v) => setCreationType(v)}
|
onChange={(v) => setCreationType(v)}
|
||||||
options={options}
|
options={options}
|
||||||
|
|
Loading…
Reference in New Issue