📂 File Browser

/AgentAI/vendor/google/apiclient-services/src/Container
🌙 Dark Mode
🎯 Quick Launch:

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 AcceleratorConfig.php
▶ Open 📄 View Source
🐘 AccurateTimeConfig.php
▶ Open 📄 View Source
🐘 AdditionalIPRangesConfig.php
▶ Open 📄 View Source
🐘 AdditionalNodeNetworkConfig.php
▶ Open 📄 View Source
🐘 AdditionalPodNetworkConfig.php
▶ Open 📄 View Source
🐘 AdditionalPodRangesConfig.php
▶ Open 📄 View Source
🐘 AddonsConfig.php
▶ Open 📄 View Source
🐘 AdvancedDatapathObservabilityConfig.php
▶ Open 📄 View Source
🐘 AdvancedMachineFeatures.php
▶ Open 📄 View Source
🐘 AnonymousAuthenticationConfig.php
▶ Open 📄 View Source
🐘 AuthenticatorGroupsConfig.php
▶ Open 📄 View Source
🐘 AutoIpamConfig.php
▶ Open 📄 View Source
🐘 AutoMonitoringConfig.php
▶ Open 📄 View Source
🐘 AutoUpgradeOptions.php
▶ Open 📄 View Source
🐘 Autopilot.php
▶ Open 📄 View Source
🐘 AutopilotCompatibilityIssue.php
▶ Open 📄 View Source
🐘 AutopilotConfig.php
▶ Open 📄 View Source
🐘 AutoprovisioningNodePoolDefaults.php
▶ Open 📄 View Source
🐘 AutoscaledRolloutPolicy.php
▶ Open 📄 View Source
🐘 BestEffortProvisioning.php
▶ Open 📄 View Source
🐘 BigQueryDestination.php
▶ Open 📄 View Source
🐘 BinaryAuthorization.php
▶ Open 📄 View Source
🐘 BlueGreenInfo.php
▶ Open 📄 View Source
🐘 BlueGreenSettings.php
▶ Open 📄 View Source
🐘 BootDisk.php
▶ Open 📄 View Source
🐘 BootDiskProfile.php
▶ Open 📄 View Source
🐘 CancelOperationRequest.php
▶ Open 📄 View Source
🐘 CertificateAuthorityDomainConfig.php
▶ Open 📄 View Source
🐘 CertificateConfig.php
▶ Open 📄 View Source
🐘 CertificateConfigPair.php
▶ Open 📄 View Source
🐘 CheckAutopilotCompatibilityResponse.php
▶ Open 📄 View Source
🐘 CidrBlock.php
▶ Open 📄 View Source
🐘 ClientCertificateConfig.php
▶ Open 📄 View Source
🐘 CloudRunConfig.php
▶ Open 📄 View Source
🐘 Cluster.php
▶ Open 📄 View Source
🐘 ClusterAutoscaling.php
▶ Open 📄 View Source
🐘 ClusterNetworkPerformanceConfig.php
▶ Open 📄 View Source
🐘 ClusterPolicyConfig.php
▶ Open 📄 View Source
🐘 ClusterUpdate.php
▶ Open 📄 View Source
🐘 ClusterUpgradeInfo.php
▶ Open 📄 View Source
🐘 CompleteIPRotationRequest.php
▶ Open 📄 View Source
🐘 CompleteNodePoolUpgradeRequest.php
▶ Open 📄 View Source
🐘 CompliancePostureConfig.php
▶ Open 📄 View Source
🐘 ComplianceStandard.php
▶ Open 📄 View Source
🐘 ConfidentialNodes.php
▶ Open 📄 View Source
🐘 ConfigConnectorConfig.php
▶ Open 📄 View Source
🐘 ConsumptionMeteringConfig.php
▶ Open 📄 View Source
🐘 ContainerEmpty.php
▶ Open 📄 View Source
🐘 ContainerdConfig.php
▶ Open 📄 View Source
🐘 ControlPlaneEgress.php
▶ Open 📄 View Source
🐘 ControlPlaneEndpointsConfig.php
▶ Open 📄 View Source
🐘 CostManagementConfig.php
▶ Open 📄 View Source
🐘 CrashLoopBackOffConfig.php
▶ Open 📄 View Source
🐘 CreateClusterRequest.php
▶ Open 📄 View Source
🐘 CreateNodePoolRequest.php
▶ Open 📄 View Source
🐘 DNSConfig.php
▶ Open 📄 View Source
🐘 DNSEndpointConfig.php
▶ Open 📄 View Source
🐘 DailyMaintenanceWindow.php
▶ Open 📄 View Source
🐘 DatabaseEncryption.php
▶ Open 📄 View Source
🐘 DedicatedLocalSsdProfile.php
▶ Open 📄 View Source
🐘 DefaultComputeClassConfig.php
▶ Open 📄 View Source
🐘 DefaultSnatStatus.php
▶ Open 📄 View Source
🐘 DesiredAdditionalIPRangesConfig.php
▶ Open 📄 View Source
🐘 DesiredEnterpriseConfig.php
▶ Open 📄 View Source
🐘 DisruptionBudget.php
▶ Open 📄 View Source
🐘 DisruptionEvent.php
▶ Open 📄 View Source
🐘 DnsCacheConfig.php
▶ Open 📄 View Source
🐘 EncryptionConfig.php
▶ Open 📄 View Source
🐘 EnterpriseConfig.php
▶ Open 📄 View Source
🐘 EphemeralLocalSsdProfile.php
▶ Open 📄 View Source
🐘 EphemeralStorageLocalSsdConfig.php
▶ Open 📄 View Source
🐘 EvictionGracePeriod.php
▶ Open 📄 View Source
🐘 EvictionMinimumReclaim.php
▶ Open 📄 View Source
🐘 EvictionSignals.php
▶ Open 📄 View Source
🐘 FastSocket.php
▶ Open 📄 View Source
🐘 Filter.php
▶ Open 📄 View Source
🐘 Fleet.php
▶ Open 📄 View Source
🐘 GCPSecretManagerCertificateConfig.php
▶ Open 📄 View Source
🐘 GPUDirectConfig.php
▶ Open 📄 View Source
🐘 GPUDriverInstallationConfig.php
▶ Open 📄 View Source
🐘 GPUSharingConfig.php
▶ Open 📄 View Source
🐘 GatewayAPIConfig.php
▶ Open 📄 View Source
🐘 GcePersistentDiskCsiDriverConfig.php
▶ Open 📄 View Source
🐘 GcfsConfig.php
▶ Open 📄 View Source
🐘 GcpFilestoreCsiDriverConfig.php
▶ Open 📄 View Source
🐘 GcsFuseCsiDriverConfig.php
▶ Open 📄 View Source
🐘 GetJSONWebKeysResponse.php
▶ Open 📄 View Source
🐘 GetOpenIDConfigResponse.php
▶ Open 📄 View Source
🐘 GkeAutoUpgradeConfig.php
▶ Open 📄 View Source
🐘 GkeBackupAgentConfig.php
▶ Open 📄 View Source
🐘 HighScaleCheckpointingConfig.php
▶ Open 📄 View Source
🐘 HorizontalPodAutoscaling.php
▶ Open 📄 View Source
🐘 HostConfig.php
▶ Open 📄 View Source
🐘 HttpCacheControlResponseHeader.php
▶ Open 📄 View Source
🐘 HttpLoadBalancing.php
▶ Open 📄 View Source
🐘 HugepagesConfig.php
▶ Open 📄 View Source
🐘 ILBSubsettingConfig.php
▶ Open 📄 View Source
🐘 IPAllocationPolicy.php
▶ Open 📄 View Source
🐘 IPEndpointsConfig.php
▶ Open 📄 View Source
🐘 IdentityServiceConfig.php
▶ Open 📄 View Source
🐘 IntraNodeVisibilityConfig.php
▶ Open 📄 View Source
🐘 Jwk.php
▶ Open 📄 View Source
🐘 K8sBetaAPIConfig.php
▶ Open 📄 View Source
🐘 KubernetesDashboard.php
▶ Open 📄 View Source
🐘 LegacyAbac.php
▶ Open 📄 View Source
🐘 LinuxNodeConfig.php
▶ Open 📄 View Source
🐘 ListClustersResponse.php
▶ Open 📄 View Source
🐘 ListNodePoolsResponse.php
▶ Open 📄 View Source
🐘 ListOperationsResponse.php
▶ Open 📄 View Source
🐘 ListUsableSubnetworksResponse.php
▶ Open 📄 View Source
🐘 LocalNvmeSsdBlockConfig.php
▶ Open 📄 View Source
🐘 LoggingComponentConfig.php
▶ Open 📄 View Source
🐘 LoggingConfig.php
▶ Open 📄 View Source
🐘 LoggingVariantConfig.php
▶ Open 📄 View Source
🐘 LustreCsiDriverConfig.php
▶ Open 📄 View Source
🐘 MaintenanceExclusionOptions.php
▶ Open 📄 View Source
🐘 MaintenancePolicy.php
▶ Open 📄 View Source
🐘 MaintenanceWindow.php
▶ Open 📄 View Source
🐘 ManagedMachineLearningDiagnosticsConfig.php
▶ Open 📄 View Source
🐘 ManagedOpenTelemetryConfig.php
▶ Open 📄 View Source
🐘 ManagedPrometheusConfig.php
▶ Open 📄 View Source
🐘 MasterAuth.php
▶ Open 📄 View Source
🐘 MasterAuthorizedNetworksConfig.php
▶ Open 📄 View Source
🐘 MaxPodsConstraint.php
▶ Open 📄 View Source
🐘 MemoryManager.php
▶ Open 📄 View Source
🐘 MeshCertificates.php
▶ Open 📄 View Source
🐘 Metric.php
▶ Open 📄 View Source
🐘 MonitoringComponentConfig.php
▶ Open 📄 View Source
🐘 MonitoringConfig.php
▶ Open 📄 View Source
🐘 NetworkConfig.php
▶ Open 📄 View Source
🐘 NetworkPerformanceConfig.php
▶ Open 📄 View Source
🐘 NetworkPolicy.php
▶ Open 📄 View Source
🐘 NetworkPolicyConfig.php
▶ Open 📄 View Source
🐘 NetworkTags.php
▶ Open 📄 View Source
🐘 NetworkTierConfig.php
▶ Open 📄 View Source
🐘 NodeAffinity.php
▶ Open 📄 View Source
🐘 NodeConfig.php
▶ Open 📄 View Source
🐘 NodeConfigDefaults.php
▶ Open 📄 View Source
🐘 NodeDrainConfig.php
▶ Open 📄 View Source
🐘 NodeKernelModuleLoading.php
▶ Open 📄 View Source
🐘 NodeKubeletConfig.php
▶ Open 📄 View Source
🐘 NodeLabels.php
▶ Open 📄 View Source
🐘 NodeManagement.php
▶ Open 📄 View Source
🐘 NodeNetworkConfig.php
▶ Open 📄 View Source
🐘 NodePool.php
▶ Open 📄 View Source
🐘 NodePoolAutoConfig.php
▶ Open 📄 View Source
🐘 NodePoolAutoscaling.php
▶ Open 📄 View Source
🐘 NodePoolDefaults.php
▶ Open 📄 View Source
🐘 NodePoolLoggingConfig.php
▶ Open 📄 View Source
🐘 NodePoolUpgradeInfo.php
▶ Open 📄 View Source
🐘 NodeTaint.php
▶ Open 📄 View Source
🐘 NodeTaints.php
▶ Open 📄 View Source
🐘 NotificationConfig.php
▶ Open 📄 View Source
🐘 Operation.php
▶ Open 📄 View Source
🐘 OperationError.php
▶ Open 📄 View Source
🐘 OperationProgress.php
▶ Open 📄 View Source
🐘 ParallelstoreCsiDriverConfig.php
▶ Open 📄 View Source
🐘 ParentProductConfig.php
▶ Open 📄 View Source
🐘 PdbBlockedPod.php
▶ Open 📄 View Source
🐘 PlacementPolicy.php
▶ Open 📄 View Source
🐘 PodAutoscaling.php
▶ Open 📄 View Source
🐘 PodCIDROverprovisionConfig.php
▶ Open 📄 View Source
🐘 PodSnapshotConfig.php
▶ Open 📄 View Source
🐘 PrivateClusterConfig.php
▶ Open 📄 View Source
🐘 PrivateClusterMasterGlobalAccessConfig.php
▶ Open 📄 View Source
🐘 PrivateRegistryAccessConfig.php
▶ Open 📄 View Source
🐘 PrivilegedAdmissionConfig.php
▶ Open 📄 View Source
🐘 PubSub.php
▶ Open 📄 View Source
🐘 QueuedProvisioning.php
▶ Open 📄 View Source
🐘 RBACBindingConfig.php
▶ Open 📄 View Source
🐘 RangeInfo.php
▶ Open 📄 View Source
🐘 RayClusterLoggingConfig.php
▶ Open 📄 View Source
🐘 RayClusterMonitoringConfig.php
▶ Open 📄 View Source
🐘 RayOperatorConfig.php
▶ Open 📄 View Source
🐘 RecurringTimeWindow.php
▶ Open 📄 View Source
🐘 RegistryHeader.php
▶ Open 📄 View Source
🐘 RegistryHostConfig.php
▶ Open 📄 View Source
🐘 ReleaseChannel.php
▶ Open 📄 View Source
🐘 ReleaseChannelConfig.php
▶ Open 📄 View Source
🐘 ReservationAffinity.php
▶ Open 📄 View Source
🐘 ResourceLabels.php
▶ Open 📄 View Source
🐘 ResourceLimit.php
▶ Open 📄 View Source
🐘 ResourceManagerTags.php
▶ Open 📄 View Source
🐘 ResourceUsageExportConfig.php
▶ Open 📄 View Source
🐘 RollbackNodePoolUpgradeRequest.php
▶ Open 📄 View Source
🐘 RotationConfig.php
▶ Open 📄 View Source
🐘 SandboxConfig.php
▶ Open 📄 View Source
🐘 ScheduleUpgradeConfig.php
▶ Open 📄 View Source
🐘 SecondaryBootDisk.php
▶ Open 📄 View Source
🐘 SecondaryBootDiskUpdateStrategy.php
▶ Open 📄 View Source
🐘 SecretManagerConfig.php
▶ Open 📄 View Source
🐘 SecretSyncConfig.php
▶ Open 📄 View Source
🐘 SecurityBulletinEvent.php
▶ Open 📄 View Source
🐘 SecurityPostureConfig.php
▶ Open 📄 View Source
🐘 ServerConfig.php
▶ Open 📄 View Source
🐘 ServiceExternalIPsConfig.php
▶ Open 📄 View Source
🐘 SetAddonsConfigRequest.php
▶ Open 📄 View Source
🐘 SetLabelsRequest.php
▶ Open 📄 View Source
🐘 SetLegacyAbacRequest.php
▶ Open 📄 View Source
🐘 SetLocationsRequest.php
▶ Open 📄 View Source
🐘 SetLoggingServiceRequest.php
▶ Open 📄 View Source
🐘 SetMaintenancePolicyRequest.php
▶ Open 📄 View Source
🐘 SetMasterAuthRequest.php
▶ Open 📄 View Source
🐘 SetMonitoringServiceRequest.php
▶ Open 📄 View Source
🐘 SetNetworkPolicyRequest.php
▶ Open 📄 View Source
🐘 SetNodePoolAutoscalingRequest.php
▶ Open 📄 View Source
🐘 SetNodePoolManagementRequest.php
▶ Open 📄 View Source
🐘 SetNodePoolSizeRequest.php
▶ Open 📄 View Source
🐘 ShieldedInstanceConfig.php
▶ Open 📄 View Source
🐘 ShieldedNodes.php
▶ Open 📄 View Source
🐘 SliceControllerConfig.php
▶ Open 📄 View Source
🐘 SlurmOperatorConfig.php
▶ Open 📄 View Source
🐘 SoleTenantConfig.php
▶ Open 📄 View Source
🐘 StandardRolloutPolicy.php
▶ Open 📄 View Source
🐘 StartIPRotationRequest.php
▶ Open 📄 View Source
🐘 StatefulHAConfig.php
▶ Open 📄 View Source
🐘 Status.php
▶ Open 📄 View Source
🐘 StatusCondition.php
▶ Open 📄 View Source
🐘 SwapConfig.php
▶ Open 📄 View Source
🐘 SyncRotationConfig.php
▶ Open 📄 View Source
🐘 TaintConfig.php
▶ Open 📄 View Source
🐘 TimeWindow.php
▶ Open 📄 View Source
🐘 TopologyManager.php
▶ Open 📄 View Source
🐘 UpdateClusterRequest.php
▶ Open 📄 View Source
🐘 UpdateInfo.php
▶ Open 📄 View Source
🐘 UpdateMasterRequest.php
▶ Open 📄 View Source
🐘 UpdateNodePoolRequest.php
▶ Open 📄 View Source
🐘 UpgradeAvailableEvent.php
▶ Open 📄 View Source
🐘 UpgradeDetails.php
▶ Open 📄 View Source
🐘 UpgradeEvent.php
▶ Open 📄 View Source
🐘 UpgradeInfoEvent.php
▶ Open 📄 View Source
🐘 UpgradeSettings.php
▶ Open 📄 View Source
🐘 UsableSubnetwork.php
▶ Open 📄 View Source
🐘 UsableSubnetworkSecondaryRange.php
▶ Open 📄 View Source
🐘 UserManagedKeysConfig.php
▶ Open 📄 View Source
🐘 VerticalPodAutoscaling.php
▶ Open 📄 View Source
🐘 VirtualNIC.php
▶ Open 📄 View Source
🐘 WindowsNodeConfig.php
▶ Open 📄 View Source
🐘 WorkloadIdentityConfig.php
▶ Open 📄 View Source
🐘 WorkloadMetadataConfig.php
▶ Open 📄 View Source
🐘 WorkloadPolicyConfig.php
▶ Open 📄 View Source
🐘 WritableCgroups.php
▶ Open 📄 View Source

