schrej / podmigration-operator Goto Github PK
View Code? Open in Web Editor NEWPart of a PoC of Pod migration in Kubernetes
License: Apache License 2.0
Part of a PoC of Pod migration in Kubernetes
License: Apache License 2.0
I'm very interested in your thesis and I want to use it, but there is no guide, so it hard to try to make it work. Can you please give me a guide? Or what I should read to make this code work on migration.
Also, I already install K8s using CRI-O but have no idea what to do next. I think if you use CRIU, it has to use Podman container right since docker cannot use with CRIU?
Thank you so much.
Hi again,
I still have an issue with a YAML file. I can test pod migrating with your YAML file and it works without any problem, but my YAML file has a problem.
I think the one thing that I know. Your YAML file doesn't have a "command" on the YAML file, but I'm not sure why my YAML doesn't work. Maybe because of this or another thing.
I think I got some point about if I want to use the volume on the YAML file should config something, but I didn't use volumes, and it still doesn't work anyway.
It has the status "CrashLoopBackOff." in the destination pod after migrating.
Any Idea about this?
Dear @schrej
Can we get throughput from “kubectl migrate”? For example, if we use “scp”, it will have a throughput log. I would like to know that "kubectl migrate" can do that whether or not?
Hi,
I’m wonder that why pod migrating cannot migrate if the connection between node isn’t good enough?
Hi, could you help me please?
I have a trouble when i run command: make.
root@ubuntu:/src/k8s.io/podmigration-operator# make
go: creating new go.mod: module tmp
go get: added sigs.k8s.io/controller-tools v0.2.5
/root/go/bin/controller-gen object:headerFile="hack/boilerplate.go.txt" paths="./..."
go fmt ./...
go vet ./...
controllers/suite_test.go:23:2: missing go.sum entry for module providing package github.com/onsi/ginkgo (imported by github.com/schrej/podmigration-operator/controllers); to add:
go get -t github.com/schrej/podmigration-operator/controllers
# github.com/go-logr/zapr
/root/go/pkg/mod/github.com/go-logr/[email protected]/zapr.go:136:10: cannot use &infoLogger{...} (type *infoLogger) as type logr.Logger in return argument:
*infoLogger does not implement logr.Logger (missing Error method)
/root/go/pkg/mod/github.com/go-logr/[email protected]/zapr.go:141:2: cannot use disabledInfoLogger (type *noopInfoLogger) as type logr.Logger in return argument:
*noopInfoLogger does not implement logr.Logger (missing Error method)
# sigs.k8s.io/controller-runtime/pkg/metrics
/root/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/metrics/client_go_adapter.go:134:3: cannot use &latencyAdapter{...} (type *latencyAdapter) as type metrics.LatencyMetric in field value:
*latencyAdapter does not implement metrics.LatencyMetric (wrong type for Observe method)
have Observe(string, url.URL, time.Duration)
want Observe(context.Context, string, url.URL, time.Duration)
/root/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/metrics/client_go_adapter.go:135:3: cannot use &resultAdapter{...} (type *resultAdapter) as type metrics.ResultMetric in field value:
*resultAdapter does not implement metrics.ResultMetric (wrong type for Increment method)
have Increment(string, string, string)
want Increment(context.Context, string, string, string)
make: *** [Makefile:51: vet] Error 2
root@ubuntu:/src/k8s.io/podmigration-operator#
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.