Yeah, I'm certainly not denying that in signing up for a military job you should be well aware there's a chance you'll be off at short notice for an indeterminate time.
I missed 6 of my son's first 18 months, and his first Christmas, away in Timor, and a couple more on other deployments during that time; hopefully no-one's under the illusion they can join and never be sent away.