Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Containerized Sanlock Daemon

Containerized Sanlock Daemon can be used to build a container image that runs sanlock.

The image repository: sanlock-daemon.

Prerequisite

Sanlock can clear the process within a specified time. Otherwise, the watchdog device is required to reset the host. If you do not have a hardware watchdog, you can enable softdog in the following ways.

cat >> /etc/rc.local <<EOF
#!/bin/bash
/usr/sbin/modprobe softdog
EOF

chmod +x /etc/rc.local

modprobe softdog

Guide

You can refer to the sample daemonset-in-k8s.yaml to see how to use the container image in Kubernetes.

About

A container image running sanlock

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages