0

I'm trying to install Gateway into my Kind cluster using Gateway API CRD by following a tutorial from https://istio.io/latest/docs/examples/bookinfo/

I had no problem with this command curl https://raw.githubusercontent.com/istio/istio/release-1.17/samples/bookinfo/gateway-api/bookinfo-gateway.yaml | kubectl apply -f -

But, command kubectl wait --for=condition=ready gtw bookinfo-gateway gave me this:

error: timed out waiting for the condition on gateways/bookinfo-gateway

I tried this in Minikube as well without any success.

Are these CRDs supported in both k8s (Minikube & Kind) platforms?

larsks
  • 277,717
  • 41
  • 399
  • 399
sancho21
  • 3,511
  • 1
  • 39
  • 45
  • To wait for your pod to be ready, prefer to filter by label, rather than specifying pod id in kubectl wait command:1. $ kubectl -n nxs-r1-prod wait pod/rabbitmq-7575b7f589-dsdhl --for=condition=Ready --timeout=-1s pod/rabbitmq-7575b7f589-dsdhl condition met 2. # use 'wait' to check for Ready status in .status.conditions[] kubectl wait pods -n default -l run=mynginx --for condition=Ready --timeout=90s 3. $ kubectl wait --for=condition=ready pod -l app=gateway pod/gateway-xxxxxxxxxx-xxxxx condition met 4. $ kubectl rollout status deployment gateway deployment "gateway" successfully rolled out – Veera Nagireddy Feb 17 '23 at 12:59

0 Answers0