Kubernetes 엔티티에 대한 공용 검색 쿼리

VMware Aria Operations for Networks
에서 Kubernetes 엔티티 세부 정보를 검색할 수 있습니다.

공용 쿼리

  • 흐름 검색:
    flows where
    Kubernetes Object
    =
    Object name
    예: flows where
    Kubernetes Cluster
    =
    'Production'
  • 서비스 규모 보기:
    kubernetes pods group by Kubernetes Services
  • 노드 로드 보기:
    kubernetes Pods group by Kubernetes Node
  • 노드 상태 보기:
    MemoryPressure and PIDPressure and DiskPressure and Ready of Kubernetes Node
  • 흐름 규정 준수 보기:
    flows from Kubernetes Object
    name of the object
    to Kubernetes Object
    name of the object
    예:
    flows from Kubernetes Namespace
    'PCI'
    to Kubernetes Namespace
    'Non-PCI'
  • 경로 토폴로지 보기:
    • Kubernetes 서비스
      서비스 이름
      - Kubernetes 서비스
      서비스 이름
      경로
    • Kubernetes 서비스
      서비스 이름
      - Kubernetes 포드
      포드 이름
      경로
    • Kubernetes 포드
      포드 이름
      - Kubernetes 포드
      포드 이름
      경로
    Kubernetes 개체에 대한 쿼리
    Kubernetes 개체
    쿼리
    설명
    네임스페이스
    • kubernetes namespace where L2 Networks = '
      a
      '
    • list(Kubernetes Node) of Kubernetes Pod where Kubernetes Namespace = '
      a
      '
    • L2 네트워크 'a'에 연결된 Kubernetes 네임스페이스 반환
    • Kubernetes 네임스페이스가 'a'인 Kubernetes 노드 목록 반환
    포드
    • NSX-T Logical port where connectedto.modelKey in (modelKey of kubernetes nodes) order by Tx Packets desc
    • NSX-T Logical port where connectedto.modelKey in (modelKey of kubernetes pods) and Rx Packet Drops > 0
    • new kubernetes pod in last 1 hour
    • 전송된 패킷을 기준으로 노드에 연결된 논리적 포트 목록을 내림차순으로 반환
    • Kubernetes 포드에 연결되어 있고 손실된 수신 패킷이 0보다 큰 논리적 포트 목록을 반환
    • 지난 1시간 동안 검색된 신규 Kubernetes 포드
    서비스
    • kubernetes pods where kubernetes services is not set
    • kubernetes pods group by Kubernetes Services, Kubernetes Cluster
    • 서비스가 없는 Kubernetes 포드 목록
    • 각 서비스에서 실행 중인 포드 수
    노드
    • kubernetes nodes where Ready != 'True'
    • kubernetes node where Virtual Machine = 'vm-a'
    • 비정상 Kubernetes 노드 목록
    • 'vm-a' 가상 시스템에 속하는 Kubernetes 노드
    흐름
    • flows where kubernetes service is set
    • flows where source kubernetes node = 'a'
    • 소스 또는 대상 Kubernetes 서비스가 존재하는 흐름 목록
    • 소스 Kubernetes 노드 = 'a' 또는 대상 Kubernetes 노드 = 'a'인 흐름 목록
추가 쿼리
엔티티/구성 요소
쿼리
설명
Kubernetes 엔티티가 있는 애플리케이션
application where virtual member = 'service-a'
Kubernetes 서비스 'service-a'가 멤버인 모든 애플리케이션의 목록
application where virtual member = 'service-a' and virtual member.Kubernetes Namespace = 'namespace-b'
Kubernetes 서비스 'service-a' 및 Kubernetes 네임스페이스 'namespace-b'가 멤버인 모든 애플리케이션의 목록
tier where virtual member = 'service-a' and virtual member.Kubernetes Namespace = 'namespace-b'
Kubernetes 서비스 'service-a' 및 Kubernetes 네임스페이스 'namespace-b'가 멤버인 모든 계층의 목록
count of applications where Virtual Member in (kubernetes services)
멤버가 Kubernetes 서비스 유형인 애플리케이션의 수
count of applications where virtual member in (kubernetes services where Kubernetes Namespace = 'sock-shop')
멤버가 Kubernetes 네임스페이스 'sock-shop' 아래에 있는 Kubernetes 서비스 유형인 애플리케이션의 수
list(virtual member) of applications where Name = 'app-1' and virtual member.Kubernetes Cluster is set
애플리케이션 'app-1'의 멤버인 모든 Kubernetes 서비스의 목록
메트릭
nsx-t logical port where (ConnectedTo in (Kubernetes Pods where kubernetes cluster is set)) and Rx Packet Drops > 0 group by ConnectedTo order by max(Rx Packet Drops)
Kubernetes 포드를 기반으로 그룹화된 수신 패킷 삭제
nsx-t logical port where (ConnectedTo in (Kubernetes Nodes where kubernetes cluster is set)) and Rx Packet Drops > 0 group by ConnectedTo order by max(Rx Packet Drops)
Kubernetes 노드를 기반으로 그룹화된 수신 패킷 삭제
nsx-t logical switch where Rx Packet Drops > 0 and Tag like 'ncp/project:' order by Rx Packet Drops
Kubernetes 네임스페이스를 기반으로 그룹화된 수신 패킷 삭제
nsx-t logical switch where Rx Packet Drops > 0 and Tag like 'ncp/project:<namespace name>'
Kubernetes 네임스페이스와 관련된 수신 패킷 삭제
nsx-t logical port where (ConnectedTo in (Kubernetes Pods where kubernetes cluster is set)) and Rx Packet Drops > 0 group by ConnectedTo.Kubernetes service order by max(Rx Packet Drops)
Kubernetes 서비스를 기반으로 그룹화된 수신 패킷 삭제
flows where firewall action = 'DROP' group by Kubernetes Service
Kubernetes 서비스를 기반으로 그룹화된 흐름 삭제
flows where firewall action = 'DROP' group by source Kubernetes Namespace
Kubernetes 네임스페이스를 기반으로 그룹화된 모든 삭제된 흐름의 목록
Kubernetes 경고
Kubernetes alerts where Problem Entity = ‘<pod/namespace/node Name>’
특정 Kubernetes 엔티티에 대한 모든 Kubernetes 경고의 목록. Kubernetes 엔티티는 포드, 네임스페이스 또는 노드임
Kubernetes alerts where alert code = ‘ImagePullBackOff’ in last 24 hours
지난 24시간 동안 유형이 'ImagePullBackOff'인 Kubernetes 경고의 목록
Kubernetes alerts where problem entity.Kubernetes Cluster = ‘<cluster-a>’
특정 클러스터에 대한 모든 Kubernetes 경고의 목록