Skip to content

Commit

Permalink
Removed the dockershim section
Browse files Browse the repository at this point in the history
  • Loading branch information
Midas847 committed Jan 26, 2022
1 parent 8b34063 commit df266cd
Showing 1 changed file with 5 additions and 20 deletions.
25 changes: 5 additions & 20 deletions content/en/docs/concepts/containers/runtime-class.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
reviewers:
- tallclair
- dchen1107
- tallclair
- dchen1107
title: Runtime Class
content_type: concept
weight: 20
Expand All @@ -16,9 +16,6 @@ This page describes the RuntimeClass resource and runtime selection mechanism.
RuntimeClass is a feature for selecting the container runtime configuration. The container runtime
configuration is used to run a Pod's containers.




<!-- body -->

## Motivation
Expand Down Expand Up @@ -62,12 +59,12 @@ The RuntimeClass resource currently only has 2 significant fields: the RuntimeCl
(`metadata.name`) and the handler (`handler`). The object definition looks like this:

```yaml
apiVersion: node.k8s.io/v1 # RuntimeClass is defined in the node.k8s.io API group
apiVersion: node.k8s.io/v1 # RuntimeClass is defined in the node.k8s.io API group
kind: RuntimeClass
metadata:
name: myclass # The name the RuntimeClass will be referenced by
name: myclass # The name the RuntimeClass will be referenced by
# RuntimeClass is a non-namespaced resource
handler: myconfiguration # The name of the corresponding CRI configuration
handler: myconfiguration # The name of the corresponding CRI configuration
```

The name of a RuntimeClass object must be a valid
Expand Down Expand Up @@ -107,16 +104,6 @@ to the behavior when the RuntimeClass feature is disabled.

For more details on setting up CRI runtimes, see [CRI installation](/docs/setup/production-environment/container-runtimes/).

#### dockershim

{{< feature-state for_k8s_version="v1.20" state="deprecated" >}}

Dockershim is deprecated as of Kubernetes v1.20, and will be removed in v1.24. For more information on the deprecation,
see [dockershim deprecation](/blog/2020/12/08/kubernetes-1-20-release-announcement/#dockershim-deprecation)

RuntimeClasses with dockershim must set the runtime handler to `docker`. Dockershim does not support
custom configurable runtime handlers.

#### {{< glossary_tooltip term_id="containerd" >}}

Runtime handlers are configured through containerd's configuration at
Expand Down Expand Up @@ -177,10 +164,8 @@ Pod overhead is defined in RuntimeClass through the `overhead` fields. Through t
you can specify the overhead of running pods utilizing this RuntimeClass and ensure these overheads
are accounted for in Kubernetes.


## {{% heading "whatsnext" %}}


- [RuntimeClass Design](https://github.com/kubernetes/enhancements/blob/master/keps/sig-node/585-runtime-class/README.md)
- [RuntimeClass Scheduling Design](https://github.com/kubernetes/enhancements/blob/master/keps/sig-node/585-runtime-class/README.md#runtimeclass-scheduling)
- Read about the [Pod Overhead](/docs/concepts/scheduling-eviction/pod-overhead/) concept
Expand Down

0 comments on commit df266cd

Please sign in to comment.