Files
nexus/wiki/sources/ctp-topic-39-implementing-eks-in-the-aws-lab-landing-zone.md

4.3 KiB
Raw Blame History

title, type, tags, date, sources, last_updated
title type tags date sources last_updated
CTP Topic 39 Implementing EKS in the AWS Lab Landing Zone source
AWS
EKS
Kubernetes
Landing-Zone
Terraform
Terragrunt
CTP
2026-04-14
2026-04-28

Source File

Summary用中文描述

  • 核心主题:在 AWS Lab Landing Zone 中实现 EKSElastic Kubernetes Service解决 Microfocus Octane SaaS 应用的 IP 地址不足问题
  • 问题域AWS Lab 网络环境中 IP 地址池受限,无法满足 EKS 集群中 Pod 的 IP 分配需求
  • 方法/机制:
    • 在独立私网子网(非主 subnet内创建 EKS 集群,提供大量可用 IP
    • 使用 Terraform + Terragrunt 模块化部署 EKS
    • 通过 EKS 模块的自定义网络配置标志flag控制 IP 分配
    • 在 Pod spec 中设置 hostNetwork: true,使 Pod 使用宿主机网络
    • 通过角色映射role mapping实现跨账户连接集群和 AWS Console 可视化
  • 结论/价值:成功在受限网络环境中部署 EKS支持访问内部 Microfocus 网络资源和外部资源Atlantis 当前无法部署 EKS改用 Jenkins + Terragrunt 模块替代

Key Claims用中文描述

  • Spencer 和 Guy 在 AWS Lab Landing Zone 中为 Microfocus Octane SaaS 应用IP 密集型)成功部署了 EKS
  • 标准 EKS 部署方案不支持在独立私网子网中分配大量 IP需启用 EKS 模块的自定义网络配置标志
  • 在 Pod spec 中配置 hostNetwork: truePod 可直接使用宿主机网络 IP实现与内部 Microfocus 网络的通信
  • Atlantis 当前无法部署 EKS 集群,改用 Jenkins 上的 Terragrunt 模块实现自动化部署
  • 通过角色映射federated account/role mapping实现跨账户连接 EKS 集群并在 AWS Console 中查看 EKS 组件
  • Node group 数量目前硬编码,未来版本将支持可配置化
  • 容器安全加固已与安全团队讨论并实施

Key Quotes

"The problem was was that this wasn't supported in the EKS sort of solution that was given to us." — Spencer描述标准 EKS 方案在独立私网环境中的限制 "Within the spec configuration, we basically have to put host network equals true." — Guy描述 Pod 如何使用宿主机网络实现 IP 访问 "Atlantis cannot currently deploy EKS clusters; a Terragrunt module on Jenkins is used instead." — 关于 EKS 部署工具链的说明

Key Concepts

  • AWS Landing ZoneAWS 多账户基础设施架构框架,提供基础网络、安全、合规框架
  • EKS Custom NetworkingEKS 提供的自定义网络配置,允许控制 Pod IP 分配,不依赖 VPC CNI 默认行为
  • Host Network ModeKubernetes Pod 配置项hostNetwork: true使 Pod 共享宿主机的网络命名空间
  • Terraform TerragruntTerragrunt 作为 Terraform 的 wrapper支持模块化和跨账户基础设施部署
  • Kubernetes Pod NetworkingPod 网络模型,决定 Pod 如何获取 IP 及与集群内外通信

Key Entities

  • SpencerOpenText/Micro Focus SRE负责 AWS Lab Landing Zone 架构设计
  • GuyOpenText/Micro Focus 技术专家,参与 EKS 部署实现
  • OctaneMicro Focus SaaS 应用IP 地址密集型 workload是本次 EKS 部署的驱动用例
  • Micro Focus:公司名称,现为 OpenText 旗下
  • Atlantis:基于 Terraform 的 Pull Request 自动化工具,当前不支持 EKS 部署
  • JenkinsCI/CD 平台,用于执行 Terragrunt 模块部署 EKS 集群

Connections

Contradictions

  • (暂无已知冲突内容)