Skip to content

Commit 78cc794

Browse files
committed
add the k3s application type
1 parent 2958f12 commit 78cc794

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

containers/app.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ func guessApplicationType(cmdline []byte) string {
4646
return "kube-controller-manager"
4747
case bytes.HasSuffix(cmd, []byte("kube-scheduler")):
4848
return "kube-scheduler"
49+
case bytes.HasSuffix(cmd, []byte("k3s")):
50+
return "k3s"
4951
case bytes.HasSuffix(cmd, []byte("etcd")):
5052
return "etcd"
5153
case bytes.HasSuffix(cmd, []byte("dockerd")):

0 commit comments

Comments
 (0)