mirror of
https://github.com/ansible-collections/kubernetes.core.git
synced 2026-11-23 07:30:19 +00:00
This change syncs the release prep v6.6.0 commit to the main branch. #1261 Reviewed-by: Alina Buzachis Reviewed-by: Bikouo Aubin
This commit is contained in:
@@ -280,6 +280,29 @@ Parameters
|
||||
<div>List of label selectors to use to filter results</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<div class="ansibleOptionAnchor" id="parameter-"></div>
|
||||
<b>metadata_only</b>
|
||||
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
|
||||
<div style="font-size: small">
|
||||
<span style="color: purple">boolean</span>
|
||||
</div>
|
||||
<div style="font-style: italic; font-size: small; color: darkgreen">added in 6.6.0</div>
|
||||
</td>
|
||||
<td>
|
||||
<ul style="margin: 0; padding: 0"><b>Choices:</b>
|
||||
<li><div style="color: blue"><b>no</b> ←</div></li>
|
||||
<li>yes</li>
|
||||
</ul>
|
||||
</td>
|
||||
<td>
|
||||
<div>Request metadata only response from the Kubernetes API server.</div>
|
||||
<div>This feature is useful for clients that only need to check for the existence of an object,</div>
|
||||
<div>or that only need to read its metadata.</div>
|
||||
<div>It can significantly reduce the size of the response from the API server.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<div class="ansibleOptionAnchor" id="parameter-"></div>
|
||||
@@ -716,6 +739,12 @@ Examples
|
||||
retries: 60
|
||||
delay: 15
|
||||
|
||||
- name: Get a list of all pods metadata only
|
||||
kubernetes.core.k8s_info:
|
||||
kind: Pod
|
||||
metadata_only: true
|
||||
register: pod_metadata_list
|
||||
|
||||
|
||||
|
||||
Return Values
|
||||
|
||||
Reference in New Issue
Block a user