When the traffic distribution is updated e.g. via
kn service update random --traffic v1=10 --traffic latest=90
and if the revision does not exist (note the typo here with latest instead of @latest, then the update hangs because the service waits for this revision to exists before becoming Ready (but this will be never the case). So either the server should already go into an error state or as this doesn't seem to be the case, the client should refuse to create traffic targets to revisions that do not exist.
When the traffic distribution is updated e.g. via
and if the revision does not exist (note the typo here with
latestinstead of@latest, then the update hangs because the service waits for this revision to exists before becomingReady(but this will be never the case). So either the server should already go into an error state or as this doesn't seem to be the case, the client should refuse to create traffic targets to revisions that do not exist.