技术教程

Crossplane 云资源编排与权限治理(2025)

# Crossplane 云资源编排与权限治理(2025) Crossplane 以声明式将云资源纳入集群管理,统一交付与权限治理。 ## 一、Provider 与凭证 - Provider:按云商配置与隔离凭证,控制作用域。 - 凭证管理:使用 K8s Secret 与外部密钥服务管理访问。 ## 二、组合资源与 XRD - 组合资源:将多资源组合为可复用的抽象(XRD)。 - 参数化:通

K8s ResourceQuota 与 LimitRange 治理实战(2025)

# K8s ResourceQuota 与 LimitRange 治理实战(2025) ## 一、配额与限制 - ResourceQuota:限制命名空间资源总量与对象数量。 - LimitRange:为 Pod/容器设定默认与最大/最小 requests/limits。 ## 二、策略与模板 - 模板化:按环境/团队制定标准模板,降低误配风险。 - 联动:与 HPA/Autoscaler 与

Import Assertions 与 JSON 模块:工程实践与兼容

--- title: "Import Assertions 与 JSON 模块:工程实践与兼容" keywords: - Import Assertions - JSON 模块 - ESM - 动态导入 - 兼容性 - 构建 description: "解释 Import Assertions 在浏览器与 Node 环境下加载 JSON 模块的语法与行为,说明动态导入与构建...

IndexedDB 版本升级与迁移:onupgradeneeded 的模式与实践

--- title: IndexedDB 版本升级与迁移:onupgradeneeded 的模式与实践 keywords: - IndexedDB - onupgradeneeded - 版本迁移 - 事务 - 模式 - 性能 description: 总结 IndexedDB 的版本升级与模式(upsert/迁移脚本/幂等),解释 onupgradeneeded 回调中的对象仓库与索引变更、数据...

Kafka KRaft 无 ZooKeeper 集群配置要点

--- title: Kafka KRaft 无 ZooKeeper 集群配置要点 keywords: - KRaft - controller.quorum.voters - process.roles - node.id - listeners description: 在 KRaft 模式下配置 Kafka 集群的控制器与代理角色,提供 server.properties 关键参数说明。 t...