资源文件

Deployment/StatefulSet/DaemonSet、Service、Ingress等

参考:https://www.cnblogs.com/uncleyong/p/15571059.html

 

压力机配置hosts

win

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

linux

vim /etc/hosts

编写资源yaml文件、压力机配置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

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

 

相关文章: