layer5io / istio-service-mesh-workshop

Using Istio Workshop
https://layer5.io/workshops
Apache License 2.0
259 stars 180 forks source link

Istio install fails #34

Closed anwarchk closed 2 years ago

anwarchk commented 3 years ago

Description Followed the step istioctl install --set profile=demo

✘ Egress gateways encountered an error: failed to wait for resource: resources not ready after 5m0s: timed out waiting for the conditionsystem/istio-ingressgateway Deployment/istio-system/istio-egressgateway ✘ Ingress gateways encountered an error: failed to wait for resource: resources not ready after 5m0s: timed out waiting for the condition Deployment/istio-system/istio-ingressgateway

Expected Behavior

Istio is installed successfully

Screenshots

Environment:

K8s details

Server Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.8", GitCommit:"fd5d41537aee486160ad9b5356a9d82363273721", GitTreeState:"clean", BuildDate:"2021-02-17T12:33:08Z", GoVersion:"go1.15.8", Compiler:"gc", Platform:"linux/amd64"}

[Optional] Additional Context

welcome[bot] commented 3 years ago

Thanks for opening this issue. A contributor will be by to give feedback soon. In the meantime, please review the Layer5 Community Welcome Guide and sure to join the community Slack.

anwarchk commented 3 years ago

Step in the install https://github.com/layer5io/istio-service-mesh-workshop/blob/master/lab-1/README.md#1.1

anwarchk commented 3 years ago

kubectl describe pod istio-ingressgateway-768ff847df-7c45p returns


 Events:
  Type     Reason     Age                    From               Message
  ----     ------     ----                   ----               -------
  Normal   Scheduled  38m                    default-scheduler  Successfully assigned istio-system/istio-ingressgateway-768ff847df-7c45p to minikube-m03
  Normal   Pulling    38m                    kubelet            Pulling image "docker.io/istio/proxyv2:1.9.0"
  Normal   Pulled     38m                    kubelet            Successfully pulled image "docker.io/istio/proxyv2:1.9.0" in 8.288537294s
  Normal   Created    38m                    kubelet            Created container istio-proxy
  Normal   Started    38m                    kubelet            Started container istio-proxy
  Warning  Unhealthy  37m (x21 over 38m)     kubelet            Readiness probe failed: Get "http://10.244.2.4:15021/healthz/ready": dial tcp 10.244.2.4:15021: connect: connection refused
  Warning  Unhealthy  3m37s (x994 over 36m)  kubelet            Readiness probe failed: HTTP probe failed with statuscode: 50```
leecalcote commented 3 years ago

@anwarchk thanks much for raising this issue. Good feedback.

Looking over the command executed, I wonder if it isn't missing -n Istio-system (the namespace in which the gateway will be deployed).

iambami commented 2 years ago

@leecalcote I believe this issue is resolved and can be closed now, if not can it be assigned to someone else?

AugustasV commented 2 years ago

Closing this now. Feel free reopen if issue reappears @anwarchk