diff --git a/pkg/apis/deviceplugin/v1beta1/constants.go b/pkg/apis/deviceplugin/v1beta1/constants.go index d986797..4c40f21 100644 --- a/pkg/apis/deviceplugin/v1beta1/constants.go +++ b/pkg/apis/deviceplugin/v1beta1/constants.go @@ -19,10 +19,10 @@ package v1beta1 const ( // Healthy means that the device is healthy Healthy = "Healthy" - // UnHealthy means that the device is unhealthy + // Unhealthy means that the device is unhealthy Unhealthy = "Unhealthy" - // Current version of the API supported by kubelet + // Version means current version of the API supported by kubelet Version = "v1beta1" // DevicePluginPath is the folder the Device Plugin is expecting sockets to be on // Only privileged pods have access to this path @@ -30,8 +30,9 @@ const ( DevicePluginPath = "/var/lib/kubelet/device-plugins/" // KubeletSocket is the path of the Kubelet registry socket KubeletSocket = DevicePluginPath + "kubelet.sock" - // Timeout duration in secs for PreStartContainer RPC + // KubeletPreStartContainerRPCTimeoutInSecs is the timeout duration in secs for PreStartContainer RPC KubeletPreStartContainerRPCTimeoutInSecs = 30 ) +// SupportedVersions provides a list of supported version var SupportedVersions = [...]string{"v1beta1"}