As a country, your first priority is that nobody attacks you, especially a larger party. On whom this is, becomes irrelevant.
I've often seen tourist guides telling tourists to not flash expensive jewelry and electronics on the street. They never seem to say "do what you want, you are an independent human being, if somebody decides to rob you it's entirely on them".
But that's exactly what the world was telling Ukraine for decades. Still keeps telling. Teaches others to follow that history of success.
From that perspective, if you're Ukraine and confident that Russia went ballistic, then you will have a rock solid, "Russian friendly" government and do everything you can so that Russia attacks Kazakhstan instead.