from docker to containerd

This commit is contained in:
do
2021-01-22 15:15:44 +01:00
parent 78447cc42e
commit e33986768b
6 changed files with 74 additions and 0 deletions

21
k8s/containerd.sls Normal file
View File

@@ -0,0 +1,21 @@
# -*- coding: utf-8 -*-
# vim: ft=yaml
---
include:
- .repo.debian-bullseye
- .cri-tools
containerd_pkgs:
pkg.installed:
- pkgs:
- containerd
- containernetworking-plugins
- require:
- pkgrepo: repo_debian-bullseye
/etc/containerd/config.toml:
file.managed:
- source: salt://k8s/files/containerd-config.toml
- mode: 644
- user: root
- group: root