diff --git a/backend/internal/database/database.go b/backend/internal/database/database.go
index b0f9a06..8290efe 100644
--- a/backend/internal/database/database.go
+++ b/backend/internal/database/database.go
@@ -106,9 +106,9 @@ func seedDemoData() {
log.Println("[seed] 首次启动,写入示例数据…")
- // ---- 流水线 1:aiops-backend(Go + K8s) ----
+ // ---- 流水线 1:aiops-backend(Go + Kubernetes) ----
backend := model.Pipeline{
- Name: "aiops-backend", Description: "AIOps 后端服务(Go + K8s 滚动发布)",
+ Name: "aiops-backend", Description: "AIOps 后端服务(Go + Kubernetes 滚动发布)",
Type: "native", SourceRepo: "https://gitee.com/attacker/aiops.git", SourceBranch: "master",
DeployType: "k8s", Env: "production",
}
diff --git a/frontend/src/components/BasicInfoPanel.tsx b/frontend/src/components/BasicInfoPanel.tsx
index 678f16e..2f12dff 100644
--- a/frontend/src/components/BasicInfoPanel.tsx
+++ b/frontend/src/components/BasicInfoPanel.tsx
@@ -88,7 +88,7 @@ export default function BasicInfoPanel({ pipelineId }: Props) {
diff --git a/frontend/src/pages/BatchRelease.tsx b/frontend/src/pages/BatchRelease.tsx
index 333819c..0dd1bbb 100644
--- a/frontend/src/pages/BatchRelease.tsx
+++ b/frontend/src/pages/BatchRelease.tsx
@@ -299,7 +299,7 @@ export default function BatchRelease({ onViewRecords }: { onViewRecords?: () =>
{p.name}
{p.branch}
{tp.label}
- {p.deployType === 'k8s' ? K8s : p.deployType === 'gitops' ? GitOps : 主机}
+ {p.deployType === 'k8s' ? Kubernetes : p.deployType === 'gitops' ? GitOps : 主机}
{p.env}
@@ -337,7 +337,7 @@ export default function BatchRelease({ onViewRecords }: { onViewRecords?: () =>
-
+
@@ -433,7 +433,7 @@ export default function EnvironmentManager() {
) : (
- /* K8s Clusters */
+ /* Kubernetes 集群 */
{clusterStats.map((stat) => (
diff --git a/frontend/src/pages/PipelineList.tsx b/frontend/src/pages/PipelineList.tsx
index fa4b2c5..6142e84 100644
--- a/frontend/src/pages/PipelineList.tsx
+++ b/frontend/src/pages/PipelineList.tsx
@@ -77,7 +77,7 @@ const statusConfig: Record = {
- k8s: { label: 'K8s', color: '#0969da', bg: '#ddf4ff' },
+ k8s: { label: 'Kubernetes', color: '#0969da', bg: '#ddf4ff' },
host: { label: '主机', color: '#1a7f37', bg: '#dafbe1' },
gitops: { label: 'GitOps', color: '#0e7c7b', bg: '#d5f5f6' },
};
@@ -571,7 +571,7 @@ export default function PipelineList({ onSelectPipeline }: { onSelectPipeline: (
setForm((f) => ({ ...f, description: e.target.value }))}
- placeholder="例如 Go后端服务 - Docker构建 + K8s部署"
+ placeholder="例如 Go后端服务 - Docker构建 + Kubernetes 部署"
className="w-full px-3 py-[7px] rounded-md border text-[13px] outline-none"
style={inputStyle}
/>
@@ -607,7 +607,7 @@ export default function PipelineList({ onSelectPipeline }: { onSelectPipeline: (
主机
- K8s
+ Kubernetes
GitOps