Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some pods are not runing correctly.(K8S with istio) #278

Open
zyllee opened this issue Dec 24, 2023 · 1 comment
Open

Some pods are not runing correctly.(K8S with istio) #278

zyllee opened this issue Dec 24, 2023 · 1 comment

Comments

@zyllee
Copy link

zyllee commented Dec 24, 2023

Summary

Referring to the instructions at this link, the system was installed, but some of the pods have not been working properly.

Expected behaviour

All pods in the train-ticket system are up and running.

Current behaviour

Some of the pods have not been working properly.

Steps to reproduce

(1) kubectl create -f <(istioctl kube-inject -f ts-deployment-part1.yml)
(2) kubectl create -f <(istioctl kube-inject -f ts-deployment-part2.yml)
(3) kubectl create -f <(istioctl kube-inject -f ts-deployment-part3.yml)
(4) kubectl apply  -f trainticket-gateway.yaml

Your environment

docker version(e.g docker version): 20.10.18

Kubernetes version(use kubectl version):1.22.2

istio version: 1.16.2

Additional context

Take auth's pod as an example

kubectl get pods -n train-ticket

get
image

check labels:

kubectl describe pods ts-auth-service-54cd4c9fdf-zbplr -n train-ticket
Name:         ts-auth-service-54cd4c9fdf-zbplr
Namespace:    train-ticket
Priority:     0
Node:         node139/172.16.2.139
Start Time:   Sun, 24 Dec 2023 12:52:30 +0000
Labels:       app=ts-auth-service
              pod-template-hash=54cd4c9fdf
              security.istio.io/tlsMode=istio
              service.istio.io/canonical-name=ts-auth-service
              service.istio.io/canonical-revision=latest
              topology.istio.io/network=network1

image

@sadmanamin
Copy link

Did you get a solution for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants