我对 Kubernetes 相当陌生,能够设置包括入口在内的工作流程。
如何指定哪些部署(不是 Pod)进入特定节点池?
另外,命名空间对节点也有影响吗?
我创建了一个新集群,创建了一个应用程序网关,然后按照教程安装了 AGIC。然后我使用以下配置配置入口控制器:
# This file contains the essential configs for the ingress controller helm chart
# Verbosity level of the App Gateway Ingress Controller
verbosityLevel: 3
################################################################################
# Specify which application gateway the ingress controller will manage
#
appgw:
subscriptionId: <<subscriptionid>>
resourceGroup: experimental-cluster-rg
name: experimental-cluster-ag
usePrivateIP: false
# Setting appgw.shared to "true" will create an AzureIngressProhibitedTarget CRD.
# This prohibits AGIC from applying config for any host/path.
# Use "kubectl get AzureIngressProhibitedTargets" to view and change this.
shared: false
################################################################################ …Run Code Online (Sandbox Code Playgroud)