目前正在处理本教程, https ://github.com/argoproj/argocd-example-apps/tree/master/guestbook https://argoproj.github.io/argo-cd/getting_started/#5-register-a-集群到部署应用程序到可选
我的短期里程碑是在浏览器上呈现留言簿的 UI。我正在尝试通过 Ingress 连接,但它出错了。
错误信息是这样的,
Status: 502
The server encountered a temporary error and could not complete your request.
我想服务和吊舱有问题。
留言簿-ui-svc.yaml
apiVersion: v1
kind: Service
metadata:
name: guestbook-ui-service
spec:
ports:
- port: 80
targetPort: 80
selector:
app: guestbook-ui
留言簿-ui-ingress.yaml
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: app-ingress
labels:
app: guestbook-ui
spec:
rules:
- http:
paths:
- path: /
backend:
serviceName: guestbook-ui-service
servicePort: 80
留言簿-ui-deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: guestbook-ui
spec:
replicas: 1
revisionHistoryLimit: 3
selector:
matchLabels:
app: guestbook-ui
template:
metadata:
labels:
app: guestbook-ui
spec:
containers:
- image: gcr.io/heptio-images/ks-guestbook-demo:0.2
name: guestbook-ui
ports:
- containerPort: 80
我不知道我错过了哪一部分,请lmk任何模棱两可的部分或更详细的部分。提前致谢!