本文介绍了RouteController无法在GKE上创建路由的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在GKE上有一个集群,当我想使用该集群时创建其节点池,并在使用完该集群后将其删除.

I have a cluster on GKE whose node pool I create when I want to use the cluster, and delete when I'm done with it.

这是一个两个节点的群集,其中主服务器位于europe-west2-a中,其节点区域为europe-west2-aeurope-west2-b.

It's a two node cluster with the master in europe-west2-a and with and whose node zones are europe-west2-a and europe-west2-b.

最近的创建导致区域B中的节点因NetworkUnavailable而失败,因为RouteController failed to create a route.原因是因为Could not create route xxx 10.244.1.0/24 for node xxx after 342.263706ms: instance not found.

The most recent creation resulted in the node in zone B failing with NetworkUnavailable because RouteController failed to create a route. The reason was because Could not create route xxx 10.244.1.0/24 for node xxx after 342.263706ms: instance not found.

为什么会突然发生这种情况,我该怎么解决?!

Why would this be happening all of a sudden, and what can I do to fix it?!

推荐答案

您没有提到您使用的是哪个版本的GKE,只是为了澄清一下:

You didn't mention which version of GKE you are using so just for clarification:

无论如何,您仍然可以还原到旧版访问范围,但不建议这样做.

In any case you can still revert to legacy access scopes but this is not recommended approach.

希望获得帮助.

这篇关于RouteController无法在GKE上创建路由的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-22 23:12