Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
x/build: Kubernetes builders on GKE don't support privileged pods #12815
Kubernetes builders on GKE (Google Container Engine) don't support privileged pods.
This means our builds run as user not-really-but-kinda root. They can do lots of things root normally can, but they can't run some of the Linux exec tests.
If we don't run as root, the buildlet has a bunch of misc problems, so it's easier for us to run as root for now and skip some tests.
This bug exists to explain the situation and track CLs which skip tests on Kubernetes (environment: IN_KUBERNETES == "1")
When GKE fixes things so users can run privileged pods we can remove the skips.
We won't be losing any test coverage overall, though, because we'll keep some Linux builders still running as VMs as root. Only the trybots will use Kubernetes with that test skipped for now.