1. Packages
  2. Harness Provider
  3. API Docs
  4. cluster
  5. getOrchestratorConfig
Harness v0.7.4 published on Saturday, May 17, 2025 by Pulumi

harness.cluster.getOrchestratorConfig

Explore with Pulumi AI

harness logo
Harness v0.7.4 published on Saturday, May 17, 2025 by Pulumi

    Resource for ClusterOrchestrator Config.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as harness from "@pulumi/harness";
    
    const example = harness.cluster.getOrchestratorConfig({
        orchestratorId: "identifier",
    });
    
    import pulumi
    import pulumi_harness as harness
    
    example = harness.cluster.get_orchestrator_config(orchestrator_id="identifier")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-harness/sdk/go/harness/cluster"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := cluster.LookupOrchestratorConfig(ctx, &cluster.LookupOrchestratorConfigArgs{
    			OrchestratorId: "identifier",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Harness = Pulumi.Harness;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Harness.Cluster.GetOrchestratorConfig.Invoke(new()
        {
            OrchestratorId = "identifier",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.harness.cluster.ClusterFunctions;
    import com.pulumi.harness.cluster.inputs.GetOrchestratorConfigArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var example = ClusterFunctions.getOrchestratorConfig(GetOrchestratorConfigArgs.builder()
                .orchestratorId("identifier")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: harness:cluster:getOrchestratorConfig
          arguments:
            orchestratorId: identifier
    

    Using getOrchestratorConfig

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getOrchestratorConfig(args: GetOrchestratorConfigArgs, opts?: InvokeOptions): Promise<GetOrchestratorConfigResult>
    function getOrchestratorConfigOutput(args: GetOrchestratorConfigOutputArgs, opts?: InvokeOptions): Output<GetOrchestratorConfigResult>
    def get_orchestrator_config(binpacking: Optional[GetOrchestratorConfigBinpacking] = None,
                                distribution: Optional[GetOrchestratorConfigDistribution] = None,
                                node_preferences: Optional[GetOrchestratorConfigNodePreferences] = None,
                                orchestrator_id: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetOrchestratorConfigResult
    def get_orchestrator_config_output(binpacking: Optional[pulumi.Input[GetOrchestratorConfigBinpackingArgs]] = None,
                                distribution: Optional[pulumi.Input[GetOrchestratorConfigDistributionArgs]] = None,
                                node_preferences: Optional[pulumi.Input[GetOrchestratorConfigNodePreferencesArgs]] = None,
                                orchestrator_id: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetOrchestratorConfigResult]
    func LookupOrchestratorConfig(ctx *Context, args *LookupOrchestratorConfigArgs, opts ...InvokeOption) (*LookupOrchestratorConfigResult, error)
    func LookupOrchestratorConfigOutput(ctx *Context, args *LookupOrchestratorConfigOutputArgs, opts ...InvokeOption) LookupOrchestratorConfigResultOutput

    > Note: This function is named LookupOrchestratorConfig in the Go SDK.

    public static class GetOrchestratorConfig 
    {
        public static Task<GetOrchestratorConfigResult> InvokeAsync(GetOrchestratorConfigArgs args, InvokeOptions? opts = null)
        public static Output<GetOrchestratorConfigResult> Invoke(GetOrchestratorConfigInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetOrchestratorConfigResult> getOrchestratorConfig(GetOrchestratorConfigArgs args, InvokeOptions options)
    public static Output<GetOrchestratorConfigResult> getOrchestratorConfig(GetOrchestratorConfigArgs args, InvokeOptions options)
    
    fn::invoke:
      function: harness:cluster/getOrchestratorConfig:getOrchestratorConfig
      arguments:
        # arguments dictionary

    The following arguments are supported:

    OrchestratorId string
    ID of the Cluster Orchestrator Object
    Binpacking GetOrchestratorConfigBinpacking
    Binpacking preferences for Cluster Orchestrator
    Distribution GetOrchestratorConfigDistribution
    Spot and Ondemand Distribution Preferences for workload replicas
    NodePreferences GetOrchestratorConfigNodePreferences
    Node preferences for Cluster Orchestrator
    OrchestratorId string
    ID of the Cluster Orchestrator Object
    Binpacking GetOrchestratorConfigBinpacking
    Binpacking preferences for Cluster Orchestrator
    Distribution GetOrchestratorConfigDistribution
    Spot and Ondemand Distribution Preferences for workload replicas
    NodePreferences GetOrchestratorConfigNodePreferences
    Node preferences for Cluster Orchestrator
    orchestratorId String
    ID of the Cluster Orchestrator Object
    binpacking GetOrchestratorConfigBinpacking
    Binpacking preferences for Cluster Orchestrator
    distribution GetOrchestratorConfigDistribution
    Spot and Ondemand Distribution Preferences for workload replicas
    nodePreferences GetOrchestratorConfigNodePreferences
    Node preferences for Cluster Orchestrator
    orchestratorId string
    ID of the Cluster Orchestrator Object
    binpacking GetOrchestratorConfigBinpacking
    Binpacking preferences for Cluster Orchestrator
    distribution GetOrchestratorConfigDistribution
    Spot and Ondemand Distribution Preferences for workload replicas
    nodePreferences GetOrchestratorConfigNodePreferences
    Node preferences for Cluster Orchestrator
    orchestrator_id str
    ID of the Cluster Orchestrator Object
    binpacking GetOrchestratorConfigBinpacking
    Binpacking preferences for Cluster Orchestrator
    distribution GetOrchestratorConfigDistribution
    Spot and Ondemand Distribution Preferences for workload replicas
    node_preferences GetOrchestratorConfigNodePreferences
    Node preferences for Cluster Orchestrator
    orchestratorId String
    ID of the Cluster Orchestrator Object
    binpacking Property Map
    Binpacking preferences for Cluster Orchestrator
    distribution Property Map
    Spot and Ondemand Distribution Preferences for workload replicas
    nodePreferences Property Map
    Node preferences for Cluster Orchestrator

    getOrchestratorConfig Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    OrchestratorId string
    ID of the Cluster Orchestrator Object
    Binpacking GetOrchestratorConfigBinpacking
    Binpacking preferences for Cluster Orchestrator
    Distribution GetOrchestratorConfigDistribution
    Spot and Ondemand Distribution Preferences for workload replicas
    NodePreferences GetOrchestratorConfigNodePreferences
    Node preferences for Cluster Orchestrator
    Id string
    The provider-assigned unique ID for this managed resource.
    OrchestratorId string
    ID of the Cluster Orchestrator Object
    Binpacking GetOrchestratorConfigBinpacking
    Binpacking preferences for Cluster Orchestrator
    Distribution GetOrchestratorConfigDistribution
    Spot and Ondemand Distribution Preferences for workload replicas
    NodePreferences GetOrchestratorConfigNodePreferences
    Node preferences for Cluster Orchestrator
    id String
    The provider-assigned unique ID for this managed resource.
    orchestratorId String
    ID of the Cluster Orchestrator Object
    binpacking GetOrchestratorConfigBinpacking
    Binpacking preferences for Cluster Orchestrator
    distribution GetOrchestratorConfigDistribution
    Spot and Ondemand Distribution Preferences for workload replicas
    nodePreferences GetOrchestratorConfigNodePreferences
    Node preferences for Cluster Orchestrator
    id string
    The provider-assigned unique ID for this managed resource.
    orchestratorId string
    ID of the Cluster Orchestrator Object
    binpacking GetOrchestratorConfigBinpacking
    Binpacking preferences for Cluster Orchestrator
    distribution GetOrchestratorConfigDistribution
    Spot and Ondemand Distribution Preferences for workload replicas
    nodePreferences GetOrchestratorConfigNodePreferences
    Node preferences for Cluster Orchestrator
    id str
    The provider-assigned unique ID for this managed resource.
    orchestrator_id str
    ID of the Cluster Orchestrator Object
    binpacking GetOrchestratorConfigBinpacking
    Binpacking preferences for Cluster Orchestrator
    distribution GetOrchestratorConfigDistribution
    Spot and Ondemand Distribution Preferences for workload replicas
    node_preferences GetOrchestratorConfigNodePreferences
    Node preferences for Cluster Orchestrator
    id String
    The provider-assigned unique ID for this managed resource.
    orchestratorId String
    ID of the Cluster Orchestrator Object
    binpacking Property Map
    Binpacking preferences for Cluster Orchestrator
    distribution Property Map
    Spot and Ondemand Distribution Preferences for workload replicas
    nodePreferences Property Map
    Node preferences for Cluster Orchestrator

    Supporting Types

    GetOrchestratorConfigBinpacking

    disruption Property Map
    Harness disruption configuration
    podEviction Property Map
    Harness Pod Evictor Configuration

    GetOrchestratorConfigBinpackingDisruption

    Budgets List<GetOrchestratorConfigBinpackingDisruptionBudget>
    Budgets for disruption
    Criteria string
    Criteria for considering a nodes for disruption
    Delay string
    Deletion delay
    Budgets []GetOrchestratorConfigBinpackingDisruptionBudget
    Budgets for disruption
    Criteria string
    Criteria for considering a nodes for disruption
    Delay string
    Deletion delay
    budgets List<GetOrchestratorConfigBinpackingDisruptionBudget>
    Budgets for disruption
    criteria String
    Criteria for considering a nodes for disruption
    delay String
    Deletion delay
    budgets GetOrchestratorConfigBinpackingDisruptionBudget[]
    Budgets for disruption
    criteria string
    Criteria for considering a nodes for disruption
    delay string
    Deletion delay
    budgets Sequence[GetOrchestratorConfigBinpackingDisruptionBudget]
    Budgets for disruption
    criteria str
    Criteria for considering a nodes for disruption
    delay str
    Deletion delay
    budgets List<Property Map>
    Budgets for disruption
    criteria String
    Criteria for considering a nodes for disruption
    delay String
    Deletion delay

    GetOrchestratorConfigBinpackingDisruptionBudget

    Nodes string
    Number or percentage of Nodes to consider for disruption
    Reasons List<string>
    Reasons for disruption
    Schedule GetOrchestratorConfigBinpackingDisruptionBudgetSchedule
    Schedule for disruption budget
    Nodes string
    Number or percentage of Nodes to consider for disruption
    Reasons []string
    Reasons for disruption
    Schedule GetOrchestratorConfigBinpackingDisruptionBudgetSchedule
    Schedule for disruption budget
    nodes String
    Number or percentage of Nodes to consider for disruption
    reasons List<String>
    Reasons for disruption
    schedule GetOrchestratorConfigBinpackingDisruptionBudgetSchedule
    Schedule for disruption budget
    nodes string
    Number or percentage of Nodes to consider for disruption
    reasons string[]
    Reasons for disruption
    schedule GetOrchestratorConfigBinpackingDisruptionBudgetSchedule
    Schedule for disruption budget
    nodes str
    Number or percentage of Nodes to consider for disruption
    reasons Sequence[str]
    Reasons for disruption
    schedule GetOrchestratorConfigBinpackingDisruptionBudgetSchedule
    Schedule for disruption budget
    nodes String
    Number or percentage of Nodes to consider for disruption
    reasons List<String>
    Reasons for disruption
    schedule Property Map
    Schedule for disruption budget

    GetOrchestratorConfigBinpackingDisruptionBudgetSchedule

    Duration string
    Duration for disruption budget
    Frequency string
    Frequency for disruption budget
    Duration string
    Duration for disruption budget
    Frequency string
    Frequency for disruption budget
    duration String
    Duration for disruption budget
    frequency String
    Frequency for disruption budget
    duration string
    Duration for disruption budget
    frequency string
    Frequency for disruption budget
    duration str
    Duration for disruption budget
    frequency str
    Frequency for disruption budget
    duration String
    Duration for disruption budget
    frequency String
    Frequency for disruption budget

    GetOrchestratorConfigBinpackingPodEviction

    Threshold GetOrchestratorConfigBinpackingPodEvictionThreshold
    Minimum Threshold for considering a node as underutilized
    Threshold GetOrchestratorConfigBinpackingPodEvictionThreshold
    Minimum Threshold for considering a node as underutilized
    threshold GetOrchestratorConfigBinpackingPodEvictionThreshold
    Minimum Threshold for considering a node as underutilized
    threshold GetOrchestratorConfigBinpackingPodEvictionThreshold
    Minimum Threshold for considering a node as underutilized
    threshold GetOrchestratorConfigBinpackingPodEvictionThreshold
    Minimum Threshold for considering a node as underutilized
    threshold Property Map
    Minimum Threshold for considering a node as underutilized

    GetOrchestratorConfigBinpackingPodEvictionThreshold

    Cpu double
    CPU percentage for considering a node as underutilized
    Memory double
    Memory percentage for considering a node as underutilized
    Cpu float64
    CPU percentage for considering a node as underutilized
    Memory float64
    Memory percentage for considering a node as underutilized
    cpu Double
    CPU percentage for considering a node as underutilized
    memory Double
    Memory percentage for considering a node as underutilized
    cpu number
    CPU percentage for considering a node as underutilized
    memory number
    Memory percentage for considering a node as underutilized
    cpu float
    CPU percentage for considering a node as underutilized
    memory float
    Memory percentage for considering a node as underutilized
    cpu Number
    CPU percentage for considering a node as underutilized
    memory Number
    Memory percentage for considering a node as underutilized

    GetOrchestratorConfigDistribution

    OndemandReplicaPercentage double
    Percentage of on-demand replicas required for workloads
    BaseOndemandCapacity int
    Number of minimum ondemand replicas required for workloads
    Selector string
    Selector for choosing workloads for distribution
    Strategy string
    Strategy for choosing spot nodes for cluster
    OndemandReplicaPercentage float64
    Percentage of on-demand replicas required for workloads
    BaseOndemandCapacity int
    Number of minimum ondemand replicas required for workloads
    Selector string
    Selector for choosing workloads for distribution
    Strategy string
    Strategy for choosing spot nodes for cluster
    ondemandReplicaPercentage Double
    Percentage of on-demand replicas required for workloads
    baseOndemandCapacity Integer
    Number of minimum ondemand replicas required for workloads
    selector String
    Selector for choosing workloads for distribution
    strategy String
    Strategy for choosing spot nodes for cluster
    ondemandReplicaPercentage number
    Percentage of on-demand replicas required for workloads
    baseOndemandCapacity number
    Number of minimum ondemand replicas required for workloads
    selector string
    Selector for choosing workloads for distribution
    strategy string
    Strategy for choosing spot nodes for cluster
    ondemand_replica_percentage float
    Percentage of on-demand replicas required for workloads
    base_ondemand_capacity int
    Number of minimum ondemand replicas required for workloads
    selector str
    Selector for choosing workloads for distribution
    strategy str
    Strategy for choosing spot nodes for cluster
    ondemandReplicaPercentage Number
    Percentage of on-demand replicas required for workloads
    baseOndemandCapacity Number
    Number of minimum ondemand replicas required for workloads
    selector String
    Selector for choosing workloads for distribution
    strategy String
    Strategy for choosing spot nodes for cluster

    GetOrchestratorConfigNodePreferences

    ReverseFallbackInterval string
    Reverse fallback interval
    Ttl string
    TTL for nodes
    ReverseFallbackInterval string
    Reverse fallback interval
    Ttl string
    TTL for nodes
    reverseFallbackInterval String
    Reverse fallback interval
    ttl String
    TTL for nodes
    reverseFallbackInterval string
    Reverse fallback interval
    ttl string
    TTL for nodes
    reverse_fallback_interval str
    Reverse fallback interval
    ttl str
    TTL for nodes
    reverseFallbackInterval String
    Reverse fallback interval
    ttl String
    TTL for nodes

    Package Details

    Repository
    harness pulumi/pulumi-harness
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the harness Terraform Provider.
    harness logo
    Harness v0.7.4 published on Saturday, May 17, 2025 by Pulumi