feat(clusters): warn about K8s version requirement on registration
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import { ExclamationCircleFilled } from '@ant-design/icons';
|
||||
import { AlertBlockInfo } from '@gpustack/core-ui';
|
||||
import { useIntl } from '@umijs/max';
|
||||
import { Typography } from 'antd';
|
||||
import RegisterClusterInner from '../register-cluster-inner';
|
||||
@@ -34,6 +36,14 @@ const K8sRunCommand: React.FC<AddWorkerStepProps> = ({ disabled }) => {
|
||||
id: 'clusters.create.addCommand.k8s.tips'
|
||||
})}
|
||||
</Typography.Paragraph>
|
||||
<AlertBlockInfo
|
||||
type="warning"
|
||||
style={{ marginBottom: 8 }}
|
||||
icon={<ExclamationCircleFilled />}
|
||||
message={intl.formatMessage({
|
||||
id: 'clusters.create.addCommand.k8s.version.warning'
|
||||
})}
|
||||
></AlertBlockInfo>
|
||||
<RegisterClusterInner
|
||||
registrationInfo={registrationInfo}
|
||||
currentGPU={currentGPU}
|
||||
|
||||
Reference in New Issue
Block a user