Compare commits

..
34 Commits
Author SHA1 Message Date
drone f3980a7978 release: bump chart version to v1.0.103 2026-11-18 05:31:22 +00:00
drone e06c006594 release: bump chart version to v1.0.102 2026-11-17 08:40:28 +00:00
drone b7bfbb30bc release: bump chart version to v1.0.101 2026-11-17 07:50:21 +00:00
drone 42c0789c25 release: bump chart version to v1.0.100 2026-11-16 05:58:56 +00:00
drone 73842a7be3 release: bump chart version to v1.0.99 2026-11-11 08:47:01 +00:00
薛佳帆 0afaa17112 release: bump chart version to v1.0.98 2026-11-11 16:40:05 +08:00
薛佳帆 bf0170aa26 fix(dotnet): 全部 .NET 主容器加 appArmorProfile Unconfined——AppArmor 拒线程定向信号致 GC abort
根因(dotnet/runtime#136603,已由同事在 sciveda 现场实测验证):Ubuntu 26.04 新内核
配套 AppArmor 行为禁止容器内进程向自身线程发信号(pthread_kill/tgkill → EACCES),
CoreCLR GC 挂起线程失败 → 运行时 abort → dmesg 表现为 'general protection fault
in libc.so.6[+0x289a2]'(.NET BGC/Server GC/TP Worker 线程),容器 exit 139
CrashLoop,负载越高崩得越频,且 journalctl 无 apparmor=DENIED 记录。
同机制亦解释此前 postgres 'could not signal for checkpoint: Permission denied'
(privileged 之所以有效 = privileged 容器不受 AppArmor 约束)。
修复:agent/sso/ultra/edge/gateway/platform 六处 .NET 主容器
securityContext.appArmorProfile.type: Unconfined。
2026-11-11 16:38:24 +08:00
drone dcc948188b release: bump chart version to v1.0.97 2026-11-10 08:26:38 +00:00
drone 78b9b9db15 release: bump chart version to v1.0.96 2026-11-10 08:24:27 +00:00
薛佳帆 2df3373304 release: bump chart version to v1.0.95 2026-11-10 16:23:26 +08:00
薛佳帆 9b002c6491 fix(postgres): 全部 postgres StatefulSet 三件套修复——绕过镜像内 gosu 直跑 + 特权容器
根因:官方 postgres:17 镜像(2026-08 构建)内 gosu 在新内核(Ubuntu 26.04 kernel 7.0.0-39+)上
用户态死循环,容器假活(Running 但 5432 无服务、PGDATA 空、零日志);绕过 gosu 后 PG17 恢复期
signal checkpoint 再遇权限死循环,故三件缺一不可:
- pod securityContext: runAsUser/runAsGroup/fsGroup=999(以 postgres 用户直跑,跳过 gosu)
- container command: docker-entrypoint.sh postgres(非 root 下 entrypoint 自动跳过 gosu)
- container securityContext: privileged(否则恢复期 'could not signal for checkpoint: Permission denied')

涉及 5 个模板:sso/ultra/audit(audit-db)/platform(audit)/agent-unit 各自内嵌的 postgres。
同内容已提交 develop 分支 407aef8;实测:xjf1641(Xeon+kernel43)与 wytest(i5+kernel42)
原始定义必死、打补丁后稳定;kernel 7.0.0-38 老机暂未触发但不免疫,升级内核前必须先吃本修复。
2026-11-10 16:21:57 +08:00
drone 6df5affe17 release: bump chart version to v1.0.94 2026-11-10 07:58:36 +00:00
drone bf915935ea release: bump chart version to v1.0.93 2026-11-10 07:42:51 +00:00
drone 6734c2022b release: bump chart version to v1.0.92 2026-11-10 07:05:56 +00:00
drone 60356c55aa release: bump chart version to v1.0.90 2026-11-03 02:07:13 +00:00
drone 68bccfc092 release: bump chart version to v1.0.89 2026-11-03 01:54:41 +00:00
薛佳帆 e031d656a0 release: bump chart version to v1.0.88 2026-10-30 03:45:53 +00:00
薛佳帆 347180d77b release: bump chart version to v1.0.87 2026-10-30 03:42:15 +00:00
王野 9fdb306601 release: bump chart version to v1.0.86 2026-10-28 07:40:28 +00:00
王野 c3e295494d release: bump chart version to v1.0.85 2026-10-28 02:22:28 +00:00
liulingyun 17a186a9df merge: origin/master(v1.0.84) → master(errorRetentionMonths 同步主线) 2026-10-27 14:32:48 +08:00
薛佳帆 321b602905 release: bump chart version to v1.0.84 2026-10-27 06:24:59 +00:00
liulingyun a1da3f4e42 feat(audit): audit chart 新增 errorRetentionMonths——错误流水独立保留期透传
(openspec 变更 edge-agent-error-audit-retention;配套后端 AUDIT_ERROR_RETENTION_MONTHS)

- values.yaml: audit.errorRetentionMonths 默认 3(操作流水 retentionMonths=6 不变)
- templates/audit.yaml: deployment 透传 AUDIT_ERROR_RETENTION_MONTHS

注: 版本号 bump 随发布流程另行执行。
2026-10-26 15:39:36 +08:00
薛佳帆 8733595824 release: bump chart version to v1.0.83 2026-10-26 05:29:55 +00:00
薛佳帆 ff5ecf710e release: bump chart version to v1.0.82 2026-10-23 01:18:36 +00:00
薛佳帆 c2b78f8ff0 release: bump chart version to v1.0.81 2026-10-23 01:17:47 +00:00
薛佳帆 b0e1dcd4f0 release: bump chart version to v1.0.80 2026-10-23 00:57:04 +00:00
薛佳帆 e7f4b71cd0 release: bump chart version to v1.0.79 2026-10-22 05:10:33 +00:00
薛佳帆 4bcf4fe0a3 release: bump chart version to v1.0.78 2026-10-22 02:44:25 +00:00
薛佳帆 33de837556 release: bump chart version to v1.0.77 2026-10-22 01:36:57 +00:00
薛佳帆 b1d65fab30 release: bump chart version to v1.0.76 2026-10-22 01:35:03 +00:00
王野 25a9385751 release: bump chart version to v1.0.75 2026-10-16 09:00:53 +00:00
王野 0c8effe321 release: bump chart version to v1.0.74 2026-10-16 06:44:35 +00:00
ximenchuifeng 0aeb301be5 release: bump chart version to v1.0.73 2026-10-14 08:51:32 +00:00
22 changed files with 94 additions and 26 deletions

No files matched your search

+2 -2
View File
@@ -2,5 +2,5 @@ apiVersion: v2
name: mixingx-agent-unit name: mixingx-agent-unit
description: "One MixingX agent unit release: agent backend, agent web, and agent PostgreSQL." description: "One MixingX agent unit release: agent backend, agent web, and agent PostgreSQL."
type: application type: application
version: 1.0.72 version: 1.0.103
appVersion: "1.0.72" appVersion: "1.0.103"
@@ -38,6 +38,9 @@ spec:
{{ $backendTag := $agentImg.tag | default $backendImg.tag | default .Values.tag | default "latest" }} {{ $backendTag := $agentImg.tag | default $backendImg.tag | default .Values.tag | default "latest" }}
image: {{ .Values.registry }}/{{ $backendRepo }}:{{ $backendTag }} image: {{ .Values.registry }}/{{ $backendRepo }}:{{ $backendTag }}
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
securityContext:
appArmorProfile:
type: Unconfined
ports: ports:
- name: http - name: http
containerPort: {{ .Values.ports.backend }} containerPort: {{ .Values.ports.backend }}
@@ -212,8 +215,17 @@ spec:
imagePullSecrets: imagePullSecrets:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
# postgres 以专用用户直跑,绕过镜像内 gosu(新内核下 gosu 用户态死循环,
# 见工单:kernel 7.0.0-39+ × gosu 兼容 bug;三件套缺一不可)
securityContext:
runAsUser: 999
runAsGroup: 999
fsGroup: 999
containers: containers:
- name: postgres - name: postgres
command: ["docker-entrypoint.sh", "postgres"]
securityContext:
privileged: true
image: {{ .Values.images.postgres.repository }}:{{ .Values.images.postgres.tag | default "latest" }} image: {{ .Values.images.postgres.repository }}:{{ .Values.images.postgres.tag | default "latest" }}
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
env: env:
+2 -2
View File
@@ -2,5 +2,5 @@ apiVersion: v2
name: mixingx-audit name: mixingx-audit
description: MixingX audit service. description: MixingX audit service.
type: application type: application
version: 1.0.72 version: 1.0.103
appVersion: "1.0.72" appVersion: "1.0.103"
@@ -36,8 +36,17 @@ spec:
imagePullSecrets: imagePullSecrets:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
# postgres 以专用用户直跑,绕过镜像内 gosu(新内核下 gosu 用户态死循环,
# 见工单:kernel 7.0.0-39+ × gosu 兼容 bug;三件套缺一不可)
securityContext:
runAsUser: 999
runAsGroup: 999
fsGroup: 999
containers: containers:
- name: postgres - name: postgres
command: ["docker-entrypoint.sh", "postgres"]
securityContext:
privileged: true
image: {{ $root.Values.sharedInfra.postgres.image | default "docker.io/library/postgres:17" }} image: {{ $root.Values.sharedInfra.postgres.image | default "docker.io/library/postgres:17" }}
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
env: env:
@@ -46,9 +46,12 @@ spec:
key: AUDIT_PG_URI key: AUDIT_PG_URI
- name: AUDIT_PG_TIMEZONE - name: AUDIT_PG_TIMEZONE
value: "{{ $root.Values.timezone | default "Asia/Shanghai" }}" value: "{{ $root.Values.timezone | default "Asia/Shanghai" }}"
# 数据保留月数(按自然月清理分区) # 数据保留月数(按自然月清理分区;operations 表)
- name: AUDIT_RETENTION_MONTHS - name: AUDIT_RETENTION_MONTHS
value: "{{ .Values.audit.retentionMonths | default 6 }}" value: "{{ .Values.audit.retentionMonths | default 6 }}"
# 错误流水独立保留月数(errors 表,分表独立清除)
- name: AUDIT_ERROR_RETENTION_MONTHS
value: "{{ .Values.audit.errorRetentionMonths | default 3 }}"
# MQTT broker # MQTT broker
- name: AUDIT_MQTT_BROKER_URL - name: AUDIT_MQTT_BROKER_URL
value: "mqtt://{{ .Values.audit.mqtt.brokerHost }}:{{ .Values.audit.mqtt.brokerPort }}" value: "mqtt://{{ .Values.audit.mqtt.brokerHost }}:{{ .Values.audit.mqtt.brokerPort }}"
+3 -1
View File
@@ -24,8 +24,10 @@ audit:
replicas: 2 replicas: 2
database: audit-db database: audit-db
pgStorage: 5Gi pgStorage: 5Gi
# 数据保留月数,按完整自然月清理分区(后端 AUDIT_RETENTION_MONTHS) # 操作流水(audit_operations)保留月数,按完整自然月清理分区(后端 AUDIT_RETENTION_MONTHS)
retentionMonths: 6 retentionMonths: 6
# 错误流水(audit_errors)独立保留月数(后端 AUDIT_ERROR_RETENTION_MONTHS,2026-10-26 裁决:分表独立)
errorRetentionMonths: 3
# JWT 鉴权:后端通过 SSO /api/sso/users/info 间接校验 token,这里配置 SSO base URL # JWT 鉴权:后端通过 SSO /api/sso/users/info 间接校验 token,这里配置 SSO base URL
jwt: jwt:
ssoBaseUrl: "http://sso-service:8080" ssoBaseUrl: "http://sso-service:8080"
+2 -2
View File
@@ -2,5 +2,5 @@ apiVersion: v2
name: mixingx-codeserver name: mixingx-codeserver
description: MixingX code-server — 浏览器版 VS Code 测试 IDE,预装 GitLens/EditorConfig/Prettier/C#/OPC UA Browser 插件。 description: MixingX code-server — 浏览器版 VS Code 测试 IDE,预装 GitLens/EditorConfig/Prettier/C#/OPC UA Browser 插件。
type: application type: application
version: 1.0.72 version: 1.0.103
appVersion: "1.0.72" appVersion: "1.0.103"
+2 -2
View File
@@ -2,5 +2,5 @@ apiVersion: v2
name: mixingx-edge-unit name: mixingx-edge-unit
description: "One MixingX edge unit release with durable local revision storage." description: "One MixingX edge unit release with durable local revision storage."
type: application type: application
version: 1.0.72 version: 1.0.103
appVersion: "1.0.72" appVersion: "1.0.103"
@@ -71,6 +71,9 @@ spec:
{{ $backendTag := $edgeImg.tag | default $backendImg.tag | default .Values.tag | default "latest" }} {{ $backendTag := $edgeImg.tag | default $backendImg.tag | default .Values.tag | default "latest" }}
image: {{ .Values.registry }}/{{ $backendRepo }}:{{ $backendTag }} image: {{ .Values.registry }}/{{ $backendRepo }}:{{ $backendTag }}
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
securityContext:
appArmorProfile:
type: Unconfined
ports: ports:
- name: http - name: http
containerPort: {{ .Values.ports.backend }} containerPort: {{ .Values.ports.backend }}
+2 -2
View File
@@ -2,5 +2,5 @@ apiVersion: v2
name: mixingx-gateway name: mixingx-gateway
description: MixingX gateway service, RBAC, and root ingress. description: MixingX gateway service, RBAC, and root ingress.
type: application type: application
version: 1.0.72 version: 1.0.103
appVersion: "1.0.72" appVersion: "1.0.103"
@@ -34,6 +34,9 @@ spec:
- name: gateway - name: gateway
image: {{ .Values.registry }}/{{ $gatewayImage.repository | default "gateway" }}:{{ $gatewayImage.tag | default .Values.tag | default "latest" }} image: {{ .Values.registry }}/{{ $gatewayImage.repository | default "gateway" }}:{{ $gatewayImage.tag | default .Values.tag | default "latest" }}
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
securityContext:
appArmorProfile:
type: Unconfined
ports: ports:
- name: http - name: http
containerPort: {{ .Values.gateway.port | default 8080 }} containerPort: {{ .Values.gateway.port | default 8080 }}
+2 -2
View File
@@ -2,5 +2,5 @@ apiVersion: v2
name: mixingx-infra name: mixingx-infra
description: MixingX shared infrastructure services (Redis, MongoDB, RabbitMQ). description: MixingX shared infrastructure services (Redis, MongoDB, RabbitMQ).
type: application type: application
version: 1.0.72 version: 1.0.103
appVersion: "1.0.72" appVersion: "1.0.103"
+2 -2
View File
@@ -2,5 +2,5 @@ apiVersion: v2
name: mixingx-mqttx name: mixingx-mqttx
description: MixingX MQTTX Web — 浏览器端 MQTT 客户端,用于监控/调试各 Edge 的 NanoMQ broker。 description: MixingX MQTTX Web — 浏览器端 MQTT 客户端,用于监控/调试各 Edge 的 NanoMQ broker。
type: application type: application
version: 1.0.72 version: 1.0.103
appVersion: "1.0.72" appVersion: "1.0.103"
@@ -2,5 +2,5 @@ apiVersion: v2
name: mixingx-network-agent name: mixingx-network-agent
description: "MixingX network console agent: 每节点常驻,提供主机网口(IP/掩码/网关/DNS)与 WiFi 的可视化配置 API。" description: "MixingX network console agent: 每节点常驻,提供主机网口(IP/掩码/网关/DNS)与 WiFi 的可视化配置 API。"
type: application type: application
version: 1.0.72 version: 1.0.103
appVersion: "1.0.72" appVersion: "1.0.103"
+2 -2
View File
@@ -2,5 +2,5 @@ apiVersion: v2
name: mixingx-platform name: mixingx-platform
description: MixingX central platform services without customer edge/agent instances. description: MixingX central platform services without customer edge/agent instances.
type: application type: application
version: 1.0.72 version: 1.0.103
appVersion: "1.0.72" appVersion: "1.0.103"
@@ -33,6 +33,9 @@ spec:
- name: {{ .name }} - name: {{ .name }}
image: {{ $root.Values.registry }}/{{ .image }}:{{ $root.Values.tag | default "latest" }} image: {{ $root.Values.registry }}/{{ .image }}:{{ $root.Values.tag | default "latest" }}
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
securityContext:
appArmorProfile:
type: Unconfined
ports: ports:
- name: http - name: http
containerPort: {{ $port }} containerPort: {{ $port }}
@@ -218,8 +218,17 @@ spec:
imagePullSecrets: imagePullSecrets:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
# postgres 以专用用户直跑,绕过镜像内 gosu(新内核下 gosu 用户态死循环,
# 见工单:kernel 7.0.0-39+ × gosu 兼容 bug;三件套缺一不可)
securityContext:
runAsUser: 999
runAsGroup: 999
fsGroup: 999
containers: containers:
- name: postgres - name: postgres
command: ["docker-entrypoint.sh", "postgres"]
securityContext:
privileged: true
image: {{ $root.Values.sharedInfra.postgres.image | default "docker.io/library/postgres:17" }} image: {{ $root.Values.sharedInfra.postgres.image | default "docker.io/library/postgres:17" }}
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
env: env:
@@ -2,5 +2,5 @@ apiVersion: v2
name: mixingx-protocol-server-unit name: mixingx-protocol-server-unit
description: Deploy one MixingX edge protocol test server instance. description: Deploy one MixingX edge protocol test server instance.
type: application type: application
version: 1.0.72 version: 1.0.103
appVersion: "1.0.72" appVersion: "1.0.103"
+2 -2
View File
@@ -2,5 +2,5 @@ apiVersion: v2
name: mixingx-sso name: mixingx-sso
description: MixingX SSO standalone release (backend, web, and PostgreSQL). description: MixingX SSO standalone release (backend, web, and PostgreSQL).
type: application type: application
version: 1.0.72 version: 1.0.103
appVersion: "1.0.72" appVersion: "1.0.103"
@@ -36,6 +36,9 @@ spec:
- name: {{ $name }} - name: {{ $name }}
image: {{ $root.Values.registry }}/{{ $root.Values.images.sso.repository | default "sso" }}:{{ $root.Values.images.sso.tag | default $root.Values.tag | default "latest" }} image: {{ $root.Values.registry }}/{{ $root.Values.images.sso.repository | default "sso" }}:{{ $root.Values.images.sso.tag | default $root.Values.tag | default "latest" }}
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
securityContext:
appArmorProfile:
type: Unconfined
ports: ports:
- name: http - name: http
containerPort: {{ $backendPort }} containerPort: {{ $backendPort }}
@@ -202,8 +205,17 @@ spec:
imagePullSecrets: imagePullSecrets:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
# postgres 以专用用户直跑,绕过镜像内 gosu(新内核下 gosu 用户态死循环,
# 见工单:kernel 7.0.0-39+ × gosu 兼容 bug;三件套缺一不可)
securityContext:
runAsUser: 999
runAsGroup: 999
fsGroup: 999
containers: containers:
- name: postgres - name: postgres
command: ["docker-entrypoint.sh", "postgres"]
securityContext:
privileged: true
image: {{ $root.Values.sharedInfra.postgres.image | default "docker.io/library/postgres:17" }} image: {{ $root.Values.sharedInfra.postgres.image | default "docker.io/library/postgres:17" }}
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
env: env:
+2 -2
View File
@@ -2,5 +2,5 @@ apiVersion: v2
name: mixingx-ultra name: mixingx-ultra
description: "MixingX Ultra dashboard standalone release: ultra backend, ultra web, and ultra PostgreSQL." description: "MixingX Ultra dashboard standalone release: ultra backend, ultra web, and ultra PostgreSQL."
type: application type: application
version: 1.0.72 version: 1.0.103
appVersion: "1.0.72" appVersion: "1.0.103"
@@ -41,6 +41,9 @@ spec:
- name: {{ $name }} - name: {{ $name }}
image: {{ $root.Values.registry }}/{{ $root.Values.images.ultra.repository | default "ultra" }}:{{ $root.Values.images.ultra.tag | default $root.Values.tag | default "latest" }} image: {{ $root.Values.registry }}/{{ $root.Values.images.ultra.repository | default "ultra" }}:{{ $root.Values.images.ultra.tag | default $root.Values.tag | default "latest" }}
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
securityContext:
appArmorProfile:
type: Unconfined
ports: ports:
- name: http - name: http
containerPort: {{ $port }} containerPort: {{ $port }}
@@ -205,8 +208,17 @@ spec:
imagePullSecrets: imagePullSecrets:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
# postgres 以专用用户直跑,绕过镜像内 gosu(新内核下 gosu 用户态死循环,
# 见工单:kernel 7.0.0-39+ × gosu 兼容 bug;三件套缺一不可)
securityContext:
runAsUser: 999
runAsGroup: 999
fsGroup: 999
containers: containers:
- name: postgres - name: postgres
command: ["docker-entrypoint.sh", "postgres"]
securityContext:
privileged: true
image: {{ $root.Values.sharedInfra.postgres.image | default "docker.io/library/postgres:17" }} image: {{ $root.Values.sharedInfra.postgres.image | default "docker.io/library/postgres:17" }}
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
env: env: