3

GKE Image Streaming speeds up container starts | A Cloud Guru

 2 years ago
source link: https://acloudguru.com/blog/engineering/gke-ludicrous-speed-gke-image-streaming-speeds-up-container-starts
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Share on facebook
Share on twitter
Share on linkedin

GKE ludicrous speed! GKE Image Streaming speeds up container starts

Mattias Andersson
Nov 23, 2021 4 Minute Read

Google Kubernetes Engine can now start containers up much more quickly than before!

Google calls this feature “Image Streaming” but it has nothing to do with you taking pictures while floating down the river on an inner tube. Rather, it’s all about how the container image can be streamed from Artifact Registry to GKE, just-in-time, as its various bits of data are needed.


Save 40% on ACG!
Looking to get certified or level up your cloud career? Learn by doing for less with A Cloud Guru!


In the case of a tiny little container image, this makes no difference, really. The tiny amount of data is sent all at once and GKE runs the container like normal. But as the container grows (which definitely happens, in the real world) then this feature comes into play.

As Google writes:

“Image streaming works by mounting the container data layer in containerd using a sophisticated network mount, and backing it with multiple caching layers on the network,in-memory and on-disk. Your container transitions from the ImagePulling status to Running in a couple of seconds (regardless of container size) once we prepare the image streaming mount; this effectively parallelizes the application boot with the data transfer of required data in the container image. As a result, you can expect to see much faster container boot times and snappier autoscaling.

And who wouldn’t want that, right? Especially because they reassure us, “Image streaming is completely transparent as far as your containerized application is concerned.”

Now, the only catch to this–and you may already have caught it if you were paying close attention–is that GKE Image Streaming relies on Google’s Artifact Registry product. If you’re still using their older Container Registry, then this may be the push you need to make the move.

What else is new with Google this month? See what’s up with Managed Service for Prometheus, Cloud Logging contextual traces, a slew of services now in GA (including Cloud Domains and Vertex Pipelines–a new serverless MLOps solution), and Memorystore for Redis updates in the video below!

Keep up with all things cloud by following A Cloud Guru on Twitter and Facebooksubscribe to A Cloud Guru on YouTube for weekly updates, and join the conversation on Discord. You can also check out our current crop of free courses!


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK