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

10 lines
273 B
Bash

#!/bin/sh
exec 2>&1
[ -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