Kubernetes Settings (Advanced Settings)
The Advanced Settings section provides deep control over your cluster and control plane configurations. These settings can significantly affect performance, scalability, and security. We have organized the options into three groups for clarity:
- Common Cluster Settings
- Cloud-Specific Settings
For each field, you will find contextual insights to help you decide when and why you might adjust it.
1. Common Cluster Settings
These settings impact your cluster regardless of your chosen cloud provider. They control node provisioning, management, and scalability.
Node Configuration & Lifecycle
1. Node Plan : Selects the type of compute instances used in your cluster. You can choose a cost-saving option with interruptible instances or a more stable option that offers continuous availability.
- Cost-Saving Option: Best for flexible, non-critical, or batch-processing workloads where interruptions are acceptable.
- Stable Option: Ideal for production environments or applications requiring consistent availability.
Default: The system uses the cost-saving option by default.
2. Fallback to On-Demand Nodes : Automatically switches to a more stable instance type if the cost-saving option is temporarily unavailable.
Use this setting if you have selected the cost-saving option but want a backup to maintain availability during potential interruptions.
Tip: Useful in mixed workload environments where uptime is critical without manual intervention.
3. Maximum Nodes : Sets an upper limit on the number of nodes in your cluster. This helps manage resource allocation and control costs.
- Adjust this value based on your expected workload—higher limits support scaling but may increase costs.
Default: 200 nodes.
4. Root Disk Volume: Specifies the primary storage allocated to each node.
- Increase the disk volume if your applications require more local storage for caching, logs, or temporary data.
- Use the minimum required for lightweight workloads to control costs.
Default: 100 GB (Range: 30–500 GB)
Management & Automation
1. Advanced Node Management: Enables features for managing node lifecycle events, such as rolling updates and specialized maintenance routines.
- Enable this if you need granular control over node behavior and are comfortable with more complex configurations.
Default: Off
2. Node Auto-Provisioning : Automatically scales node pools in response to real-time demand by adjusting CPU and memory allocations as needed.
- Particularly useful for dynamic workloads with fluctuating resource needs.
- Note: This feature is available only on GCP.
Default: Off
3. Default Node Pool: Activates the default node pool—a set of nodes managed automatically by the system—to simplify node management.
- Recommended for most users. Disable only if you plan to use custom node pools exclusively.
Default: On
4. Multi-AZ Default Node Pool : Distributes your default node pool across multiple availability zones, thereby improving fault tolerance.
- Enable this setting if your environment requires high availability and you want to reduce the risk associated with a single zone failure.
Visibility: Appears only if the default node pool is enabled.
Default: Off
2. Cloud-Specific Settings
These options are tailored to the capabilities and best practices of each cloud provider. Choose the settings that are relevant to your provider.
AWS
1. CIDR Whitelist: Defines the IP ranges allowed to access your cluster on AWS.
- Adjust this to restrict or broaden network access. For production environments, using a more restrictive range is recommended for enhanced security. (Default: Open to all (0.0.0.0/0))
2. Dedicated Node Pool Instance Type (AWS): Determines the instance type for dedicated node pools on AWS.
- Select an instance type that matches the performance characteristics your workload requires—whether you need compute-optimized, memory-optimized, or balanced performance. (Default: A balanced instance type is used by default.)
GCP
1. Private Nodes : Controls whether your GKE nodes are assigned private IP addresses (enhancing security) or public IP addresses.
- For production environments where security is paramount, enabling private nodes reduces exposure to the public internet. (Default: Enabled)
2. Legacy Node Management: Provides support for older node management practices.
- Use this setting if transitioning from an older system or if legacy integrations require it. (Default: Off)
3. Dedicated Node Pool Instance Type (GCP) : Chooses the instance type for dedicated node pools on GCP.
- Similar to AWS, select an instance type that best meets your performance and cost requirements. (Default: A standard balanced instance type is used by default.)
4. Workload Logging: Enables the collection of application logs to Google Cloud Logging.
- Enable this if you need detailed insights into application performance and troubleshooting information for your GCP applications. (Default: Off)
Azure
1. Disk Type : Lets you choose between disk types for your default node pool on Azure—options vary between high-durability managed disks and faster, transient ephemeral disks.
- Managed: Ideal for most production workloads requiring durability.
- Ephemeral: Suitable for transient workloads that demand higher performance with lower persistence.
Default: Managed.
2. Dedicated Node Pool Instance Type (Azure) : Specifies the instance type for dedicated node pools on Azure.
- Select an instance type that fits your performance needs and budget constraints.
Default: A recommended standard instance type is used by default.
Dedicated Node Pool (Applies to All Clouds)
1. Dedicated Node Pool: Activates the dedicated node pool feature to isolate high-priority or resource-intensive workloads from the general pool of nodes.
- Use this when you need to ensure that certain workloads receive dedicated resources for improved performance or security. Default: Enabled.
2. Secure Boot for Dedicated Node Pool: Ensures that nodes only run trusted software, offering enhanced security.
- Consider enabling secure boot if your security policies require enhanced protection against low-level threats.
Default: Off
3. Secure Boot for Default Node Pool: Provides the same trusted-boot functionality for the default node pool.
- Enable secure boot if your environment has stringent security requirements, particularly in regulated industries. Default: Off
Tips for Using Advanced Settings
- Understand Your Workload: Adjust settings based on whether your applications are production-critical, experimental, or resource-intensive.
- Test in a Staging Environment: Before applying significant changes, validate the impact in a non-production environment.
- Monitor Performance and Costs: Be aware that features such as auto-provisioning and high parallel release counts may increase resource usage or costs.
- Leverage Cloud-Specific Features: Customize settings for your cloud provider to maximize performance and security benefits.
Updated about 2 months ago