LoginSignup
2
1

Kubernetes: field selectorで利用できるフィールド一覧

Posted at

Kubernetesのfield selectorで指定できるフィールドの一覧です。

Pod リソース:

  • metadata.name
  • metadata.namespace
  • spec.nodeName
  • spec.restartPolicy
  • spec.schedulerName
  • spec.serviceAccountName
  • spec.hostNetwork
  • status.phase
  • status.podIP
  • status.podIPs
  • status.nominatedNodeName

Node リソース:

  • metadata.name
  • spec.unschedulable

ReplicationController リソース:

  • metadata.name
  • metadata.namespace
  • status.replicas

Event リソース:

  • involvedObject.kind
  • involvedObject.namespace
  • involvedObject.name
  • involvedObject.uid
  • involvedObject.apiVersion
  • involvedObject.resourceVersion
  • involvedObject.fieldPath
  • reason
  • reportingComponent
  • source
  • type
  • metadata.namespace
  • metadata.name

Namespace リソース:

  • status.phase
  • metadata.name

Secret リソース:

  • type
  • metadata.namespace
  • metadata.name

情報源

2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1