Skip to content

Commit

Permalink
REFACTOR: kubernetes stream
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremiahUy committed Oct 7, 2020
1 parent 2c87efb commit 1828743
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions collector/kube_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ def watch_nais_apps(callback_function):

v1 = CustomObjectsApi()

data = v1.list_cluster_custom_object(group="nais.io",
version="v1alpha1",
plural="applications")

print(data)

w = Watch()

logger.warning(" ")
Expand Down

0 comments on commit 1828743

Please sign in to comment.