创建svc注意pod的标签一定得对应上不然svc关联不上。
svc
pod
sed -i '1i IP_ADDRESS' pod_ips.txt 就是说往txt文档的第一行写上ip_address
sed -i '1i IP_ADDRESS' pod_ips.txt
ip_address