Thanks, I can work with that ; we'll use the latest tag, that should do.
Our gvisor setup in CI does not work at the moment, and we have an old
version (hence the work on upgrade automation).
But once we get running (again), that should be good enough.
Happy new year o/
On Thu, Jan 02, 2025 at 11:07:55AM -0800, 'Zach Koopmans' via gVisor Users [Public] wrote:
>
>
>
> *I don't mind non-standard, as long as I can make sense of it
> (andpreferably do some automated decision). What I couldn't find for
> gvisorwas mostly "What does a version bump mean"*
>
> Interally, our releases are simply a snapshot of the code on "master"
> (uni-repo w/ no branches) at a given time. For us, this is usually our
> Monday candidate (5 candidates per week). So externally, that just looks
> like a tag
> on master at a given time, hence the numbers: release-20241217.0
> <
https://github.com/google/gvisor/releases/tag/release-20241217.0> ->
> December 17, 2024
>
>
> *- if the gvisor configuration/setup change, would that be noticeable inthe
> version number ?*
>
> WRT k8s, the interface is the containerd-shim for gVisor, which very
> rarely, if ever, changes. I think the last change we made to it was to add
> some guts for port-forward support, which didn't change anything else. What
> may change is some flags in *runsc*, but those mostly will be additions and
> really only affect you if you're using flags in the shim
> <
https://gvisor.dev/docs/user_guide/containerd/configuration/>.
>
> We are constrained internally by GKE support, which as we speak, supports
> 1.27 - 1.32 k8s versions and uses containerd 1.7.X. We test heavily on
> GKE.
>
> If you want to see the changes between each version, a "git log tag1 tag2"
> is an option.
>
>
> *- other "breaking" changes ?*
> git log/diff is your best bet here for changes. Normal bugs will of course
> happen like any other software. But wild changes in the setup on k8s with
> the shim won't. We're constrained by the OCI spec for container runtimes
> (e.g. runc, kata) here...we don't define this ourselves.
>
>
>
> *For context, in kubespray we upgrade somewhat automatically for thedefault
> versions of component we ship to the last patch releases. If Ihad the way
> to distinguish the same thing for gvisor I'd be happy.*
>
> Our internal testing on GKE works are the following:
> - Presumbit/continuous/release tests that 1) install runsc and the shim and
> 2) run a bunch of pods against those versions.
> - The pods we run are anything from basic busybox bash commands to an nginx
> server to some NVIDIA GPU pods.
> - eperot@ is in the process of open sourcing some of our benchmarks and
> tests on k8s:
https://github.com/google/gvisor/tree/master/test/kubernetes.
> These use the same methods.
>
> I'd advise some thing similar, if less robust, for your needs. Automated
> updates can be to just search the tags in the repo and pick the latest one.
> If something breaks, I'd
> - Check git log/diff
> - Check if flags have changed in runsc (command in *runsc*: "runsc flags")
> *- *File a bug.
> To view this discussion visit
https://groups.google.com/d/msgid/gvisor-users/8675586f-7889-4818-af2a-b39745935e89n%40googlegroups.com.
--
Max Gautier