GCP中目标池的目的 [英] purpose of Target Pools in GCP

查看:91
本文介绍了GCP中目标池的目的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是GCP的新手,正在学习一些教程.在一个Qwiklabs教程中( https://google.qwiklabs.com/focuses/558?parent = catalog ),他们让我们设置了托管实例组,将其指向目标池,然后创建负载均衡器并将其指向目标池.

I'm new to GCP and working through some tutorials. In one Qwiklabs tutorial (https://google.qwiklabs.com/focuses/558?parent=catalog) they have us set up a Managed Instance Group, point that to a Target Pool, and then create a Load Balancer and point it to the Target Pool.

我不明白为什么需要目标池.为什么我们不能仅将负载均衡器指向托管实例组?我想随着经验的积累,这种情况会变得更加明显,但是现在我找不到一个简单的答案.

What I don't understand is why the Target Pool is necessary. Why couldn't we just point the Load Balancer at the Managed Instance Group? I'm guessing this will become more obvious with experience, but I can't find a simple answer to this question right now.

推荐答案

您必须从两个不同的角度来看这方面,网络负载均衡器需要一组机器来进行转发算法为了引导流量,它接受一个实例组作为一个项目,该实例组是一组已定义的托管/非托管VM.

You have to see this aspect from two different point of view, the network load balancer needs a set of machines for is forwarding algorithm to direct traffic, it accepts as an item an instance group that is an already defined managed/unmanaged set of VMs.

实例组是一个与计算以及在尖峰,滚动更新等过程中如何将一组计算机作为单个实体"处理的概念相关的概念 实例组是通用的,不仅用于目标池,还用于http/s负载均衡器后端.

An instance group instead is a concept more related to computing and how you want to handle a set of machine as "a single entity" during spikes, rolling updates, etc Instance groups are generic and also used for http/s load balancer backends, not only for target pools.

如果您仍然感到困惑,请查看文档实例组.

If you are still confused, have a look at this page and at the documentation of instance groups.

这篇关于GCP中目标池的目的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