📄 Source: LinuxNodeConfig.php

<?php
/*
 * Copyright 2014 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */

namespace Google\Service\Container;

class LinuxNodeConfig extends \Google\Model
{
  /**
   * CGROUP_MODE_UNSPECIFIED is when unspecified cgroup configuration is used.
   * The default for the GKE node OS image will be used.
   */
  public const CGROUP_MODE_CGROUP_MODE_UNSPECIFIED = 'CGROUP_MODE_UNSPECIFIED';
  /**
   * CGROUP_MODE_V1 specifies to use cgroupv1 for the cgroup configuration on
   * the node image.
   */
  public const CGROUP_MODE_CGROUP_MODE_V1 = 'CGROUP_MODE_V1';
  /**
   * CGROUP_MODE_V2 specifies to use cgroupv2 for the cgroup configuration on
   * the node image.
   */
  public const CGROUP_MODE_CGROUP_MODE_V2 = 'CGROUP_MODE_V2';
  /**
   * Default value. GKE will not modify the kernel configuration.
   */
  public const TRANSPARENT_HUGEPAGE_DEFRAG_TRANSPARENT_HUGEPAGE_DEFRAG_UNSPECIFIED = 'TRANSPARENT_HUGEPAGE_DEFRAG_UNSPECIFIED';
  /**
   * It means that an application requesting THP will stall on allocation
   * failure and directly reclaim pages and compact memory in an effort to
   * allocate a THP immediately.
   */
  public const TRANSPARENT_HUGEPAGE_DEFRAG_TRANSPARENT_HUGEPAGE_DEFRAG_ALWAYS = 'TRANSPARENT_HUGEPAGE_DEFRAG_ALWAYS';
  /**
   * It means that an application will wake kswapd in the background to reclaim
   * pages and wake kcompactd to compact memory so that THP is available in the
   * near future. It's the responsibility of khugepaged to then install the THP
   * pages later.
   */
  public const TRANSPARENT_HUGEPAGE_DEFRAG_TRANSPARENT_HUGEPAGE_DEFRAG_DEFER = 'TRANSPARENT_HUGEPAGE_DEFRAG_DEFER';
  /**
   * It means that an application will enter direct reclaim and compaction like
   * always, but only for regions that have used madvise(MADV_HUGEPAGE); all
   * other regions will wake kswapd in the background to reclaim pages and wake
   * kcompactd to compact memory so that THP is available in the near future.
   */
  public const TRANSPARENT_HUGEPAGE_DEFRAG_TRANSPARENT_HUGEPAGE_DEFRAG_DEFER_WITH_MADVISE = 'TRANSPARENT_HUGEPAGE_DEFRAG_DEFER_WITH_MADVISE';
  /**
   * It means that an application will enter direct reclaim like always but only
   * for regions that are have used madvise(MADV_HUGEPAGE). This is the default
   * kernel configuration.
   */
  public const TRANSPARENT_HUGEPAGE_DEFRAG_TRANSPARENT_HUGEPAGE_DEFRAG_MADVISE = 'TRANSPARENT_HUGEPAGE_DEFRAG_MADVISE';
  /**
   * It means that an application will never enter direct reclaim or compaction.
   */
  public const TRANSPARENT_HUGEPAGE_DEFRAG_TRANSPARENT_HUGEPAGE_DEFRAG_NEVER = 'TRANSPARENT_HUGEPAGE_DEFRAG_NEVER';
  /**
   * Default value. GKE will not modify the kernel configuration.
   */
  public const TRANSPARENT_HUGEPAGE_ENABLED_TRANSPARENT_HUGEPAGE_ENABLED_UNSPECIFIED = 'TRANSPARENT_HUGEPAGE_ENABLED_UNSPECIFIED';
  /**
   * Transparent hugepage support for anonymous memory is enabled system wide.
   */
  public const TRANSPARENT_HUGEPAGE_ENABLED_TRANSPARENT_HUGEPAGE_ENABLED_ALWAYS = 'TRANSPARENT_HUGEPAGE_ENABLED_ALWAYS';
  /**
   * Transparent hugepage support for anonymous memory is enabled inside
   * MADV_HUGEPAGE regions. This is the default kernel configuration.
   */
  public const TRANSPARENT_HUGEPAGE_ENABLED_TRANSPARENT_HUGEPAGE_ENABLED_MADVISE = 'TRANSPARENT_HUGEPAGE_ENABLED_MADVISE';
  /**
   * Transparent hugepage support for anonymous memory is disabled.
   */
  public const TRANSPARENT_HUGEPAGE_ENABLED_TRANSPARENT_HUGEPAGE_ENABLED_NEVER = 'TRANSPARENT_HUGEPAGE_ENABLED_NEVER';
  protected $accurateTimeConfigType = AccurateTimeConfig::class;
  protected $accurateTimeConfigDataType = '';
  /**
   * cgroup_mode specifies the cgroup mode to be used on the node.
   *
   * @var string
   */
  public $cgroupMode;
  protected $hugepagesType = HugepagesConfig::class;
  protected $hugepagesDataType = '';
  protected $nodeKernelModuleLoadingType = NodeKernelModuleLoading::class;
  protected $nodeKernelModuleLoadingDataType = '';
  protected $swapConfigType = SwapConfig::class;
  protected $swapConfigDataType = '';
  /**
   * The Linux kernel parameters to be applied to the nodes and all pods running
   * on the nodes. The following parameters are supported. net.core.busy_poll
   * net.core.busy_read net.core.netdev_max_backlog net.core.rmem_max
   * net.core.rmem_default net.core.wmem_default net.core.wmem_max
   * net.core.optmem_max net.core.somaxconn net.ipv4.tcp_rmem net.ipv4.tcp_wmem
   * net.ipv4.tcp_tw_reuse net.ipv4.tcp_mtu_probing net.ipv4.tcp_max_orphans
   * net.ipv4.tcp_max_tw_buckets net.ipv4.tcp_syn_retries net.ipv4.tcp_ecn
   * net.ipv4.tcp_congestion_control net.netfilter.nf_conntrack_max
   * net.netfilter.nf_conntrack_buckets
   * net.netfilter.nf_conntrack_tcp_timeout_close_wait
   * net.netfilter.nf_conntrack_tcp_timeout_time_wait
   * net.netfilter.nf_conntrack_tcp_timeout_established
   * net.netfilter.nf_conntrack_acct kernel.shmmni kernel.shmmax kernel.shmall
   * kernel.perf_event_paranoid kernel.sched_rt_runtime_us
   * kernel.softlockup_panic kernel.yama.ptrace_scope kernel.kptr_restrict
   * kernel.dmesg_restrict kernel.sysrq fs.aio-max-nr fs.file-max
   * fs.inotify.max_user_instances fs.inotify.max_user_watches fs.nr_open
   * vm.dirty_background_ratio vm.dirty_background_bytes
   * vm.dirty_expire_centisecs vm.dirty_ratio vm.dirty_bytes
   * vm.dirty_writeback_centisecs vm.max_map_count vm.overcommit_memory
   * vm.overcommit_ratio vm.vfs_cache_pressure vm.swappiness
   * vm.watermark_scale_factor vm.min_free_kbytes
   *
   * @var string[]
   */
  public $sysctls;
  /**
   * Optional. Defines the transparent hugepage defrag configuration on the
   * node. VM hugepage allocation can be managed by either limiting
   * defragmentation for delayed allocation or skipping it entirely for
   * immediate allocation only. See https://docs.kernel.org/admin-
   * guide/mm/transhuge.html for more details.
   *
   * @var string
   */
  public $transparentHugepageDefrag;
  /**
   * Optional. Transparent hugepage support for anonymous memory can be entirely
   * disabled (mostly for debugging purposes) or only enabled inside
   * MADV_HUGEPAGE regions (to avoid the risk of consuming more memory
   * resources) or enabled system wide. See https://docs.kernel.org/admin-
   * guide/mm/transhuge.html for more details.
   *
   * @var string
   */
  public $transparentHugepageEnabled;

