Namespace Isolation - CI/CD用語集の定義
namespace isolationは、一つのclusterをスコープされた仮想環境に分割し、名前、quota、権限を分離したままに保ちます。
namespace isolationはKubernetesのnamespaceを使ってclusterを仮想的なサブclusterに分割し、名前、quota、アクセス制御にスコープを与えて、チームや環境が衝突しないようにします。
pipelineは一般に、previewやstagingのbuildをブランチごとのnamespaceにdeployします。isolationにより、こうした一時的な環境が互いに干渉しないようにします。
preview環境
CIのjobはpull requestごとにnamespaceを作成し、そこにbuildをdeployしてテストを実行し、PRがクローズされたらnamespaceを削除できます。これにより安価で隔離されたpreview環境が得られます。
関連ガイド
Cluster - CI/CD Glossary DefinitionCluster: A cluster is the set of worker nodes plus a control plane managed together as one orchestration unit…
Kubernetes - CI/CD Glossary DefinitionKubernetes: Kubernetes is an open-source container orchestration platform that schedules containers onto node…
Pod Scheduling - CI/CD Glossary DefinitionPod Scheduling: Pod scheduling is the process by which the Kubernetes scheduler selects a node for a new pod…