Closed yaweiw closed 6 years ago
PS C:\Users\panli\Desktop\test\demo\docker> kubectl exec -it azure-message-6c64f8b5cd-7dqpk -- /bin/bash
bash-4.4# curl -X POST -H "Content-Type: text/plain" -d "hello" http://10.244.2.13:8889/eventhub/messages
hellobash-4.4# exit
PS C:\Users\panli\Desktop\test\demo\docker> kubectl get po
NAME READY STATUS RESTARTS AGE
azure-message-6c64f8b5cd-7dqpk 1/1 Running 0 4m
cloud-config-server-5d9dfb6fbc-6lwrs 1/1 Running 0 4m
cloud-eureka-server-9c795d5d8-mrh76 1/1 Running 2 4m
cloud-gateway-8657b545c9-7v5h2 1/1 Running 1 4m
PS C:\Users\panli\Desktop\test\demo\docker>