Skip to content

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

@zyllee

Description

@zyllee

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions