-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Description
Is this the right place to submit this?
- This is not a security vulnerability or a crashing bug
- This is not a question about how to use Istio
Bug Description
Hi,
I was going running tutorial commands one by one and If I did not missed something I found out that there is missing step to run DestinationRule
yaml definition.
Steps:
- Execute commands from https://istio.io/latest/docs/setup/getting-started/
- Goto next step "Request routing" https://istio.io/latest/docs/tasks/traffic-management/request-routing/
- Execute steps from "Route to version 1" to apply
VirtualService
with Istio APIs - At last step when you execute
kubectl get destinationrules -o yaml
empty list is returned. And application cannot see services and do internal routing
Fix/Workaround is to run kubectl apply -f samples/bookinfo/networking/destination-rule-all.yaml
command.
I hope this helps with reproduction.
I have created PR with fix I think that will improve docs #13655 please tak a look.
Thx
Ivos
Version
client version: 1.18.2
control plane version: 1.18.2
data plane version: 1.18.2 (8 proxies)
Client Version: v1.27.2
Kustomize Version: v5.0.1
Server Version: v1.25.0
Additional Information
Target cluster context: docker-desktop
Running with the following config:
istio-namespace: istio-system
full-secrets: false
timeout (mins): 30
include: { }
exclude: { Namespaces: kube-node-lease,kube-public,kube-system,local-path-storage }
end-time: 2023-07-28 14:37:27.2154245 +0200 CEST
Cluster endpoint: https://kubernetes.docker.internal:6443
CLI version:
version.BuildInfo{Version:"1.18.2", GitRevision:"0183f2886bc078e8df4d6bbd21fa452a3a23481d", GolangVersion:"go1.20.6", BuildStatus:"Clean", GitTag:"1.18.2"}
The following Istio control plane revisions/versions were found in the cluster:
Revision default:
&version.MeshInfo{
{
Component: "pilot",
Info: version.BuildInfo{Version:"1.18.2", GitRevision:"0183f2886bc078e8df4d6bbd21fa452a3a23481d", GolangVersion:"", BuildStatus:"Clean", GitTag:"1.18.2"},
},
}
The following proxy revisions/versions were found in the cluster:
Revision default: Versions {1.18.2}
Fetching proxy logs for the following containers:
istio-system/grafana/grafana-5f98b97b64-tlbjc/grafana
istio-system/istio-egressgateway/istio-egressgateway-6c4796c98-v5tv6/istio-proxy
istio-system/istio-ingressgateway/istio-ingressgateway-d94b4444b-x8j92/istio-proxy
istio-system/istiod/istiod-85669db8fd-x7lrk/discovery
istio-system/jaeger/jaeger-76cd7c7566-frznz/jaeger
istio-system/kiali/kiali-7799445c94-cnpxq/kiali
istio-system/prometheus/prometheus-67599c8d5c-2hjkx/prometheus-server
istio-system/prometheus/prometheus-67599c8d5c-2hjkx/prometheus-server-configmap-reload
my-istio-test/details-v1/details-v1-5ffd6b64f7-r79q4/details
my-istio-test/details-v1/details-v1-5ffd6b64f7-r79q4/istio-proxy
my-istio-test/productpage-v1/productpage-v1-8b588bf6d-mwpfx/istio-proxy
my-istio-test/productpage-v1/productpage-v1-8b588bf6d-mwpfx/productpage
my-istio-test/ratings-v1/ratings-v1-5f9699cfdf-xvbmk/istio-proxy
my-istio-test/ratings-v1/ratings-v1-5f9699cfdf-xvbmk/ratings
my-istio-test/reviews-v1/reviews-v1-569db879f5-bqcv9/istio-proxy
my-istio-test/reviews-v1/reviews-v1-569db879f5-bqcv9/reviews
my-istio-test/reviews-v2/reviews-v2-65c4dc6fdc-55j55/istio-proxy
my-istio-test/reviews-v2/reviews-v2-65c4dc6fdc-55j55/reviews
my-istio-test/reviews-v3/reviews-v3-c9c4fb987-9wq2l/istio-proxy
my-istio-test/reviews-v3/reviews-v3-c9c4fb987-9wq2l/reviews
Fetching Istio control plane information from cluster.
Running istio analyze on all namespaces and report as below:
Analysis Report:
Info [IST0102] (Namespace default) The namespace is not enabled for Istio injection. Run 'kubectl label namespace default istio-injection=enabled' to enable it, or 'kubectl label namespace default istio-injection=disabled' to explicitly mark it as not needing injection.
Info [IST0118] (Service istio-system/grafana) Port name service (port: 3000, targetPort: 3000) doesn't follow the naming convention of Istio port.
Info [IST0118] (Service istio-system/jaeger-collector) Port name jaeger-collector-grpc (port: 14250, targetPort: 14250) doesn't follow the naming convention of Istio port.
Info [IST0118] (Service istio-system/jaeger-collector) Port name jaeger-collector-http (port: 14268, targetPort: 14268) doesn't follow the naming convention of Istio port.
Creating an archive at /mnt/c/Development/istio-1.18.2/bug-report.tar.gz.
Cleaning up temporary files in /tmp/bug-report.
Done.
Affected product area
- Ambient
- Docs
- Installation
- Networking
- Performance and Scalability
- Extensions and Telemetry
- Security
- Test and Release
- User Experience
- Developer Infrastructure
- Upgrade
- Multi Cluster
- Virtual Machine
- Control Plane Revisions