diff tasks.py @ 136:375515ab60ba

multikube experiment junk. do not run
author drewp@bigasterisk.com
date Wed, 21 Dec 2022 17:44:32 -0800
parents fe3ae7c95e65
children 105b628e3bfa
line wrap: on
line diff
--- a/tasks.py	Wed Dec 21 17:42:28 2022 -0800
+++ b/tasks.py	Wed Dec 21 17:44:32 2022 -0800
@@ -88,7 +88,12 @@
     ctx.run(cmd + 'inventory.py multikube_wipe.py', pty=True)
     ctx.run(cmd + f'inventory.py multikube.py --limit {server_node}', pty=True)
     if nodes:
-        ctx.run(cmd + f'inventory.py multikube.py --limit {",".join(nodes)}', pty=True)
+        ctx.run(cmd + f'inventory.py multikube.py {" ".join(f"--limit {n}" for n in nodes)}', pty=True)
+    print("""now try
+    curl http://10.43.0.10:9153/metrics | head
+    k3s kubectl run hello --image crccheck/hello-world
+    curl -m2 http://`kubectl get pod/hello '-o=jsonpath={.status.podIP}'`:8000
+    """)
 
 
 @task