Skip to main content
Google Cloud Documentation
技术领域
  • AI 和机器学习
  • 应用开发
  • 应用托管
  • 计算
  • 数据分析和流水线
  • 数据库
  • 分布式云、混合云和多云
  • 行业解决方案
  • 迁移
  • 网络
  • 可观测性和监控
  • 安全
  • Storage
跨产品工具
  • 访问权限和资源管理
  • 费用和用量管理
  • 基础设施即代码
  • SDK、语言、框架和工具
/
Console
  • English
  • 中文 – 简体
  • Google Kubernetes Engine (GKE)
免费开始使用吧
概览 指南 参考文档 示例 资源
Google Cloud Documentation
  • 技术领域
    • More
    • 概览
    • 指南
    • 参考文档
    • 示例
    • 资源
  • 跨产品工具
    • More
  • Console
  • Kubernetes Engine
  • 向 GKE API 进行身份验证
  • 所有 API 与参考文档
  • API 组织和结构
  • API 权限
  • GKE API
    • Overview
    • v1 API
      • REST 资源
      • projects.aggregated.usableSubnetworks
        • 概览
        • list
      • projects.locations
        • 概览
        • getServerConfig
      • projects.locations.clusters
        • 概览
        • checkAutopilotCompatibility
        • completeIpRotation
        • create
        • delete
        • fetchClusterUpgradeInfo
        • get
        • getJwks
        • list
        • setAddons
        • setLegacyAbac
        • setLocations
        • setLogging
        • setMaintenancePolicy
        • setMasterAuth
        • setMonitoring
        • setNetworkPolicy
        • setResourceLabels
        • startIpRotation
        • update
        • updateMaster
      • projects.locations.clusters.nodePools
        • 概览
        • completeUpgrade
        • create
        • delete
        • fetchNodePoolUpgradeInfo
        • get
        • list
        • 回滚
        • setAutoscaling
        • setManagement
        • setSize
        • update
      • projects.locations.operations
        • 概览
        • cancel
        • get
        • list
      • projects.zones
        • 概览
        • getServerconfig
      • projects.zones.clusters
        • 概览
        • addons
        • completeIpRotation
        • create
        • delete
        • fetchClusterUpgradeInfo
        • get
        • legacyAbac
        • list
        • locations
        • 日志记录
        • master
        • 监控
        • resourceLabels
        • setMaintenancePolicy
        • setMasterAuth
        • setNetworkPolicy
        • startIpRotation
        • update
      • projects.zones.clusters.nodePools
        • 概览
        • 自动扩缩
        • create
        • delete
        • fetchNodePoolUpgradeInfo
        • get
        • list
        • 回滚
        • setManagement
        • setSize
        • update
      • projects.zones.operations
        • 概览
        • cancel
        • get
        • list
      • 类型
      • 操作
      • ClusterUpdate
      • ClusterUpgradeInfo
      • ConfidentialNodes
      • ContainerdConfig
      • DisruptionEvent
      • DisruptionType
      • EventType
      • GcfsConfig
      • GetOpenIDConfigRequest
      • GetOpenIDConfigResponse
      • LinuxNodeConfig
      • ListClustersResponse
      • ListNodePoolsResponse
      • ListOperationsResponse
      • MaxPodsConstraint
      • NetworkTierConfig
      • NodeConfig
      • NodeKubeletConfig
      • NodeLabels
      • NodeManagement
      • NodePoolLoggingConfig
      • NodePoolUpgradeInfo
      • NodeTaints
      • PodCIDROverprovisionConfig
      • ResourceLabels
      • ResourceManagerTags
      • SecurityBulletinEvent
      • ServerConfig
      • ShieldedInstanceConfig
      • State
      • StatusCondition
      • UpgradeAvailableEvent
      • UpgradeDetails
      • UpgradeEvent
      • UpgradeInfoEvent
      • UpgradeResourceType
      • UpgradeSettings
    • v1beta1 API
      • REST 资源
      • projects.aggregated.usableSubnetworks
        • 概览
        • list
      • projects.locations
        • 概览
        • getServerConfig
        • list
      • projects.locations.clusters
        • 概览
        • checkAutopilotCompatibility
        • completeControlPlaneUpgrade
        • completeIpRotation
        • create
        • delete
        • fetchClusterUpgradeInfo
        • get
        • getJwks
        • list
        • setAddons
        • setLegacyAbac
        • setLocations
        • setLogging
        • setMaintenancePolicy
        • setMasterAuth
        • setMonitoring
        • setNetworkPolicy
        • setResourceLabels
        • startIpRotation
        • update
        • updateMaster
      • projects.locations.clusters.nodePools
        • 概览
        • completeUpgrade
        • create
        • delete
        • fetchNodePoolUpgradeInfo
        • get
        • list
        • 回滚
        • setAutoscaling
        • setManagement
        • setSize
        • update
      • projects.locations.operations
        • 概览
        • cancel
        • get
        • list
      • projects.zones
        • 概览
        • getServerconfig
      • projects.zones.clusters
        • 概览
        • addons
        • completeControlPlaneUpgrade
        • completeIpRotation
        • create
        • delete
        • fetchClusterUpgradeInfo
        • get
        • legacyAbac
        • list
        • locations
        • 日志记录
        • master
        • 监控
        • resourceLabels
        • setMaintenancePolicy
        • setMasterAuth
        • setNetworkPolicy
        • startIpRotation
        • update
      • projects.zones.clusters.nodePools
        • 概览
        • 自动扩缩
        • create
        • delete
        • fetchNodePoolUpgradeInfo
        • get
        • list
        • 回滚
        • setManagement
        • setSize
        • update
      • projects.zones.operations
        • 概览
        • cancel
        • get
        • list
      • 类型
      • 操作
      • ClusterUpdate
      • ClusterUpgradeInfo
      • ConfidentialNodes
      • ContainerdConfig
      • DisruptionEvent
      • DisruptionType
      • EventType
      • GcfsConfig
      • GetOpenIDConfigRequest
      • GetOpenIDConfigResponse
      • HostMaintenancePolicy
      • LinuxNodeConfig
      • ListClustersResponse
      • ListNodePoolsResponse
      • ListOperationsResponse
      • MaxPodsConstraint
      • NetworkTierConfig
      • NodeConfig
      • NodeKubeletConfig
      • NodeLabels
      • NodeManagement
      • NodePoolLoggingConfig
      • NodePoolUpgradeInfo
      • NodeTaints
      • PodCIDROverprovisionConfig
      • ResourceLabels
      • ResourceManagerTags
      • SecurityBulletinEvent
      • ServerConfig
      • ShieldedInstanceConfig
      • State
      • StatusCondition
      • UpgradeAvailableEvent
      • UpgradeDetails
      • UpgradeEvent
      • UpgradeInfoEvent
      • UpgradeResourceType
      • UpgradeSettings
    • 共享类型
      • 类型
      • 代码
      • 日期
      • Status
      • TimeOfDay
  • GKE MCP 参考文档
    • 概览
    • 工具
      • list_k8s_api_resources
      • check_k8s_auth
      • describe_k8s_resource
      • list_k8s_events
      • get_k8s_resource
      • get_k8s_cluster_info
      • get_k8s_version
      • get_k8s_rollout_status
      • list_clusters
      • create_cluster
      • delete_cluster
      • update_cluster
      • get_cluster
      • list_operations
      • get_operation
      • cancel_operation
      • create_node_pool
      • list_node_pools
      • get_node_pool
      • update_node_pool
      • delete_node_pool
      • get_k8s_logs
      • apply_k8s_manifest
      • delete_k8s_resource
      • patch_k8s_resource
  • gcloud CLI 参考文档
  • Terraform 参考文档
  • 自定义资源定义
    • AllowlistSynchronizer
    • Agent 沙盒
    • ComputeClass
    • GCPDataSource
    • HighAvailabilityApplication
    • PodSnapshot
    • WorkloadAllowlist
    • CapacityBuffer
    • CapacityQuota
  • 客户端库
  • Kubernetes 文档(外部)
  • Cloud Storage FUSE CSI 驱动程序
    • 卷属性
  • Managed Lustre CSI 驱动程序
    • Managed Lustre CSI 驱动程序参考
  • AI 和机器学习
  • 应用开发
  • 应用托管
  • 计算
  • 数据分析和流水线
  • 数据库
  • 分布式云、混合云和多云
  • 行业解决方案
  • 迁移
  • 网络
  • 可观测性和监控
  • 安全
  • Storage
  • 访问权限和资源管理
  • 费用和用量管理
  • 基础设施即代码
  • SDK、语言、框架和工具
  • Home
  • Documentation
  • Application hosting
  • Google Kubernetes Engine (GKE)
  • 参考文档

MaxPodsConstraint Stay organized with collections Save and categorize content based on your preferences.

  • JSON representation

Constraints applied to pods.

JSON representation
{
  "maxPodsPerNode": string
}
Fields
maxPodsPerNode

string (int64 format)

Constraint enforced on the max num of pods per node.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-04-15 UTC.

  • Support

    • Release Notes
  • Resources

    • GitHub
    • Getting Started with Google Cloud
    • Code samples
    • Cloud Architecture Center
  • Terms
  • Privacy
  • Manage cookies
  • English
  • 中文 – 简体