利用Kubernetes特性简化系统架构
1. 实现Kubernetes特性以简化系统架构
在简化系统架构时,我们可以利用Kubernetes的一些特性。以下是一个Ingress对象的配置示例:
annotations:
cert-manager.io/issuer: selfsigned
spec:
tls:
- hosts:
- "minikube.me"
secretName: tls-certificate
rules:
- host: "minikube.me"
http:
paths:
- path: /oauth2
pathType: Prefix
backend:
service:
name: auth-server
port:
name: http
- path: /product-composite
pathType: Prefix
backend:
service:
name: product-composite
port:
name: http
- path: /actuator/health
pathTyp
超级会员免费看
订阅专栏 解锁全文
1139

被折叠的 条评论
为什么被折叠?



