From 05f66d60b4e3af981f146ce7e3939c3c138e6951 Mon Sep 17 00:00:00 2001 From: TangBin Date: Wed, 7 Nov 2018 18:33:32 +0800 Subject: [PATCH] add aws scheduler api --- pkg/scheduler/api/types.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/scheduler/api/types.go b/pkg/scheduler/api/types.go index 8ad5257f97..9a66a36433 100644 --- a/pkg/scheduler/api/types.go +++ b/pkg/scheduler/api/types.go @@ -18,6 +18,7 @@ const ( HostHypervisorForKvm = "hypervisor" HostTypeAliyun = "aliyun" HostTypeAzure = "azure" + HostTypeAws = "aws" HostTypeKubelet = "kubelet" AggregateStrategyRequire = "require" @@ -50,6 +51,7 @@ var ( PublicCloudProviders = sets.NewString( HostTypeAliyun, HostTypeAzure, + HostTypeAws, ) ValidGpuTypes = sets.NewString(