Skip to content

Commit ac14af3

Browse files
committed
add fieldselector example to test.py
1 parent 047e1db commit ac14af3

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

test.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,4 +108,5 @@ def main():
108108
if __name__ == '__main__':
109109
# main()
110110
client = KubernetesClient(config='.token')
111-
print(client.getFullKinds())
111+
print(client.getFullKinds())
112+
# client.listResourcesWithFieldSelector(kind='Pod', namespace='', fields={'spec.nodeName': '=133.133.135.134'})

0 commit comments

Comments
 (0)