adamant-kite-43734
09/07/2022, 9:21 AMminiature-advantage-69986
09/07/2022, 3:33 PMbest-wall-17038
09/07/2022, 4:47 PMfrontend-service.localhost
as a hostname and rest of the services name should be end with .localhost
, am I right ? Then can browser/frontend access rest of microservices via their DNS names, am I right ?miniature-advantage-69986
09/08/2022, 5:25 AMcurl <http://backend-service>
but if you want to access backend-service from your browser or curl on your windows/mac/linux you would have to setup an ingress with something like host: backend-service.kubernetes.localhost and then you can open http://backend-service.localhostminiature-advantage-69986
09/08/2022, 5:54 AMbest-wall-17038
09/08/2022, 6:40 AMbitter-hairdresser-7812
09/10/2022, 2:29 PMapiVersion: <http://networking.k8s.io/v1|networking.k8s.io/v1>
kind: Ingress
metadata:
name: jade-shooter
spec:
rules:
- host: jade-shooter.rancher.localhost
http:
paths:
- pathType: Prefix
path: /
backend:
service:
name: jade-shooter-service
port:
number: 8080
tls:
- hosts:
- jade-shooter.rancher.localhost