Skip to content

Comments

Add initial example with Kubernetes#21

Merged
stano45 merged 5 commits intostano45:mainfrom
rst0git:container_migration_in_kubernetes
Aug 16, 2024
Merged

Add initial example with Kubernetes#21
stano45 merged 5 commits intostano45:mainfrom
rst0git:container_migration_in_kubernetes

Conversation

@rst0git
Copy link
Contributor

@rst0git rst0git commented Aug 11, 2024

This pull request adds an example for container migration in Kubernetes cluster. This example consists of several components:

  • http-server: an HTTP server that responds with the hostname and IP address of the container it is currently running into.
  • local-registry: a set of scripts for setting up a local container registry that can be used to distribute container checkpoints across cluster nodes.
  • build-image: a script building an OCI container image from checkpoint tar archive
  • kubectl-plugin: a plugin introducing a checkpoint command to kubectl
  • manifests: yaml files for deploying the HTTP server example and kube-router
  • cni: a cni configuration for kube-router

@rst0git rst0git force-pushed the container_migration_in_kubernetes branch 4 times, most recently from a1d9f48 to d9fe110 Compare August 11, 2024 11:20
@rst0git rst0git changed the title Add example with Kubernetes Add initial example with Kubernetes Aug 11, 2024
This commit adds an example for container migration in Kubernetes
cluster. This example consists of several components:

 - `http-server`: an HTTP server that responds with the hostname
   and IP address of the container it is currently running into.
 - `local-registry`: a set of scripts for setting up a local container
    registry that can be used to distribute container checkpoints
    across cluster nodes.
 - `build-image`: a script building an OCI container image from
   checkpoint tar archive
 - `kubectl-plugin`: a plugin introducing a `checkpoint` command
   to kubectl
 - `manifests`: yaml files for deploying the HTTP server example and
  kube-router
 - `cni`: a cni configuration for kube-router

Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
@rst0git rst0git force-pushed the container_migration_in_kubernetes branch from d9fe110 to 5265f61 Compare August 11, 2024 11:25
rst0git and others added 4 commits August 16, 2024 09:58
The shell scripts for generating certificates, password and running a
local registry assume that "auth/", "certs/", and "data/" directories
exist.

Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
Installing root CA certificate requires different commands on different
Linux distributions. This patch updates the script to support Ubuntu
in addition to Fedora/RHEL.

Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
It is highly recommended to always use fully-qualified image references
as short-name aliases can create ambiguity.

Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
@stano45 stano45 merged commit 998d1dc into stano45:main Aug 16, 2024
@rst0git rst0git deleted the container_migration_in_kubernetes branch August 16, 2024 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants