Skip to content

Commit

Permalink
Add support for containerd container runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
Ciprian Hacman committed Nov 22, 2019
1 parent b92babe commit a343262
Show file tree
Hide file tree
Showing 33 changed files with 1,724 additions and 94 deletions.
34 changes: 34 additions & 0 deletions k8s/crds/kops.k8s.io_clusters.yaml
Expand Up @@ -331,6 +331,40 @@ spec:
description: ConfigStore is the VFS path to where the configuration
(Cluster, InstanceGroups etc) is stored
type: string
containerd:
description: Component configurations
properties:
address:
description: Address of containerd's GRPC server
(default "/run/containerd/containerd.sock")
type: string
externalConfig:
description: Complete containerd config file provided by the user
type: string
logLevel:
description: Logging level [trace, debug, info, warn, error, fatal,
panic] (default "warn")
type: string
root:
description: Directory for persistent data (default "/var/lib/containerd")
type: string
skipInstall:
description: Prevents kops from installing and modifying containerd
in any way (default "false")
type: boolean
state:
description: Directory for execution state files
(default "/run/containerd")
type: string
version:
description: Consumed by nodeup and used to pick the containerd version
type: string
type: object
containerRuntime:
description: ContainerRuntime is the is the software that runs at the
lowest layers of a Kubernetes node and, among other things, manages
container images starts, starts and stops container
type: string
dnsControllerGossipConfig:
description: DNSControllerGossipConfig for the cluster assuming the
use of gossip DNS
Expand Down
2 changes: 2 additions & 0 deletions nodeup/pkg/model/BUILD.bazel
Expand Up @@ -5,6 +5,7 @@ go_library(
srcs = [
"architecture.go",
"cloudconfig.go",
"containerd.go",
"context.go",
"convenience.go",
"directories.go",
Expand Down Expand Up @@ -82,6 +83,7 @@ go_library(
go_test(
name = "go_default_test",
srcs = [
"containerd_test.go",
"docker_test.go",
"kube_apiserver_test.go",
"kube_proxy_test.go",
Expand Down

0 comments on commit a343262

Please sign in to comment.