You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cat <<-EOF | kubectl apply -f -
apiVersion: node.k8s.io/v1
kind: RuntimeClass
metadata:
name: kata
handler: kata
EOF
cat <<-EOF | kubectl apply -f -
apiVersion: v1
kind: Pod
metadata:
name: nginx-sandbox
spec:
runtimeClassName: kata
containers:
- image: docker.io/zhouliang121/alpine-84688df7-2c0c-40fa-956b-29d8e74d16c1-gcm:latest
command:
- top
imagePullPolicy: IfNotPresent
name: alpine
restartPolicy: Never
EOF
It was found that the pod startup uses the cri_handler="cc" feature.
But when I deleted the runtimeClassName:kata corresponding to the pod, I found that the feature of cri_handler="cc" was not used.
like:
cat <<-EOF | kubectl apply -f -
apiVersion: v1
kind: Pod
metadata:
name: nginx-sandbox
spec:
containers:
- image: docker.io/zhouliang121/alpine-84688df7-2c0c-40fa-956b-29d8e74d16c1-gcm:latest
command:
- top
imagePullPolicy: IfNotPresent
name: alpine
restartPolicy: Never
EOF
Is there any special connection between the runtimeClassName provided in k8s and the runtime declared in containerd? Why does cri_handler not take effect?
The text was updated successfully, but these errors were encountered:
I have a config.toml configuration as follows
When I create a new pod, for example
It was found that the pod startup uses the cri_handler="cc" feature.
But when I deleted the runtimeClassName:kata corresponding to the pod, I found that the feature of cri_handler="cc" was not used.
like:
Is there any special connection between the runtimeClassName provided in k8s and the runtime declared in containerd? Why does cri_handler not take effect?
The text was updated successfully, but these errors were encountered: