Skip to content

Commit

Permalink
update requirements with versions
Browse files Browse the repository at this point in the history
  • Loading branch information
sandeephans committed Oct 15, 2024
1 parent 520e82b commit 945f1df
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
9 changes: 5 additions & 4 deletions utils/chaos_ai/docker/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
numpy
pandas
requests
numpy==2.0.0
pandas==2.2.2
requests==2.32.3
Flask==2.2.5
Werkzeug==3.0.3
flasgger==0.9.5
kubernetes
kubernetes==30.1.0
urllib3==2.2.3
4 changes: 3 additions & 1 deletion utils/chaos_ai/src/utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import re

import urllib3
from kubernetes import client, config
from kubernetes.client.rest import ApiException

Expand Down Expand Up @@ -27,7 +29,7 @@ def is_cluster_accessible(kubeconfig_path: str) -> bool:
return False

def get_namespace_pods(namespaces: str, kubeconfig_path: str):
ns_list = namespaces.splt(",")
ns_list = namespaces.split(",")
ns_pods = {}
for ns in ns_list:
pods = get_pod_labels(ns, kubeconfig_path)
Expand Down

0 comments on commit 945f1df

Please sign in to comment.