void-packages/srcpkgs/kubernetes/files/kube-scheduler/run

9 lines
263 B
Bash

#!/bin/sh
[ -r /etc/kubernetes/config ] && . /etc/kubernetes/config
[ -r /etc/kubernetes/scheduler ] && . /etc/kubernetes/scheduler
exec chpst -u kube:kube kube-scheduler \
$KUBE_LOGTOSTDERR \
$KUBE_LOG_LEVEL \
$KUBE_MASTER \
$KUBE_SCHEDULER_ARGS 2>/dev/null