You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

49 lines
1.5 KiB

Index: src/k8s.io/kubernetes/cluster/clientbin.sh
--- src/k8s.io/kubernetes/cluster/clientbin.sh.orig 2017-01-28 12:53:58.000000000 +0100
+++ src/k8s.io/kubernetes/cluster/clientbin.sh 2017-01-28 13:35:04.222772000 +0100
@@ -28,6 +28,9 @@
Linux)
host_os=linux
;;
+ FreeBSD)
+ host_os=freebsd
+ ;;
*)
echo "Unsupported host OS. Must be Linux or Mac OS X." >&2
exit 1
Index: src/k8s.io/kubernetes/hack/lib/util.sh
--- src/k8s.io/kubernetes/hack/lib/util.sh.orig 2017-01-28 12:53:58.000000000 +0100
+++ src/k8s.io/kubernetes/hack/lib/util.sh 2017-01-28 13:34:01.339840000 +0100
@@ -122,6 +122,9 @@
Linux)
host_os=linux
;;
+ FreeBSD)
+ host_os=freebsd
+ ;;
*)
kube::log::error "Unsupported host OS. Must be Linux or Mac OS X."
exit 1
Index: src/k8s.io/kubernetes/hack/local-up-cluster.sh
--- src/k8s.io/kubernetes/hack/local-up-cluster.sh.orig 2017-01-28 12:53:58.000000000 +0100
+++ src/k8s.io/kubernetes/hack/local-up-cluster.sh 2017-01-28 13:34:51.400261000 +0100
@@ -225,6 +225,9 @@
Linux)
host_os=linux
;;
+ FreeBSD)
+ host_os=freebsd
+ ;;
*)
echo "Unsupported host OS. Must be Linux or Mac OS X." >&2
exit 1
@@ -745,6 +748,9 @@
Linux)
start_kubelet
;;
+ FreeBSD)
+ start_kubelet
+ ;;
*)
warning "Unsupported host OS. Must be Linux or Mac OS X, kubelet aborted."
;;