Kubernates Horizo​​ntal Pod Autoscaling - 将stackdriver设置为自定义指标?

时间:2017-08-23 10:25:22

标签: kubernetes google-kubernetes-engine

在这里提出问题,因为没有足够的文件可用。

我有如下所示的class func getActiveGuestsForTable (tableSession: TableSessionTable) -> [GuestsTable]? { guestTableRequest.predicate = NSPredicate(format: "table = %@ and closeTime = %@", tableSession, NSNull() as CVarArg) guestTableRequest.sortDescriptors = [NSSortDescriptor(key: "openTime", ascending: true, selector: #selector(NSDate.compare(_:)))] let matchedGuests = try? context.fetch(guestTableRequest) return matchedGuests } 配置,我想根据gke(谷歌容器引擎)stackdriver监控提供的自定义指标自动扩展实例。我想根据请求数量进行扩展。

HorizontalPodAutoscaler

0 个答案:

没有答案