将容器组 IP 池分配到项目
本节介绍如何将容器组 IP 池分配到项目。
若项目被分配到容器组 IP 池,在该项目中创建工作负载和任务时,若不指定容器组 IP 池,项目中的容器组会默认分配到该容器组 IP 池。
若项目未分配到容器组 IP 池,即项目未与任何容器组 IP 池绑定,在该项目中创建工作负载和任务时,若不指定容器组 IP 池,项目中的容器组将被分配到任一可用的容器组 IP 池。
一个 IP 池可以分配给多个项目,一个项目可以绑定多个 IP 池。
Prerequisites
-
You should join a cluster and have the 集群网络资源管理 permission within the cluster. For more information, refer to "Cluster Members" and "Cluster Roles".
-
KubeSphere 平台需要安装并启用 KubeSphere 网络扩展组件。
Steps
-
Log in to the KubeSphere web console with a user who has the 集群网络资源管理 permission, and access your cluster.
-
Click 网络 > 容器组 IP 池 in the left navigation pane.
-
在容器组 IP 池列表中点击一个容器组 IP 池的名称打开其详情页面。
-
在项目页签下点击新增项目,在下拉列表中选择一个项目,然后点击确定。
-
点击项目右侧的
,解除容器组 IP 池和该项目的绑定。点击右上角的移除全部,解除容器组 IP 池和所有已分配项目的绑定。
移除项目后,项目将不再受该 IP 池的资源分配限制,已经分配 IP 地址的项目容器组不受影响。
Feedback
Was this page Helpful?
Receive the latest news, articles and updates from KubeSphere