3 ms·
(I work for GCP) It looks something like this: your container -> Compute Engine VM (GKE Node) -> container -> Borg The container on top of Borg is used for s
by thesandlord 7y ago
(I work for GCP)
It looks something like this:
your container -> Compute Engine VM (GKE Node) -> container -> Borg
The container on top of Borg is used for scheduling and management. Joe's talk has a slide on this. As a GCP customer, you never have to worry about this or care about it, as it is an implementation detail.
>"The isolation is not perfect, though: containers cannot prevent interference in resources that the operating-system kernel doesn't manage, such as level 3 processor caches and memory bandwidth, and containers need to be supported by an additional security layer (such as virtual machines) to protect against the kinds of malicious actors found in the cloud."
As a GCP customer using GKE, your applications are separated from other GCP customer using VMs.
However, if you want to run your OWN untrusted workloads, then in the past you would have to spin up a separate VM for untrusted workload A and a one VM for untrusted workload B.
This sucks in terms of resource utilization. It would be better in many cases if you could run workload A and B on the same VM. That's where gVisor comes into play.
your untrusted container -> gVisor -> Compute Engine VM (GKE Node) -> container -> Borg
I hope this makes sense!
- bogomipz 7y agoThanks for the explanation, this makes sense yes. >"The container on top of Borg is used for scheduling and management." Is this the "open source node container manager" box on slide 13 then? I'm guessing this is the Borg's version of the kubelet then? https://speakerdeck.com/jbeda/containers-at-scale?slide=13 https://speakerdeck.com/jbeda/containers-at-scale?slide=13
- yoshiat 7y agoThat's a very old slide :) I "guess" the slide deck was talking about https://cloud.google.com/compute/docs/containers/deploying-containers https://cloud.google.com/compute/docs/containers/deploying-c...
- bogomipz 7y agoI see. So is "the container on top of Borg is used for scheduling and management" the Borg equivalent of the K8S kubelet then?
- yoshiat 7y agoAs you can see from the Borg paper [1] and the name, "borglet" is the most closest component to "kubelet". [1] https://pdos.csail.mit.edu/6.824/papers/borg.pdf https://pdos.csail.mit.edu/6.824/papers/borg.pdf