SPIFFE/SPIRE 서버를 GKE의 모든 노드에 설치할 수 있나요? (Can SPIFFE/SPIRE Server be installed on GKE's any node?)


문제 설명

SPIFFE/SPIRE 서버를 GKE의 모든 노드에 설치할 수 있나요? (Can SPIFFE/SPIRE Server be installed on GKE's any node?)

SPIFFE/SPIRE 서버를 GKE의 모든 노드에 설치할 수 있나요? 그렇다면 클러스터의 다른 노드 중 하나의 노드에 서버와 에이전트가 모두 설치됩니다. SPIRE 서버를 실행하는 노드에서도 에이전트를 실행해야 합니까?

설명하십시오.


참조 솔루션

방법 1:

As per the comment received on SPIRE Slack

On GKE (and other hosted k8s) you only get worker nodes, so there's no way to deploy to the master anyway. But, In the end, there's pluses (potential security) and minuses (scalability) to running SPIRE server on the master. In practice it's probably less likely than likely, but it's a fair debate. Typically, you would deploy SPIRE server as a StatefulSet to some number of nodes consistent with scalability and availability goals, and deploy SPIRE agent as a DaemonSet where it's going to run on every node in the cluster. Unless you are doing some very specific targeted deployments via the k8s scheduler, such as separate node pools or subsets of nodes scheduled via label selectors for very specific use‑cases (where you won't run any SPIFFE workloads), that's the way I'd approach it ‑ put SPIRE agent on all nodes so it's available for all workloads.

(by Mahendra BagulMahendra Bagul)

참조 문서

  1. Can SPIFFE/SPIRE Server be installed on GKE's any node? (CC BY‑SA 2.5/3.0/4.0)

#google-kubernetes-engine #kubernetes #spire #spiffe






관련 질문

보안 비밀에 대한 Google 클라우드 컨테이너 클러스터 환경 변수 (Google cloud container cluster environmental variables for secrets)

GKE에서 로컬 레지스트리 이미지를 삭제할 수 없습니다. (Unable to delete local registry images in GKE)

k8s 클러스터용 NAT 게이트웨이 IP가 포드에 반영되지 않음 (NAT Gateway IP for k8s cluster not reflected in pods)

GKE에서 scale-down-utilization-threshold를 정의할 수 있나요? (Is definining scale-down-utilization-threshold on GKE possible?)

GKE 노드당 최대 영구 디스크 (GKE Maximum persistent disks per node)

내 Google Kubernetes 클러스터로 Kubectl 컨텍스트를 변경할 수 없음 (Unable to Change Kubectl Context to my Google Kubernetes Cluster)

오염되지 않은 노드로 예약된 Kubernetes 포드 (Kubernetes pods scheduled to non-tainted node)

SPIFFE/SPIRE 서버를 GKE의 모든 노드에 설치할 수 있나요? (Can SPIFFE/SPIRE Server be installed on GKE's any node?)

Kubernetes LoadBalancer에 TSL을 추가하는 동시에 컨테이너로 수명이 긴 TCP 연결 전달도 지원합니다. (Adding TSL to a Kubernetes LoadBalancer while also supporting forwarding a long lived TCP connection to a container)

클러스터 초기화 대기 시간이 초과되었습니다. 노드 자동 업그레이드가 실패하거나 오류와 함께 실행됩니다. (Timed out waiting for cluster initialization, Auto upgrade of nodes fail / or Run with error)

Kubernetes Slack Webhook 오류 502에서 실행 중인 Grafana (Grafana running in Kubernetes Slack Webhook Error 502)

Kubernetes 네트워크 정책 - 트래픽이 특정 포트를 통해서만 서비스되도록 허용 (Kubernetes Network Policy - Allowing traffic to service over specific port only)







코멘트