I have three kube.netes pods currently running, one postgresql database, one redis database and a modbus server. I am running them on a Linux VM, I was wondering how I can view the data they are collecting, whilst they are running? Any help would be much appreciated!
You could use the command kubectl exec <pod-name> -- psql -d <db-name> -U <username> -W
or something similar, depending on what you want to search for.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.