Horje
how to curl a service inside a pod in kubernetes? Code Example
how to curl a service inside a pod in kubernetes?
# Create a pod which here's named curl

kubectl curl --image=radial/busyboxplus:curl -it

# It will show a command prompt. Then run:

curl [your_service_name]

# After this, to repeat the curl, you just need to:

kubectl exec -it curl -- /bin/sh

# And make the curl [your_service_name]

# When finished, delete the pod:

kubectl delete pod curl




Shell

Related
How to discard files from stash in git Code Example How to discard files from stash in git Code Example
raspi ssh passwort vergessen Code Example raspi ssh passwort vergessen Code Example
how to shutdown linux from terminal immediately Code Example how to shutdown linux from terminal immediately Code Example
WSL2 git init Code Example WSL2 git init Code Example
export database ccli mysql Code Example export database ccli mysql Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
11