Em chào mọi người ạ, em đang cài jaeger trong kubernetes trên docker desktop ạ.
Em cài các file thế này:
Docker desktop ingress-nginx
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.5.1/deploy/static/provider/cloud/deploy.yaml
Create namespace observability
kubectl apply -f k8s/observability/namespace.yaml
Create cert-manager
kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.6.3/cert-manager.yaml
Create jaeger operator k8s:
kubectl create -f https://github.com/jaegertracing/jaeger-operator/releases/download/v1.39.0/jaeger-operator.yaml -n observability
Create jaeger k8s:
kubectl apply -f k8s/observability/jaeger.yaml
File: k8s/observability/jaeger.yaml
apiVersion: jaegertracing.io/v1
kind: Jaeger
metadata:
name: jaeger
namespace: observability
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: jaeger-ingress
namespace: observability
annotations:
kubernetes.io/ingress.class: nginx
labels:
name: jaeger-ingress
spec:
rules:
- host: localhost
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: jaeger-query
port:
number: 80
Truy cập vào trang web thì nginx báo lỗi 503 service unavailable :(((
Mọi người xem giúp em với ạ, em cảm ơn nhiều.