Skip to content

Why not use a real containerd default config with yum to aviod ERROR: runtime failed: rpc error: code = Unimplemented desc = unknown service runtime.v1alpha2.RuntimeService #4956

Description

@oldthreefeng

What is the problem you're trying to solve
A clear and concise description of what the problem is.

with docker is deprecated 1.22+(kubernetes) . container is most popular cri which people will choose to Use. the default containerd config by yum install contianerd.io generate is like above . it will cause the FAQ like #4581 , kubernetes-sigs/cri-tools#356 , kubernetes/kubernetes#73189 . kubernetes/kubernetes#89900 . and so on

#   Copyright 2018-2020 Docker Inc.

#   Licensed under the Apache License, Version 2.0 (the "License");
#   you may not use this file except in compliance with the License.
#   You may obtain a copy of the License at

#       http://www.apache.org/licenses/LICENSE-2.0

#   Unless required by applicable law or agreed to in writing, software
#   distributed under the License is distributed on an "AS IS" BASIS,
#   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#   See the License for the specific language governing permissions and
#   limitations under the License.

disabled_plugins = ["cri"]

#root = "/var/lib/containerd"
#state = "/run/containerd"
#subreaper = true
#oom_score = 0

#[grpc]
#  address = "/run/containerd/containerd.sock"
#  uid = 0
#  gid = 0

#[debug]
#  address = "/run/containerd/debug.sock"
#  uid = 0
#  gid = 0
#  level = "info"

Describe the solution you'd like
A clear and concise description of what you'd like to happen.
just add an post scripts to cover the generate config /etc/containerd/config.toml

$ containerd config default >  /etc/containerd/config.toml

Additional context
Add any other context about the feature request here.

NONE.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/externalIssue in external component being tracked by containerd

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions