generated from ansible-collections/collection_template
-
Notifications
You must be signed in to change notification settings - Fork 156
Open
Labels
type/enhancementNew feature or requestNew feature or request
Description
SUMMARY
Implement Metadata-only fetches with optional boolean flag
ISSUE TYPE
- Feature Idea
COMPONENT NAME
k8s_info
ADDITIONAL INFORMATION
Kubernetes API supports fetching only metadata for single objects or Lists of objects.
When fetching objects in a large cluster, like Nodes or Pods for all namespaces, memory usage can be pretty high, and fetching metadata only can mitigate the issue.
- name: Get node list
kubernetes.core.k8s_info:
kind: Node
metadata_only: true
register: responseMetadata
Metadata
Assignees
Labels
type/enhancementNew feature or requestNew feature or request