Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
gitpod-io
GitHub Repository: gitpod-io/gitpod
Path: blob/main/install/installer/pkg/containerd/k3s.go
2501 views
1
// Copyright (c) 2022 Gitpod GmbH. All rights reserved.
2
/// Licensed under the GNU Affero General Public License (AGPL).
3
// See License.AGPL.txt in the project root for license information.
4
5
package containerd
6
7
// k3s stores both socket and containerd in a different location
8
const (
9
ContainerdLocationK3s ContainerdLocation = "/run/k3s/containerd/io.containerd.runtime.v2.task/k8s.io"
10
ContainerdSocketLocationK3s ContainerdSocketLocation = "/run/k3s/containerd"
11
)
12
13
func init() {
14
loc.AddContainerd(ContainerdLocationK3s)
15
loc.AddSocket(ContainerdSocketLocationK3s)
16
}
17
18