Mark NodeNotReady for docker version below 1.6.2

This commit is contained in:
Dawn Chen
2015-10-21 13:04:10 -07:00
parent b691fd299c
commit a39e1e96dc
10 changed files with 197 additions and 10 deletions

View File

@@ -51,6 +51,8 @@ import (
)
const (
RktType = "rkt"
acVersion = "0.7.1"
minimumRktVersion = "0.9.0"
recommendRktVersion = "0.9.0"
@@ -864,6 +866,10 @@ func (r *Runtime) GetPodStatus(pod *api.Pod) (*api.PodStatus, error) {
return r.getPodStatus(serviceName)
}
func (r *Runtime) Type() string {
return RktType
}
// Version invokes 'rkt version' to get the version information of the rkt
// runtime on the machine.
// The return values are an int array containers the version number.