Harness v0.7.4 published on Saturday, May 17, 2025 by Pulumi
harness.cluster.getOrchestratorConfig
Explore with Pulumi AI
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:
- Orchestrator
Id string - ID of the Cluster Orchestrator Object
- Binpacking
Get
Orchestrator Config Binpacking - Binpacking preferences for Cluster Orchestrator
- Distribution
Get
Orchestrator Config Distribution - Spot and Ondemand Distribution Preferences for workload replicas
- Node
Preferences GetOrchestrator Config Node Preferences - Node preferences for Cluster Orchestrator
- Orchestrator
Id string - ID of the Cluster Orchestrator Object
- Binpacking
Get
Orchestrator Config Binpacking - Binpacking preferences for Cluster Orchestrator
- Distribution
Get
Orchestrator Config Distribution - Spot and Ondemand Distribution Preferences for workload replicas
- Node
Preferences GetOrchestrator Config Node Preferences - Node preferences for Cluster Orchestrator
- orchestrator
Id String - ID of the Cluster Orchestrator Object
- binpacking
Get
Orchestrator Config Binpacking - Binpacking preferences for Cluster Orchestrator
- distribution
Get
Orchestrator Config Distribution - Spot and Ondemand Distribution Preferences for workload replicas
- node
Preferences GetOrchestrator Config Node Preferences - Node preferences for Cluster Orchestrator
- orchestrator
Id string - ID of the Cluster Orchestrator Object
- binpacking
Get
Orchestrator Config Binpacking - Binpacking preferences for Cluster Orchestrator
- distribution
Get
Orchestrator Config Distribution - Spot and Ondemand Distribution Preferences for workload replicas
- node
Preferences GetOrchestrator Config Node Preferences - Node preferences for Cluster Orchestrator
- orchestrator_
id str - ID of the Cluster Orchestrator Object
- binpacking
Get
Orchestrator Config Binpacking - Binpacking preferences for Cluster Orchestrator
- distribution
Get
Orchestrator Config Distribution - Spot and Ondemand Distribution Preferences for workload replicas
- node_
preferences GetOrchestrator Config Node Preferences - Node preferences for Cluster Orchestrator
- orchestrator
Id 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
- node
Preferences 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.
- Orchestrator
Id string - ID of the Cluster Orchestrator Object
- Binpacking
Get
Orchestrator Config Binpacking - Binpacking preferences for Cluster Orchestrator
- Distribution
Get
Orchestrator Config Distribution - Spot and Ondemand Distribution Preferences for workload replicas
- Node
Preferences GetOrchestrator Config Node Preferences - Node preferences for Cluster Orchestrator
- Id string
- The provider-assigned unique ID for this managed resource.
- Orchestrator
Id string - ID of the Cluster Orchestrator Object
- Binpacking
Get
Orchestrator Config Binpacking - Binpacking preferences for Cluster Orchestrator
- Distribution
Get
Orchestrator Config Distribution - Spot and Ondemand Distribution Preferences for workload replicas
- Node
Preferences GetOrchestrator Config Node Preferences - Node preferences for Cluster Orchestrator
- id String
- The provider-assigned unique ID for this managed resource.
- orchestrator
Id String - ID of the Cluster Orchestrator Object
- binpacking
Get
Orchestrator Config Binpacking - Binpacking preferences for Cluster Orchestrator
- distribution
Get
Orchestrator Config Distribution - Spot and Ondemand Distribution Preferences for workload replicas
- node
Preferences GetOrchestrator Config Node Preferences - Node preferences for Cluster Orchestrator
- id string
- The provider-assigned unique ID for this managed resource.
- orchestrator
Id string - ID of the Cluster Orchestrator Object
- binpacking
Get
Orchestrator Config Binpacking - Binpacking preferences for Cluster Orchestrator
- distribution
Get
Orchestrator Config Distribution - Spot and Ondemand Distribution Preferences for workload replicas
- node
Preferences GetOrchestrator Config Node Preferences - 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
Get
Orchestrator Config Binpacking - Binpacking preferences for Cluster Orchestrator
- distribution
Get
Orchestrator Config Distribution - Spot and Ondemand Distribution Preferences for workload replicas
- node_
preferences GetOrchestrator Config Node Preferences - Node preferences for Cluster Orchestrator
- id String
- The provider-assigned unique ID for this managed resource.
- orchestrator
Id 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
- node
Preferences Property Map - Node preferences for Cluster Orchestrator
Supporting Types
GetOrchestratorConfigBinpacking
- Disruption
Get
Orchestrator Config Binpacking Disruption - Harness disruption configuration
- Pod
Eviction GetOrchestrator Config Binpacking Pod Eviction - Harness Pod Evictor Configuration
- Disruption
Get
Orchestrator Config Binpacking Disruption - Harness disruption configuration
- Pod
Eviction GetOrchestrator Config Binpacking Pod Eviction - Harness Pod Evictor Configuration
- disruption
Get
Orchestrator Config Binpacking Disruption - Harness disruption configuration
- pod
Eviction GetOrchestrator Config Binpacking Pod Eviction - Harness Pod Evictor Configuration
- disruption
Get
Orchestrator Config Binpacking Disruption - Harness disruption configuration
- pod
Eviction GetOrchestrator Config Binpacking Pod Eviction - Harness Pod Evictor Configuration
- disruption
Get
Orchestrator Config Binpacking Disruption - Harness disruption configuration
- pod_
eviction GetOrchestrator Config Binpacking Pod Eviction - Harness Pod Evictor Configuration
- disruption Property Map
- Harness disruption configuration
- pod
Eviction Property Map - Harness Pod Evictor Configuration
GetOrchestratorConfigBinpackingDisruption
- Budgets
List<Get
Orchestrator Config Binpacking Disruption Budget> - Budgets for disruption
- Criteria string
- Criteria for considering a nodes for disruption
- Delay string
- Deletion delay
- Budgets
[]Get
Orchestrator Config Binpacking Disruption Budget - Budgets for disruption
- Criteria string
- Criteria for considering a nodes for disruption
- Delay string
- Deletion delay
- budgets
List<Get
Orchestrator Config Binpacking Disruption Budget> - Budgets for disruption
- criteria String
- Criteria for considering a nodes for disruption
- delay String
- Deletion delay
- budgets
Get
Orchestrator Config Binpacking Disruption Budget[] - Budgets for disruption
- criteria string
- Criteria for considering a nodes for disruption
- delay string
- Deletion delay
- budgets
Sequence[Get
Orchestrator Config Binpacking Disruption Budget] - 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
Get
Orchestrator Config Binpacking Disruption Budget Schedule - Schedule for disruption budget
- Nodes string
- Number or percentage of Nodes to consider for disruption
- Reasons []string
- Reasons for disruption
- Schedule
Get
Orchestrator Config Binpacking Disruption Budget Schedule - Schedule for disruption budget
- nodes String
- Number or percentage of Nodes to consider for disruption
- reasons List<String>
- Reasons for disruption
- schedule
Get
Orchestrator Config Binpacking Disruption Budget Schedule - Schedule for disruption budget
- nodes string
- Number or percentage of Nodes to consider for disruption
- reasons string[]
- Reasons for disruption
- schedule
Get
Orchestrator Config Binpacking Disruption Budget Schedule - Schedule for disruption budget
- nodes str
- Number or percentage of Nodes to consider for disruption
- reasons Sequence[str]
- Reasons for disruption
- schedule
Get
Orchestrator Config Binpacking Disruption Budget Schedule - 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
GetOrchestratorConfigBinpackingPodEviction
- Threshold
Get
Orchestrator Config Binpacking Pod Eviction Threshold - Minimum Threshold for considering a node as underutilized
- Threshold
Get
Orchestrator Config Binpacking Pod Eviction Threshold - Minimum Threshold for considering a node as underutilized
- threshold
Get
Orchestrator Config Binpacking Pod Eviction Threshold - Minimum Threshold for considering a node as underutilized
- threshold
Get
Orchestrator Config Binpacking Pod Eviction Threshold - Minimum Threshold for considering a node as underutilized
- threshold
Get
Orchestrator Config Binpacking Pod Eviction Threshold - Minimum Threshold for considering a node as underutilized
- threshold Property Map
- Minimum Threshold for considering a node as underutilized
GetOrchestratorConfigBinpackingPodEvictionThreshold
GetOrchestratorConfigDistribution
- Ondemand
Replica doublePercentage - Percentage of on-demand replicas required for workloads
- Base
Ondemand intCapacity - 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 float64Percentage - Percentage of on-demand replicas required for workloads
- Base
Ondemand intCapacity - 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 DoublePercentage - Percentage of on-demand replicas required for workloads
- base
Ondemand IntegerCapacity - 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 numberPercentage - Percentage of on-demand replicas required for workloads
- base
Ondemand numberCapacity - 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_ floatpercentage - Percentage of on-demand replicas required for workloads
- base_
ondemand_ intcapacity - 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
- ondemand
Replica NumberPercentage - Percentage of on-demand replicas required for workloads
- base
Ondemand NumberCapacity - 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
- Reverse
Fallback stringInterval - Reverse fallback interval
- Ttl string
- TTL for nodes
- Reverse
Fallback stringInterval - Reverse fallback interval
- Ttl string
- TTL for nodes
- reverse
Fallback StringInterval - Reverse fallback interval
- ttl String
- TTL for nodes
- reverse
Fallback stringInterval - Reverse fallback interval
- ttl string
- TTL for nodes
- reverse_
fallback_ strinterval - Reverse fallback interval
- ttl str
- TTL for nodes
- reverse
Fallback StringInterval - 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.