编写资源yaml文件、压力机配置hosts


资源文件

Deployment/StatefulSet/DaemonSet、Service、Ingress等

参考:

压力机配置hosts

win

C:\Windows\System32\drivers\etc下hosts

linux

vim /etc/hosts

ingress在k8s-node01上,也就是162上

在压力机160上配置

192.168.117.162 eureka.gifts.com
192.168.117.162 gateway.gifts.com
192.168.117.162 gateway.gift.com

域名访问

eureka.gifts.com

相关