Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to enable ContainerCheckpoint feature #19675

Closed
binaryBard97 opened this issue Sep 20, 2024 · 1 comment
Closed

How to enable ContainerCheckpoint feature #19675

binaryBard97 opened this issue Sep 20, 2024 · 1 comment
Labels
kind/support Categorizes issue or PR as a support question.

Comments

@binaryBard97
Copy link

GOAL: Checkpoint a container.

Local OS : MacOS

Created minikube cluster using following cmd:
minikube start --driver=docker --container-runtime=cri-o \ --extra-config=kubelet.feature-gates=ContainerCheckpoint=true \ --cpus=4 --memory=4096

docker@minikube:~$ curl -v -X POST "https://localhost:10250/checkpoint/redis/redis-replicas-0/redis" \ --insecure \ --cert /var/run/kubernetes/client-admin.crt \ --key /var/run/kubernetes/client-admin.key

Gives the following error:

Trying 127.0.0.1:10250...
Connected to localhost (127.0.0.1) port 10250 (#0)
ALPN, offering h2
ALPN, offering http/1.1
could not load PEM client certificate, OpenSSL error error:8000000D:system library::Permission denied, (no key found, wrong pass phrase, or wrong file format?)
Closing connection 0
curl: (58) could not load PEM client certificate, OpenSSL error error:8000000D:system library::Permission denied, (no key found, wrong pass phrase, or wrong file format?)

so, tried few things to resolve above errors, but none helped

#1
sudo nano /var/lib/kubelet/config.yaml and added featureGates: ContainerCheckpoint: true
but sudo journalctl -u kubelet | grep "ContainerCheckpoint" returns nothing.

#2
sudo vi /etc/crio/crio.conf and added enable_criu_support = true to [crio.runtime] section

@binaryBard97
Copy link
Author

/kind support

@k8s-ci-robot k8s-ci-robot added the kind/support Categorizes issue or PR as a support question. label Sep 20, 2024
@binaryBard97 binaryBard97 closed this as not planned Won't fix, can't repro, duplicate, stale Sep 22, 2024
@binaryBard97 binaryBard97 changed the title How to enable ContainerCheckpoint feature gate --extra-config=kubelet.feature-gates=ContainerCheckpoint=true ignored Sep 22, 2024
@binaryBard97 binaryBard97 changed the title --extra-config=kubelet.feature-gates=ContainerCheckpoint=true ignored How to enable ContainerCheckpoint feature Sep 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/support Categorizes issue or PR as a support question.
Projects
None yet
Development

No branches or pull requests

2 participants