  /**
   * Optional. The accurate time configuration for the node pool.
   *
   * @param AccurateTimeConfig $accurateTimeConfig
   */
  public function setAccurateTimeConfig(AccurateTimeConfig $accurateTimeConfig)
  {
    $this->accurateTimeConfig = $accurateTimeConfig;
  }
  /**
   * @return AccurateTimeConfig
   */
  public function getAccurateTimeConfig()
  {
    return $this->accurateTimeConfig;
  }
  /**
   * cgroup_mode specifies the cgroup mode to be used on the node.
   *
   * Accepted values: CGROUP_MODE_UNSPECIFIED, CGROUP_MODE_V1, CGROUP_MODE_V2
   *
   * @param self::CGROUP_MODE_* $cgroupMode
   */
  public function setCgroupMode($cgroupMode)
  {
    $this->cgroupMode = $cgroupMode;
  }
  /**
   * @return self::CGROUP_MODE_*
   */
  public function getCgroupMode()
  {
    return $this->cgroupMode;
  }
  /**
   * Optional. Amounts for 2M and 1G hugepages
   *
   * @param HugepagesConfig $hugepages
   */
  public function setHugepages(HugepagesConfig $hugepages)
  {
    $this->hugepages = $hugepages;
  }
  /**
   * @return HugepagesConfig
   */
  public function getHugepages()
  {
    return $this->hugepages;
  }
  /**
   * Optional. Configuration for kernel module loading on nodes. When enabled,
   * the node pool will be provisioned with a Container-Optimized OS image that
   * enforces kernel module signature verification.
   *
   * @param NodeKernelModuleLoading $nodeKernelModuleLoading
   */
  public function setNodeKernelModuleLoading(NodeKernelModuleLoading $nodeKernelModuleLoading)
  {
    $this->nodeKernelModuleLoading = $nodeKernelModuleLoading;
  }
  /**
   * @return NodeKernelModuleLoading
   */
  public function getNodeKernelModuleLoading()
  {
    return $this->nodeKernelModuleLoading;
  }
  /**
   * Optional. Enables and configures swap space on nodes. If omitted, swap is
   * disabled.
   *
   * @param SwapConfig $swapConfig
   */
  public function setSwapConfig(SwapConfig $swapConfig)
  {
    $this->swapConfig = $swapConfig;
  }
  /**
   * @return SwapConfig
   */
  public function getSwapConfig()
  {
    return $this->swapConfig;
  }
  /**
   * The Linux kernel parameters to be applied to the nodes and all pods running
   * on the nodes. The following parameters are supported. net.core.busy_poll
   * net.core.busy_read net.core.netdev_max_backlog net.core.rmem_max
   * net.core.rmem_default net.core.wmem_default net.core.wmem_max
   * net.core.optmem_max net.core.somaxconn net.ipv4.tcp_rmem net.ipv4.tcp_wmem
   * net.ipv4.tcp_tw_reuse net.ipv4.tcp_mtu_probing net.ipv4.tcp_max_orphans
   * net.ipv4.tcp_max_tw_buckets net.ipv4.tcp_syn_retries net.ipv4.tcp_ecn
   * net.ipv4.tcp_congestion_control net.netfilter.nf_conntrack_max
   * net.netfilter.nf_conntrack_buckets
   * net.netfilter.nf_conntrack_tcp_timeout_close_wait
   * net.netfilter.nf_conntrack_tcp_timeout_time_wait
   * net.netfilter.nf_conntrack_tcp_timeout_established
   * net.netfilter.nf_conntrack_acct kernel.shmmni kernel.shmmax kernel.shmall
   * kernel.perf_event_paranoid kernel.sched_rt_runtime_us
   * kernel.softlockup_panic kernel.yama.ptrace_scope kernel.kptr_restrict
   * kernel.dmesg_restrict kernel.sysrq fs.aio-max-nr fs.file-max
   * fs.inotify.max_user_instances fs.inotify.max_user_watches fs.nr_open
   * vm.dirty_background_ratio vm.dirty_background_bytes
   * vm.dirty_expire_centisecs vm.dirty_ratio vm.dirty_bytes
   * vm.dirty_writeback_centisecs vm.max_map_count vm.overcommit_memory
   * vm.overcommit_ratio vm.vfs_cache_pressure vm.swappiness
   * vm.watermark_scale_factor vm.min_free_kbytes
   *
   * @param string[] $sysctls
   */
  public function setSysctls($sysctls)
  {
    $this->sysctls = $sysctls;
  }
  /**
   * @return string[]
   */
  public function getSysctls()
  {
    return $this->sysctls;
  }
  /**
   * Optional. Defines the transparent hugepage defrag configuration on the
   * node. VM hugepage allocation can be managed by either limiting
   * defragmentation for delayed allocation or skipping it entirely for
   * immediate allocation only. See https://docs.kernel.org/admin-
   * guide/mm/transhuge.html for more details.
   *
   * Accepted values: TRANSPARENT_HUGEPAGE_DEFRAG_UNSPECIFIED,
   * TRANSPARENT_HUGEPAGE_DEFRAG_ALWAYS, TRANSPARENT_HUGEPAGE_DEFRAG_DEFER,
   * TRANSPARENT_HUGEPAGE_DEFRAG_DEFER_WITH_MADVISE,
   * TRANSPARENT_HUGEPAGE_DEFRAG_MADVISE, TRANSPARENT_HUGEPAGE_DEFRAG_NEVER
   *
   * @param self::TRANSPARENT_HUGEPAGE_DEFRAG_* $transparentHugepageDefrag
   */
  public function setTransparentHugepageDefrag($transparentHugepageDefrag)
  {
    $this->transparentHugepageDefrag = $transparentHugepageDefrag;
  }
  /**
   * @return self::TRANSPARENT_HUGEPAGE_DEFRAG_*
   */
  public function getTransparentHugepageDefrag()
  {
    return $this->transparentHugepageDefrag;
  }
  /**
   * Optional. Transparent hugepage support for anonymous memory can be entirely
   * disabled (mostly for debugging purposes) or only enabled inside
   * MADV_HUGEPAGE regions (to avoid the risk of consuming more memory
   * resources) or enabled system wide. See https://docs.kernel.org/admin-
   * guide/mm/transhuge.html for more details.
   *
   * Accepted values: TRANSPARENT_HUGEPAGE_ENABLED_UNSPECIFIED,
   * TRANSPARENT_HUGEPAGE_ENABLED_ALWAYS, TRANSPARENT_HUGEPAGE_ENABLED_MADVISE,
   * TRANSPARENT_HUGEPAGE_ENABLED_NEVER
   *
   * @param self::TRANSPARENT_HUGEPAGE_ENABLED_* $transparentHugepageEnabled
   */
  public function setTransparentHugepageEnabled($transparentHugepageEnabled)
  {
    $this->transparentHugepageEnabled = $transparentHugepageEnabled;
  }
  /**
   * @return self::TRANSPARENT_HUGEPAGE_ENABLED_*
   */
  public function getTransparentHugepageEnabled()
  {
    return $this->transparentHugepageEnabled;
  }
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(LinuxNodeConfig::class, 'Google_Service_Container_LinuxNodeConfig');
← Back