gcp.gkeonprem.BareMetalAdminCluster
Explore with Pulumi AI
A Google Bare Metal Admin Cluster.
Example Usage
Gkeonprem Bare Metal Admin Cluster Basic
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const admin_cluster_basic = new gcp.gkeonprem.BareMetalAdminCluster("admin-cluster-basic", {
name: "my-cluster",
location: "us-west1",
bareMetalVersion: "1.13.4",
networkConfig: {
islandModeCidr: {
serviceAddressCidrBlocks: ["172.26.0.0/16"],
podAddressCidrBlocks: ["10.240.0.0/13"],
},
},
nodeConfig: {
maxPodsPerNode: 250,
},
controlPlane: {
controlPlaneNodePoolConfig: {
nodePoolConfig: {
labels: {},
operatingSystem: "LINUX",
nodeConfigs: [
{
labels: {},
nodeIp: "10.200.0.2",
},
{
labels: {},
nodeIp: "10.200.0.3",
},
{
labels: {},
nodeIp: "10.200.0.4",
},
],
},
},
},
loadBalancer: {
portConfig: {
controlPlaneLoadBalancerPort: 443,
},
vipConfig: {
controlPlaneVip: "10.200.0.5",
},
},
storage: {
lvpShareConfig: {
lvpConfig: {
path: "/mnt/localpv-share",
storageClass: "local-shared",
},
sharedPathPvCount: 5,
},
lvpNodeMountsConfig: {
path: "/mnt/localpv-disk",
storageClass: "local-disks",
},
},
nodeAccessConfig: {
loginUser: "root",
},
});
import pulumi
import pulumi_gcp as gcp
admin_cluster_basic = gcp.gkeonprem.BareMetalAdminCluster("admin-cluster-basic",
name="my-cluster",
location="us-west1",
bare_metal_version="1.13.4",
network_config=gcp.gkeonprem.BareMetalAdminClusterNetworkConfigArgs(
island_mode_cidr=gcp.gkeonprem.BareMetalAdminClusterNetworkConfigIslandModeCidrArgs(
service_address_cidr_blocks=["172.26.0.0/16"],
pod_address_cidr_blocks=["10.240.0.0/13"],
),
),
node_config=gcp.gkeonprem.BareMetalAdminClusterNodeConfigArgs(
max_pods_per_node=250,
),
control_plane=gcp.gkeonprem.BareMetalAdminClusterControlPlaneArgs(
control_plane_node_pool_config=gcp.gkeonprem.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigArgs(
node_pool_config=gcp.gkeonprem.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigArgs(
labels={},
operating_system="LINUX",
node_configs=[
gcp.gkeonprem.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArgs(
labels={},
node_ip="10.200.0.2",
),
gcp.gkeonprem.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArgs(
labels={},
node_ip="10.200.0.3",
),
gcp.gkeonprem.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArgs(
labels={},
node_ip="10.200.0.4",
),
],
),
),
),
load_balancer=gcp.gkeonprem.BareMetalAdminClusterLoadBalancerArgs(
port_config=gcp.gkeonprem.BareMetalAdminClusterLoadBalancerPortConfigArgs(
control_plane_load_balancer_port=443,
),
vip_config=gcp.gkeonprem.BareMetalAdminClusterLoadBalancerVipConfigArgs(
control_plane_vip="10.200.0.5",
),
),
storage=gcp.gkeonprem.BareMetalAdminClusterStorageArgs(
lvp_share_config=gcp.gkeonprem.BareMetalAdminClusterStorageLvpShareConfigArgs(
lvp_config=gcp.gkeonprem.BareMetalAdminClusterStorageLvpShareConfigLvpConfigArgs(
path="/mnt/localpv-share",
storage_class="local-shared",
),
shared_path_pv_count=5,
),
lvp_node_mounts_config=gcp.gkeonprem.BareMetalAdminClusterStorageLvpNodeMountsConfigArgs(
path="/mnt/localpv-disk",
storage_class="local-disks",
),
),
node_access_config=gcp.gkeonprem.BareMetalAdminClusterNodeAccessConfigArgs(
login_user="root",
))
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/gkeonprem"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := gkeonprem.NewBareMetalAdminCluster(ctx, "admin-cluster-basic", &gkeonprem.BareMetalAdminClusterArgs{
Name: pulumi.String("my-cluster"),
Location: pulumi.String("us-west1"),
BareMetalVersion: pulumi.String("1.13.4"),
NetworkConfig: &gkeonprem.BareMetalAdminClusterNetworkConfigArgs{
IslandModeCidr: &gkeonprem.BareMetalAdminClusterNetworkConfigIslandModeCidrArgs{
ServiceAddressCidrBlocks: pulumi.StringArray{
pulumi.String("172.26.0.0/16"),
},
PodAddressCidrBlocks: pulumi.StringArray{
pulumi.String("10.240.0.0/13"),
},
},
},
NodeConfig: &gkeonprem.BareMetalAdminClusterNodeConfigArgs{
MaxPodsPerNode: pulumi.Int(250),
},
ControlPlane: &gkeonprem.BareMetalAdminClusterControlPlaneArgs{
ControlPlaneNodePoolConfig: &gkeonprem.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigArgs{
NodePoolConfig: &gkeonprem.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigArgs{
Labels: nil,
OperatingSystem: pulumi.String("LINUX"),
NodeConfigs: gkeonprem.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArray{
&gkeonprem.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArgs{
Labels: nil,
NodeIp: pulumi.String("10.200.0.2"),
},
&gkeonprem.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArgs{
Labels: nil,
NodeIp: pulumi.String("10.200.0.3"),
},
&gkeonprem.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArgs{
Labels: nil,
NodeIp: pulumi.String("10.200.0.4"),
},
},
},
},
},
LoadBalancer: &gkeonprem.BareMetalAdminClusterLoadBalancerArgs{
PortConfig: &gkeonprem.BareMetalAdminClusterLoadBalancerPortConfigArgs{
ControlPlaneLoadBalancerPort: pulumi.Int(443),
},
VipConfig: &gkeonprem.BareMetalAdminClusterLoadBalancerVipConfigArgs{
ControlPlaneVip: pulumi.String("10.200.0.5"),
},
},
Storage: &gkeonprem.BareMetalAdminClusterStorageArgs{
LvpShareConfig: &gkeonprem.BareMetalAdminClusterStorageLvpShareConfigArgs{
LvpConfig: &gkeonprem.BareMetalAdminClusterStorageLvpShareConfigLvpConfigArgs{
Path: pulumi.String("/mnt/localpv-share"),
StorageClass: pulumi.String("local-shared"),
},
SharedPathPvCount: pulumi.Int(5),
},
LvpNodeMountsConfig: &gkeonprem.BareMetalAdminClusterStorageLvpNodeMountsConfigArgs{
Path: pulumi.String("/mnt/localpv-disk"),
StorageClass: pulumi.String("local-disks"),
},
},
NodeAccessConfig: &gkeonprem.BareMetalAdminClusterNodeAccessConfigArgs{
LoginUser: pulumi.String("root"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var admin_cluster_basic = new Gcp.GkeOnPrem.BareMetalAdminCluster("admin-cluster-basic", new()
{
Name = "my-cluster",
Location = "us-west1",
BareMetalVersion = "1.13.4",
NetworkConfig = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterNetworkConfigArgs
{
IslandModeCidr = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterNetworkConfigIslandModeCidrArgs
{
ServiceAddressCidrBlocks = new[]
{
"172.26.0.0/16",
},
PodAddressCidrBlocks = new[]
{
"10.240.0.0/13",
},
},
},
NodeConfig = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterNodeConfigArgs
{
MaxPodsPerNode = 250,
},
ControlPlane = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterControlPlaneArgs
{
ControlPlaneNodePoolConfig = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigArgs
{
NodePoolConfig = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigArgs
{
Labels = null,
OperatingSystem = "LINUX",
NodeConfigs = new[]
{
new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArgs
{
Labels = null,
NodeIp = "10.200.0.2",
},
new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArgs
{
Labels = null,
NodeIp = "10.200.0.3",
},
new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArgs
{
Labels = null,
NodeIp = "10.200.0.4",
},
},
},
},
},
LoadBalancer = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterLoadBalancerArgs
{
PortConfig = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterLoadBalancerPortConfigArgs
{
ControlPlaneLoadBalancerPort = 443,
},
VipConfig = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterLoadBalancerVipConfigArgs
{
ControlPlaneVip = "10.200.0.5",
},
},
Storage = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterStorageArgs
{
LvpShareConfig = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterStorageLvpShareConfigArgs
{
LvpConfig = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterStorageLvpShareConfigLvpConfigArgs
{
Path = "/mnt/localpv-share",
StorageClass = "local-shared",
},
SharedPathPvCount = 5,
},
LvpNodeMountsConfig = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterStorageLvpNodeMountsConfigArgs
{
Path = "/mnt/localpv-disk",
StorageClass = "local-disks",
},
},
NodeAccessConfig = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterNodeAccessConfigArgs
{
LoginUser = "root",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.gkeonprem.BareMetalAdminCluster;
import com.pulumi.gcp.gkeonprem.BareMetalAdminClusterArgs;
import com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterNetworkConfigArgs;
import com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterNetworkConfigIslandModeCidrArgs;
import com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterNodeConfigArgs;
import com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterControlPlaneArgs;
import com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigArgs;
import com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigArgs;
import com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterLoadBalancerArgs;
import com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterLoadBalancerPortConfigArgs;
import com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterLoadBalancerVipConfigArgs;
import com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterStorageArgs;
import com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterStorageLvpShareConfigArgs;
import com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterStorageLvpShareConfigLvpConfigArgs;
import com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterStorageLvpNodeMountsConfigArgs;
import com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterNodeAccessConfigArgs;
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) {
var admin_cluster_basic = new BareMetalAdminCluster("admin-cluster-basic", BareMetalAdminClusterArgs.builder()
.name("my-cluster")
.location("us-west1")
.bareMetalVersion("1.13.4")
.networkConfig(BareMetalAdminClusterNetworkConfigArgs.builder()
.islandModeCidr(BareMetalAdminClusterNetworkConfigIslandModeCidrArgs.builder()
.serviceAddressCidrBlocks("172.26.0.0/16")
.podAddressCidrBlocks("10.240.0.0/13")
.build())
.build())
.nodeConfig(BareMetalAdminClusterNodeConfigArgs.builder()
.maxPodsPerNode(250)
.build())
.controlPlane(BareMetalAdminClusterControlPlaneArgs.builder()
.controlPlaneNodePoolConfig(BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigArgs.builder()
.nodePoolConfig(BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigArgs.builder()
.labels()
.operatingSystem("LINUX")
.nodeConfigs(
BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArgs.builder()
.labels()
.nodeIp("10.200.0.2")
.build(),
BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArgs.builder()
.labels()
.nodeIp("10.200.0.3")
.build(),
BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArgs.builder()
.labels()
.nodeIp("10.200.0.4")
.build())
.build())
.build())
.build())
.loadBalancer(BareMetalAdminClusterLoadBalancerArgs.builder()
.portConfig(BareMetalAdminClusterLoadBalancerPortConfigArgs.builder()
.controlPlaneLoadBalancerPort(443)
.build())
.vipConfig(BareMetalAdminClusterLoadBalancerVipConfigArgs.builder()
.controlPlaneVip("10.200.0.5")
.build())
.build())
.storage(BareMetalAdminClusterStorageArgs.builder()
.lvpShareConfig(BareMetalAdminClusterStorageLvpShareConfigArgs.builder()
.lvpConfig(BareMetalAdminClusterStorageLvpShareConfigLvpConfigArgs.builder()
.path("/mnt/localpv-share")
.storageClass("local-shared")
.build())
.sharedPathPvCount(5)
.build())
.lvpNodeMountsConfig(BareMetalAdminClusterStorageLvpNodeMountsConfigArgs.builder()
.path("/mnt/localpv-disk")
.storageClass("local-disks")
.build())
.build())
.nodeAccessConfig(BareMetalAdminClusterNodeAccessConfigArgs.builder()
.loginUser("root")
.build())
.build());
}
}
resources:
admin-cluster-basic:
type: gcp:gkeonprem:BareMetalAdminCluster
properties:
name: my-cluster
location: us-west1
bareMetalVersion: 1.13.4
networkConfig:
islandModeCidr:
serviceAddressCidrBlocks:
- 172.26.0.0/16
podAddressCidrBlocks:
- 10.240.0.0/13
nodeConfig:
maxPodsPerNode: 250
controlPlane:
controlPlaneNodePoolConfig:
nodePoolConfig:
labels: {}
operatingSystem: LINUX
nodeConfigs:
- labels: {}
nodeIp: 10.200.0.2
- labels: {}
nodeIp: 10.200.0.3
- labels: {}
nodeIp: 10.200.0.4
loadBalancer:
portConfig:
controlPlaneLoadBalancerPort: 443
vipConfig:
controlPlaneVip: 10.200.0.5
storage:
lvpShareConfig:
lvpConfig:
path: /mnt/localpv-share
storageClass: local-shared
sharedPathPvCount: 5
lvpNodeMountsConfig:
path: /mnt/localpv-disk
storageClass: local-disks
nodeAccessConfig:
loginUser: root
Gkeonprem Bare Metal Admin Cluster Full
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const admin_cluster_basic = new gcp.gkeonprem.BareMetalAdminCluster("admin-cluster-basic", {
name: "my-cluster",
location: "us-west1",
description: "test description",
bareMetalVersion: "1.13.4",
annotations: {
env: "test",
},
networkConfig: {
islandModeCidr: {
serviceAddressCidrBlocks: ["172.26.0.0/16"],
podAddressCidrBlocks: ["10.240.0.0/13"],
},
},
nodeConfig: {
maxPodsPerNode: 250,
},
controlPlane: {
controlPlaneNodePoolConfig: {
nodePoolConfig: {
labels: {},
operatingSystem: "LINUX",
nodeConfigs: [
{
labels: {},
nodeIp: "10.200.0.2",
},
{
labels: {},
nodeIp: "10.200.0.3",
},
{
labels: {},
nodeIp: "10.200.0.4",
},
],
taints: [{
key: "test-key",
value: "test-value",
effect: "NO_EXECUTE",
}],
},
},
apiServerArgs: [{
argument: "test argument",
value: "test value",
}],
},
loadBalancer: {
portConfig: {
controlPlaneLoadBalancerPort: 443,
},
vipConfig: {
controlPlaneVip: "10.200.0.5",
},
manualLbConfig: {
enabled: true,
},
},
storage: {
lvpShareConfig: {
lvpConfig: {
path: "/mnt/localpv-share",
storageClass: "local-shared",
},
sharedPathPvCount: 5,
},
lvpNodeMountsConfig: {
path: "/mnt/localpv-disk",
storageClass: "local-disks",
},
},
nodeAccessConfig: {
loginUser: "root",
},
securityConfig: {
authorization: {
adminUsers: [{
username: "admin@hashicorptest.com",
}],
},
},
maintenanceConfig: {
maintenanceAddressCidrBlocks: [
"10.0.0.1/32",
"10.0.0.2/32",
],
},
clusterOperations: {
enableApplicationLogs: true,
},
proxy: {
uri: "test proxy uri",
noProxies: ["127.0.0.1"],
},
});
import pulumi
import pulumi_gcp as gcp
admin_cluster_basic = gcp.gkeonprem.BareMetalAdminCluster("admin-cluster-basic",
name="my-cluster",
location="us-west1",
description="test description",
bare_metal_version="1.13.4",
annotations={
"env": "test",
},
network_config=gcp.gkeonprem.BareMetalAdminClusterNetworkConfigArgs(
island_mode_cidr=gcp.gkeonprem.BareMetalAdminClusterNetworkConfigIslandModeCidrArgs(
service_address_cidr_blocks=["172.26.0.0/16"],
pod_address_cidr_blocks=["10.240.0.0/13"],
),
),
node_config=gcp.gkeonprem.BareMetalAdminClusterNodeConfigArgs(
max_pods_per_node=250,
),
control_plane=gcp.gkeonprem.BareMetalAdminClusterControlPlaneArgs(
control_plane_node_pool_config=gcp.gkeonprem.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigArgs(
node_pool_config=gcp.gkeonprem.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigArgs(
labels={},
operating_system="LINUX",
node_configs=[
gcp.gkeonprem.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArgs(
labels={},
node_ip="10.200.0.2",
),
gcp.gkeonprem.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArgs(
labels={},
node_ip="10.200.0.3",
),
gcp.gkeonprem.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArgs(
labels={},
node_ip="10.200.0.4",
),
],
taints=[gcp.gkeonprem.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigTaintArgs(
key="test-key",
value="test-value",
effect="NO_EXECUTE",
)],
),
),
api_server_args=[gcp.gkeonprem.BareMetalAdminClusterControlPlaneApiServerArgArgs(
argument="test argument",
value="test value",
)],
),
load_balancer=gcp.gkeonprem.BareMetalAdminClusterLoadBalancerArgs(
port_config=gcp.gkeonprem.BareMetalAdminClusterLoadBalancerPortConfigArgs(
control_plane_load_balancer_port=443,
),
vip_config=gcp.gkeonprem.BareMetalAdminClusterLoadBalancerVipConfigArgs(
control_plane_vip="10.200.0.5",
),
manual_lb_config=gcp.gkeonprem.BareMetalAdminClusterLoadBalancerManualLbConfigArgs(
enabled=True,
),
),
storage=gcp.gkeonprem.BareMetalAdminClusterStorageArgs(
lvp_share_config=gcp.gkeonprem.BareMetalAdminClusterStorageLvpShareConfigArgs(
lvp_config=gcp.gkeonprem.BareMetalAdminClusterStorageLvpShareConfigLvpConfigArgs(
path="/mnt/localpv-share",
storage_class="local-shared",
),
shared_path_pv_count=5,
),
lvp_node_mounts_config=gcp.gkeonprem.BareMetalAdminClusterStorageLvpNodeMountsConfigArgs(
path="/mnt/localpv-disk",
storage_class="local-disks",
),
),
node_access_config=gcp.gkeonprem.BareMetalAdminClusterNodeAccessConfigArgs(
login_user="root",
),
security_config=gcp.gkeonprem.BareMetalAdminClusterSecurityConfigArgs(
authorization=gcp.gkeonprem.BareMetalAdminClusterSecurityConfigAuthorizationArgs(
admin_users=[gcp.gkeonprem.BareMetalAdminClusterSecurityConfigAuthorizationAdminUserArgs(
username="admin@hashicorptest.com",
)],
),
),
maintenance_config=gcp.gkeonprem.BareMetalAdminClusterMaintenanceConfigArgs(
maintenance_address_cidr_blocks=[
"10.0.0.1/32",
"10.0.0.2/32",
],
),
cluster_operations=gcp.gkeonprem.BareMetalAdminClusterClusterOperationsArgs(
enable_application_logs=True,
),
proxy=gcp.gkeonprem.BareMetalAdminClusterProxyArgs(
uri="test proxy uri",
no_proxies=["127.0.0.1"],
))
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/gkeonprem"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := gkeonprem.NewBareMetalAdminCluster(ctx, "admin-cluster-basic", &gkeonprem.BareMetalAdminClusterArgs{
Name: pulumi.String("my-cluster"),
Location: pulumi.String("us-west1"),
Description: pulumi.String("test description"),
BareMetalVersion: pulumi.String("1.13.4"),
Annotations: pulumi.StringMap{
"env": pulumi.String("test"),
},
NetworkConfig: &gkeonprem.BareMetalAdminClusterNetworkConfigArgs{
IslandModeCidr: &gkeonprem.BareMetalAdminClusterNetworkConfigIslandModeCidrArgs{
ServiceAddressCidrBlocks: pulumi.StringArray{
pulumi.String("172.26.0.0/16"),
},
PodAddressCidrBlocks: pulumi.StringArray{
pulumi.String("10.240.0.0/13"),
},
},
},
NodeConfig: &gkeonprem.BareMetalAdminClusterNodeConfigArgs{
MaxPodsPerNode: pulumi.Int(250),
},
ControlPlane: &gkeonprem.BareMetalAdminClusterControlPlaneArgs{
ControlPlaneNodePoolConfig: &gkeonprem.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigArgs{
NodePoolConfig: &gkeonprem.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigArgs{
Labels: nil,
OperatingSystem: pulumi.String("LINUX"),
NodeConfigs: gkeonprem.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArray{
&gkeonprem.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArgs{
Labels: nil,
NodeIp: pulumi.String("10.200.0.2"),
},
&gkeonprem.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArgs{
Labels: nil,
NodeIp: pulumi.String("10.200.0.3"),
},
&gkeonprem.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArgs{
Labels: nil,
NodeIp: pulumi.String("10.200.0.4"),
},
},
Taints: gkeonprem.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigTaintArray{
&gkeonprem.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigTaintArgs{
Key: pulumi.String("test-key"),
Value: pulumi.String("test-value"),
Effect: pulumi.String("NO_EXECUTE"),
},
},
},
},
ApiServerArgs: gkeonprem.BareMetalAdminClusterControlPlaneApiServerArgArray{
&gkeonprem.BareMetalAdminClusterControlPlaneApiServerArgArgs{
Argument: pulumi.String("test argument"),
Value: pulumi.String("test value"),
},
},
},
LoadBalancer: &gkeonprem.BareMetalAdminClusterLoadBalancerArgs{
PortConfig: &gkeonprem.BareMetalAdminClusterLoadBalancerPortConfigArgs{
ControlPlaneLoadBalancerPort: pulumi.Int(443),
},
VipConfig: &gkeonprem.BareMetalAdminClusterLoadBalancerVipConfigArgs{
ControlPlaneVip: pulumi.String("10.200.0.5"),
},
ManualLbConfig: &gkeonprem.BareMetalAdminClusterLoadBalancerManualLbConfigArgs{
Enabled: pulumi.Bool(true),
},
},
Storage: &gkeonprem.BareMetalAdminClusterStorageArgs{
LvpShareConfig: &gkeonprem.BareMetalAdminClusterStorageLvpShareConfigArgs{
LvpConfig: &gkeonprem.BareMetalAdminClusterStorageLvpShareConfigLvpConfigArgs{
Path: pulumi.String("/mnt/localpv-share"),
StorageClass: pulumi.String("local-shared"),
},
SharedPathPvCount: pulumi.Int(5),
},
LvpNodeMountsConfig: &gkeonprem.BareMetalAdminClusterStorageLvpNodeMountsConfigArgs{
Path: pulumi.String("/mnt/localpv-disk"),
StorageClass: pulumi.String("local-disks"),
},
},
NodeAccessConfig: &gkeonprem.BareMetalAdminClusterNodeAccessConfigArgs{
LoginUser: pulumi.String("root"),
},
SecurityConfig: &gkeonprem.BareMetalAdminClusterSecurityConfigArgs{
Authorization: &gkeonprem.BareMetalAdminClusterSecurityConfigAuthorizationArgs{
AdminUsers: gkeonprem.BareMetalAdminClusterSecurityConfigAuthorizationAdminUserArray{
&gkeonprem.BareMetalAdminClusterSecurityConfigAuthorizationAdminUserArgs{
Username: pulumi.String("admin@hashicorptest.com"),
},
},
},
},
MaintenanceConfig: &gkeonprem.BareMetalAdminClusterMaintenanceConfigArgs{
MaintenanceAddressCidrBlocks: pulumi.StringArray{
pulumi.String("10.0.0.1/32"),
pulumi.String("10.0.0.2/32"),
},
},
ClusterOperations: &gkeonprem.BareMetalAdminClusterClusterOperationsArgs{
EnableApplicationLogs: pulumi.Bool(true),
},
Proxy: &gkeonprem.BareMetalAdminClusterProxyArgs{
Uri: pulumi.String("test proxy uri"),
NoProxies: pulumi.StringArray{
pulumi.String("127.0.0.1"),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var admin_cluster_basic = new Gcp.GkeOnPrem.BareMetalAdminCluster("admin-cluster-basic", new()
{
Name = "my-cluster",
Location = "us-west1",
Description = "test description",
BareMetalVersion = "1.13.4",
Annotations =
{
{ "env", "test" },
},
NetworkConfig = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterNetworkConfigArgs
{
IslandModeCidr = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterNetworkConfigIslandModeCidrArgs
{
ServiceAddressCidrBlocks = new[]
{
"172.26.0.0/16",
},
PodAddressCidrBlocks = new[]
{
"10.240.0.0/13",
},
},
},
NodeConfig = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterNodeConfigArgs
{
MaxPodsPerNode = 250,
},
ControlPlane = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterControlPlaneArgs
{
ControlPlaneNodePoolConfig = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigArgs
{
NodePoolConfig = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigArgs
{
Labels = null,
OperatingSystem = "LINUX",
NodeConfigs = new[]
{
new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArgs
{
Labels = null,
NodeIp = "10.200.0.2",
},
new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArgs
{
Labels = null,
NodeIp = "10.200.0.3",
},
new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArgs
{
Labels = null,
NodeIp = "10.200.0.4",
},
},
Taints = new[]
{
new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigTaintArgs
{
Key = "test-key",
Value = "test-value",
Effect = "NO_EXECUTE",
},
},
},
},
ApiServerArgs = new[]
{
new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterControlPlaneApiServerArgArgs
{
Argument = "test argument",
Value = "test value",
},
},
},
LoadBalancer = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterLoadBalancerArgs
{
PortConfig = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterLoadBalancerPortConfigArgs
{
ControlPlaneLoadBalancerPort = 443,
},
VipConfig = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterLoadBalancerVipConfigArgs
{
ControlPlaneVip = "10.200.0.5",
},
ManualLbConfig = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterLoadBalancerManualLbConfigArgs
{
Enabled = true,
},
},
Storage = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterStorageArgs
{
LvpShareConfig = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterStorageLvpShareConfigArgs
{
LvpConfig = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterStorageLvpShareConfigLvpConfigArgs
{
Path = "/mnt/localpv-share",
StorageClass = "local-shared",
},
SharedPathPvCount = 5,
},
LvpNodeMountsConfig = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterStorageLvpNodeMountsConfigArgs
{
Path = "/mnt/localpv-disk",
StorageClass = "local-disks",
},
},
NodeAccessConfig = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterNodeAccessConfigArgs
{
LoginUser = "root",
},
SecurityConfig = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterSecurityConfigArgs
{
Authorization = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterSecurityConfigAuthorizationArgs
{
AdminUsers = new[]
{
new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterSecurityConfigAuthorizationAdminUserArgs
{
Username = "admin@hashicorptest.com",
},
},
},
},
MaintenanceConfig = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterMaintenanceConfigArgs
{
MaintenanceAddressCidrBlocks = new[]
{
"10.0.0.1/32",
"10.0.0.2/32",
},
},
ClusterOperations = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterClusterOperationsArgs
{
EnableApplicationLogs = true,
},
Proxy = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterProxyArgs
{
Uri = "test proxy uri",
NoProxies = new[]
{
"127.0.0.1",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.gkeonprem.BareMetalAdminCluster;
import com.pulumi.gcp.gkeonprem.BareMetalAdminClusterArgs;
import com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterNetworkConfigArgs;
import com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterNetworkConfigIslandModeCidrArgs;
import com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterNodeConfigArgs;
import com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterControlPlaneArgs;
import com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigArgs;
import com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigArgs;
import com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterLoadBalancerArgs;
import com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterLoadBalancerPortConfigArgs;
import com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterLoadBalancerVipConfigArgs;
import com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterLoadBalancerManualLbConfigArgs;
import com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterStorageArgs;
import com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterStorageLvpShareConfigArgs;
import com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterStorageLvpShareConfigLvpConfigArgs;
import com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterStorageLvpNodeMountsConfigArgs;
import com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterNodeAccessConfigArgs;
import com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterSecurityConfigArgs;
import com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterSecurityConfigAuthorizationArgs;
import com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterMaintenanceConfigArgs;
import com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterClusterOperationsArgs;
import com.pulumi.gcp.gkeonprem.inputs.BareMetalAdminClusterProxyArgs;
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) {
var admin_cluster_basic = new BareMetalAdminCluster("admin-cluster-basic", BareMetalAdminClusterArgs.builder()
.name("my-cluster")
.location("us-west1")
.description("test description")
.bareMetalVersion("1.13.4")
.annotations(Map.of("env", "test"))
.networkConfig(BareMetalAdminClusterNetworkConfigArgs.builder()
.islandModeCidr(BareMetalAdminClusterNetworkConfigIslandModeCidrArgs.builder()
.serviceAddressCidrBlocks("172.26.0.0/16")
.podAddressCidrBlocks("10.240.0.0/13")
.build())
.build())
.nodeConfig(BareMetalAdminClusterNodeConfigArgs.builder()
.maxPodsPerNode(250)
.build())
.controlPlane(BareMetalAdminClusterControlPlaneArgs.builder()
.controlPlaneNodePoolConfig(BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigArgs.builder()
.nodePoolConfig(BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigArgs.builder()
.labels()
.operatingSystem("LINUX")
.nodeConfigs(
BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArgs.builder()
.labels()
.nodeIp("10.200.0.2")
.build(),
BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArgs.builder()
.labels()
.nodeIp("10.200.0.3")
.build(),
BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArgs.builder()
.labels()
.nodeIp("10.200.0.4")
.build())
.taints(BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigTaintArgs.builder()
.key("test-key")
.value("test-value")
.effect("NO_EXECUTE")
.build())
.build())
.build())
.apiServerArgs(BareMetalAdminClusterControlPlaneApiServerArgArgs.builder()
.argument("test argument")
.value("test value")
.build())
.build())
.loadBalancer(BareMetalAdminClusterLoadBalancerArgs.builder()
.portConfig(BareMetalAdminClusterLoadBalancerPortConfigArgs.builder()
.controlPlaneLoadBalancerPort(443)
.build())
.vipConfig(BareMetalAdminClusterLoadBalancerVipConfigArgs.builder()
.controlPlaneVip("10.200.0.5")
.build())
.manualLbConfig(BareMetalAdminClusterLoadBalancerManualLbConfigArgs.builder()
.enabled(true)
.build())
.build())
.storage(BareMetalAdminClusterStorageArgs.builder()
.lvpShareConfig(BareMetalAdminClusterStorageLvpShareConfigArgs.builder()
.lvpConfig(BareMetalAdminClusterStorageLvpShareConfigLvpConfigArgs.builder()
.path("/mnt/localpv-share")
.storageClass("local-shared")
.build())
.sharedPathPvCount(5)
.build())
.lvpNodeMountsConfig(BareMetalAdminClusterStorageLvpNodeMountsConfigArgs.builder()
.path("/mnt/localpv-disk")
.storageClass("local-disks")
.build())
.build())
.nodeAccessConfig(BareMetalAdminClusterNodeAccessConfigArgs.builder()
.loginUser("root")
.build())
.securityConfig(BareMetalAdminClusterSecurityConfigArgs.builder()
.authorization(BareMetalAdminClusterSecurityConfigAuthorizationArgs.builder()
.adminUsers(BareMetalAdminClusterSecurityConfigAuthorizationAdminUserArgs.builder()
.username("admin@hashicorptest.com")
.build())
.build())
.build())
.maintenanceConfig(BareMetalAdminClusterMaintenanceConfigArgs.builder()
.maintenanceAddressCidrBlocks(
"10.0.0.1/32",
"10.0.0.2/32")
.build())
.clusterOperations(BareMetalAdminClusterClusterOperationsArgs.builder()
.enableApplicationLogs(true)
.build())
.proxy(BareMetalAdminClusterProxyArgs.builder()
.uri("test proxy uri")
.noProxies("127.0.0.1")
.build())
.build());
}
}
resources:
admin-cluster-basic:
type: gcp:gkeonprem:BareMetalAdminCluster
properties:
name: my-cluster
location: us-west1
description: test description
bareMetalVersion: 1.13.4
annotations:
env: test
networkConfig:
islandModeCidr:
serviceAddressCidrBlocks:
- 172.26.0.0/16
podAddressCidrBlocks:
- 10.240.0.0/13
nodeConfig:
maxPodsPerNode: 250
controlPlane:
controlPlaneNodePoolConfig:
nodePoolConfig:
labels: {}
operatingSystem: LINUX
nodeConfigs:
- labels: {}
nodeIp: 10.200.0.2
- labels: {}
nodeIp: 10.200.0.3
- labels: {}
nodeIp: 10.200.0.4
taints:
- key: test-key
value: test-value
effect: NO_EXECUTE
apiServerArgs:
- argument: test argument
value: test value
loadBalancer:
portConfig:
controlPlaneLoadBalancerPort: 443
vipConfig:
controlPlaneVip: 10.200.0.5
manualLbConfig:
enabled: true
storage:
lvpShareConfig:
lvpConfig:
path: /mnt/localpv-share
storageClass: local-shared
sharedPathPvCount: 5
lvpNodeMountsConfig:
path: /mnt/localpv-disk
storageClass: local-disks
nodeAccessConfig:
loginUser: root
securityConfig:
authorization:
adminUsers:
- username: admin@hashicorptest.com
maintenanceConfig:
maintenanceAddressCidrBlocks:
- 10.0.0.1/32
- 10.0.0.2/32
clusterOperations:
enableApplicationLogs: true
proxy:
uri: test proxy uri
noProxies:
- 127.0.0.1
Create BareMetalAdminCluster Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new BareMetalAdminCluster(name: string, args: BareMetalAdminClusterArgs, opts?: CustomResourceOptions);
@overload
def BareMetalAdminCluster(resource_name: str,
args: BareMetalAdminClusterArgs,
opts: Optional[ResourceOptions] = None)
@overload
def BareMetalAdminCluster(resource_name: str,
opts: Optional[ResourceOptions] = None,
location: Optional[str] = None,
name: Optional[str] = None,
network_config: Optional[BareMetalAdminClusterNetworkConfigArgs] = None,
control_plane: Optional[BareMetalAdminClusterControlPlaneArgs] = None,
description: Optional[str] = None,
load_balancer: Optional[BareMetalAdminClusterLoadBalancerArgs] = None,
bare_metal_version: Optional[str] = None,
cluster_operations: Optional[BareMetalAdminClusterClusterOperationsArgs] = None,
annotations: Optional[Mapping[str, str]] = None,
maintenance_config: Optional[BareMetalAdminClusterMaintenanceConfigArgs] = None,
node_access_config: Optional[BareMetalAdminClusterNodeAccessConfigArgs] = None,
node_config: Optional[BareMetalAdminClusterNodeConfigArgs] = None,
project: Optional[str] = None,
proxy: Optional[BareMetalAdminClusterProxyArgs] = None,
security_config: Optional[BareMetalAdminClusterSecurityConfigArgs] = None,
storage: Optional[BareMetalAdminClusterStorageArgs] = None)
func NewBareMetalAdminCluster(ctx *Context, name string, args BareMetalAdminClusterArgs, opts ...ResourceOption) (*BareMetalAdminCluster, error)
public BareMetalAdminCluster(string name, BareMetalAdminClusterArgs args, CustomResourceOptions? opts = null)
public BareMetalAdminCluster(String name, BareMetalAdminClusterArgs args)
public BareMetalAdminCluster(String name, BareMetalAdminClusterArgs args, CustomResourceOptions options)
type: gcp:gkeonprem:BareMetalAdminCluster
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args BareMetalAdminClusterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args BareMetalAdminClusterArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args BareMetalAdminClusterArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args BareMetalAdminClusterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args BareMetalAdminClusterArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var bareMetalAdminClusterResource = new Gcp.GkeOnPrem.BareMetalAdminCluster("bareMetalAdminClusterResource", new()
{
Location = "string",
Name = "string",
NetworkConfig = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterNetworkConfigArgs
{
IslandModeCidr = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterNetworkConfigIslandModeCidrArgs
{
PodAddressCidrBlocks = new[]
{
"string",
},
ServiceAddressCidrBlocks = new[]
{
"string",
},
},
},
ControlPlane = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterControlPlaneArgs
{
ControlPlaneNodePoolConfig = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigArgs
{
NodePoolConfig = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigArgs
{
Labels =
{
{ "string", "string" },
},
NodeConfigs = new[]
{
new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArgs
{
Labels =
{
{ "string", "string" },
},
NodeIp = "string",
},
},
OperatingSystem = "string",
Taints = new[]
{
new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigTaintArgs
{
Effect = "string",
Key = "string",
Value = "string",
},
},
},
},
ApiServerArgs = new[]
{
new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterControlPlaneApiServerArgArgs
{
Argument = "string",
Value = "string",
},
},
},
Description = "string",
LoadBalancer = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterLoadBalancerArgs
{
PortConfig = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterLoadBalancerPortConfigArgs
{
ControlPlaneLoadBalancerPort = 0,
},
VipConfig = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterLoadBalancerVipConfigArgs
{
ControlPlaneVip = "string",
},
ManualLbConfig = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterLoadBalancerManualLbConfigArgs
{
Enabled = false,
},
},
BareMetalVersion = "string",
ClusterOperations = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterClusterOperationsArgs
{
EnableApplicationLogs = false,
},
Annotations =
{
{ "string", "string" },
},
MaintenanceConfig = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterMaintenanceConfigArgs
{
MaintenanceAddressCidrBlocks = new[]
{
"string",
},
},
NodeAccessConfig = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterNodeAccessConfigArgs
{
LoginUser = "string",
},
NodeConfig = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterNodeConfigArgs
{
MaxPodsPerNode = 0,
},
Project = "string",
Proxy = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterProxyArgs
{
Uri = "string",
NoProxies = new[]
{
"string",
},
},
SecurityConfig = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterSecurityConfigArgs
{
Authorization = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterSecurityConfigAuthorizationArgs
{
AdminUsers = new[]
{
new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterSecurityConfigAuthorizationAdminUserArgs
{
Username = "string",
},
},
},
},
Storage = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterStorageArgs
{
LvpNodeMountsConfig = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterStorageLvpNodeMountsConfigArgs
{
Path = "string",
StorageClass = "string",
},
LvpShareConfig = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterStorageLvpShareConfigArgs
{
LvpConfig = new Gcp.GkeOnPrem.Inputs.BareMetalAdminClusterStorageLvpShareConfigLvpConfigArgs
{
Path = "string",
StorageClass = "string",
},
SharedPathPvCount = 0,
},
},
});
example, err := gkeonprem.NewBareMetalAdminCluster(ctx, "bareMetalAdminClusterResource", &gkeonprem.BareMetalAdminClusterArgs{
Location: pulumi.String("string"),
Name: pulumi.String("string"),
NetworkConfig: &gkeonprem.BareMetalAdminClusterNetworkConfigArgs{
IslandModeCidr: &gkeonprem.BareMetalAdminClusterNetworkConfigIslandModeCidrArgs{
PodAddressCidrBlocks: pulumi.StringArray{
pulumi.String("string"),
},
ServiceAddressCidrBlocks: pulumi.StringArray{
pulumi.String("string"),
},
},
},
ControlPlane: &gkeonprem.BareMetalAdminClusterControlPlaneArgs{
ControlPlaneNodePoolConfig: &gkeonprem.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigArgs{
NodePoolConfig: &gkeonprem.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigArgs{
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
NodeConfigs: gkeonprem.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArray{
&gkeonprem.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArgs{
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
NodeIp: pulumi.String("string"),
},
},
OperatingSystem: pulumi.String("string"),
Taints: gkeonprem.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigTaintArray{
&gkeonprem.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigTaintArgs{
Effect: pulumi.String("string"),
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
},
},
ApiServerArgs: gkeonprem.BareMetalAdminClusterControlPlaneApiServerArgArray{
&gkeonprem.BareMetalAdminClusterControlPlaneApiServerArgArgs{
Argument: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
},
Description: pulumi.String("string"),
LoadBalancer: &gkeonprem.BareMetalAdminClusterLoadBalancerArgs{
PortConfig: &gkeonprem.BareMetalAdminClusterLoadBalancerPortConfigArgs{
ControlPlaneLoadBalancerPort: pulumi.Int(0),
},
VipConfig: &gkeonprem.BareMetalAdminClusterLoadBalancerVipConfigArgs{
ControlPlaneVip: pulumi.String("string"),
},
ManualLbConfig: &gkeonprem.BareMetalAdminClusterLoadBalancerManualLbConfigArgs{
Enabled: pulumi.Bool(false),
},
},
BareMetalVersion: pulumi.String("string"),
ClusterOperations: &gkeonprem.BareMetalAdminClusterClusterOperationsArgs{
EnableApplicationLogs: pulumi.Bool(false),
},
Annotations: pulumi.StringMap{
"string": pulumi.String("string"),
},
MaintenanceConfig: &gkeonprem.BareMetalAdminClusterMaintenanceConfigArgs{
MaintenanceAddressCidrBlocks: pulumi.StringArray{
pulumi.String("string"),
},
},
NodeAccessConfig: &gkeonprem.BareMetalAdminClusterNodeAccessConfigArgs{
LoginUser: pulumi.String("string"),
},
NodeConfig: &gkeonprem.BareMetalAdminClusterNodeConfigArgs{
MaxPodsPerNode: pulumi.Int(0),
},
Project: pulumi.String("string"),
Proxy: &gkeonprem.BareMetalAdminClusterProxyArgs{
Uri: pulumi.String("string"),
NoProxies: pulumi.StringArray{
pulumi.String("string"),
},
},
SecurityConfig: &gkeonprem.BareMetalAdminClusterSecurityConfigArgs{
Authorization: &gkeonprem.BareMetalAdminClusterSecurityConfigAuthorizationArgs{
AdminUsers: gkeonprem.BareMetalAdminClusterSecurityConfigAuthorizationAdminUserArray{
&gkeonprem.BareMetalAdminClusterSecurityConfigAuthorizationAdminUserArgs{
Username: pulumi.String("string"),
},
},
},
},
Storage: &gkeonprem.BareMetalAdminClusterStorageArgs{
LvpNodeMountsConfig: &gkeonprem.BareMetalAdminClusterStorageLvpNodeMountsConfigArgs{
Path: pulumi.String("string"),
StorageClass: pulumi.String("string"),
},
LvpShareConfig: &gkeonprem.BareMetalAdminClusterStorageLvpShareConfigArgs{
LvpConfig: &gkeonprem.BareMetalAdminClusterStorageLvpShareConfigLvpConfigArgs{
Path: pulumi.String("string"),
StorageClass: pulumi.String("string"),
},
SharedPathPvCount: pulumi.Int(0),
},
},
})
var bareMetalAdminClusterResource = new BareMetalAdminCluster("bareMetalAdminClusterResource", BareMetalAdminClusterArgs.builder()
.location("string")
.name("string")
.networkConfig(BareMetalAdminClusterNetworkConfigArgs.builder()
.islandModeCidr(BareMetalAdminClusterNetworkConfigIslandModeCidrArgs.builder()
.podAddressCidrBlocks("string")
.serviceAddressCidrBlocks("string")
.build())
.build())
.controlPlane(BareMetalAdminClusterControlPlaneArgs.builder()
.controlPlaneNodePoolConfig(BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigArgs.builder()
.nodePoolConfig(BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigArgs.builder()
.labels(Map.of("string", "string"))
.nodeConfigs(BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArgs.builder()
.labels(Map.of("string", "string"))
.nodeIp("string")
.build())
.operatingSystem("string")
.taints(BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigTaintArgs.builder()
.effect("string")
.key("string")
.value("string")
.build())
.build())
.build())
.apiServerArgs(BareMetalAdminClusterControlPlaneApiServerArgArgs.builder()
.argument("string")
.value("string")
.build())
.build())
.description("string")
.loadBalancer(BareMetalAdminClusterLoadBalancerArgs.builder()
.portConfig(BareMetalAdminClusterLoadBalancerPortConfigArgs.builder()
.controlPlaneLoadBalancerPort(0)
.build())
.vipConfig(BareMetalAdminClusterLoadBalancerVipConfigArgs.builder()
.controlPlaneVip("string")
.build())
.manualLbConfig(BareMetalAdminClusterLoadBalancerManualLbConfigArgs.builder()
.enabled(false)
.build())
.build())
.bareMetalVersion("string")
.clusterOperations(BareMetalAdminClusterClusterOperationsArgs.builder()
.enableApplicationLogs(false)
.build())
.annotations(Map.of("string", "string"))
.maintenanceConfig(BareMetalAdminClusterMaintenanceConfigArgs.builder()
.maintenanceAddressCidrBlocks("string")
.build())
.nodeAccessConfig(BareMetalAdminClusterNodeAccessConfigArgs.builder()
.loginUser("string")
.build())
.nodeConfig(BareMetalAdminClusterNodeConfigArgs.builder()
.maxPodsPerNode(0)
.build())
.project("string")
.proxy(BareMetalAdminClusterProxyArgs.builder()
.uri("string")
.noProxies("string")
.build())
.securityConfig(BareMetalAdminClusterSecurityConfigArgs.builder()
.authorization(BareMetalAdminClusterSecurityConfigAuthorizationArgs.builder()
.adminUsers(BareMetalAdminClusterSecurityConfigAuthorizationAdminUserArgs.builder()
.username("string")
.build())
.build())
.build())
.storage(BareMetalAdminClusterStorageArgs.builder()
.lvpNodeMountsConfig(BareMetalAdminClusterStorageLvpNodeMountsConfigArgs.builder()
.path("string")
.storageClass("string")
.build())
.lvpShareConfig(BareMetalAdminClusterStorageLvpShareConfigArgs.builder()
.lvpConfig(BareMetalAdminClusterStorageLvpShareConfigLvpConfigArgs.builder()
.path("string")
.storageClass("string")
.build())
.sharedPathPvCount(0)
.build())
.build())
.build());
bare_metal_admin_cluster_resource = gcp.gkeonprem.BareMetalAdminCluster("bareMetalAdminClusterResource",
location="string",
name="string",
network_config=gcp.gkeonprem.BareMetalAdminClusterNetworkConfigArgs(
island_mode_cidr=gcp.gkeonprem.BareMetalAdminClusterNetworkConfigIslandModeCidrArgs(
pod_address_cidr_blocks=["string"],
service_address_cidr_blocks=["string"],
),
),
control_plane=gcp.gkeonprem.BareMetalAdminClusterControlPlaneArgs(
control_plane_node_pool_config=gcp.gkeonprem.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigArgs(
node_pool_config=gcp.gkeonprem.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigArgs(
labels={
"string": "string",
},
node_configs=[gcp.gkeonprem.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArgs(
labels={
"string": "string",
},
node_ip="string",
)],
operating_system="string",
taints=[gcp.gkeonprem.BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigTaintArgs(
effect="string",
key="string",
value="string",
)],
),
),
api_server_args=[gcp.gkeonprem.BareMetalAdminClusterControlPlaneApiServerArgArgs(
argument="string",
value="string",
)],
),
description="string",
load_balancer=gcp.gkeonprem.BareMetalAdminClusterLoadBalancerArgs(
port_config=gcp.gkeonprem.BareMetalAdminClusterLoadBalancerPortConfigArgs(
control_plane_load_balancer_port=0,
),
vip_config=gcp.gkeonprem.BareMetalAdminClusterLoadBalancerVipConfigArgs(
control_plane_vip="string",
),
manual_lb_config=gcp.gkeonprem.BareMetalAdminClusterLoadBalancerManualLbConfigArgs(
enabled=False,
),
),
bare_metal_version="string",
cluster_operations=gcp.gkeonprem.BareMetalAdminClusterClusterOperationsArgs(
enable_application_logs=False,
),
annotations={
"string": "string",
},
maintenance_config=gcp.gkeonprem.BareMetalAdminClusterMaintenanceConfigArgs(
maintenance_address_cidr_blocks=["string"],
),
node_access_config=gcp.gkeonprem.BareMetalAdminClusterNodeAccessConfigArgs(
login_user="string",
),
node_config=gcp.gkeonprem.BareMetalAdminClusterNodeConfigArgs(
max_pods_per_node=0,
),
project="string",
proxy=gcp.gkeonprem.BareMetalAdminClusterProxyArgs(
uri="string",
no_proxies=["string"],
),
security_config=gcp.gkeonprem.BareMetalAdminClusterSecurityConfigArgs(
authorization=gcp.gkeonprem.BareMetalAdminClusterSecurityConfigAuthorizationArgs(
admin_users=[gcp.gkeonprem.BareMetalAdminClusterSecurityConfigAuthorizationAdminUserArgs(
username="string",
)],
),
),
storage=gcp.gkeonprem.BareMetalAdminClusterStorageArgs(
lvp_node_mounts_config=gcp.gkeonprem.BareMetalAdminClusterStorageLvpNodeMountsConfigArgs(
path="string",
storage_class="string",
),
lvp_share_config=gcp.gkeonprem.BareMetalAdminClusterStorageLvpShareConfigArgs(
lvp_config=gcp.gkeonprem.BareMetalAdminClusterStorageLvpShareConfigLvpConfigArgs(
path="string",
storage_class="string",
),
shared_path_pv_count=0,
),
))
const bareMetalAdminClusterResource = new gcp.gkeonprem.BareMetalAdminCluster("bareMetalAdminClusterResource", {
location: "string",
name: "string",
networkConfig: {
islandModeCidr: {
podAddressCidrBlocks: ["string"],
serviceAddressCidrBlocks: ["string"],
},
},
controlPlane: {
controlPlaneNodePoolConfig: {
nodePoolConfig: {
labels: {
string: "string",
},
nodeConfigs: [{
labels: {
string: "string",
},
nodeIp: "string",
}],
operatingSystem: "string",
taints: [{
effect: "string",
key: "string",
value: "string",
}],
},
},
apiServerArgs: [{
argument: "string",
value: "string",
}],
},
description: "string",
loadBalancer: {
portConfig: {
controlPlaneLoadBalancerPort: 0,
},
vipConfig: {
controlPlaneVip: "string",
},
manualLbConfig: {
enabled: false,
},
},
bareMetalVersion: "string",
clusterOperations: {
enableApplicationLogs: false,
},
annotations: {
string: "string",
},
maintenanceConfig: {
maintenanceAddressCidrBlocks: ["string"],
},
nodeAccessConfig: {
loginUser: "string",
},
nodeConfig: {
maxPodsPerNode: 0,
},
project: "string",
proxy: {
uri: "string",
noProxies: ["string"],
},
securityConfig: {
authorization: {
adminUsers: [{
username: "string",
}],
},
},
storage: {
lvpNodeMountsConfig: {
path: "string",
storageClass: "string",
},
lvpShareConfig: {
lvpConfig: {
path: "string",
storageClass: "string",
},
sharedPathPvCount: 0,
},
},
});
type: gcp:gkeonprem:BareMetalAdminCluster
properties:
annotations:
string: string
bareMetalVersion: string
clusterOperations:
enableApplicationLogs: false
controlPlane:
apiServerArgs:
- argument: string
value: string
controlPlaneNodePoolConfig:
nodePoolConfig:
labels:
string: string
nodeConfigs:
- labels:
string: string
nodeIp: string
operatingSystem: string
taints:
- effect: string
key: string
value: string
description: string
loadBalancer:
manualLbConfig:
enabled: false
portConfig:
controlPlaneLoadBalancerPort: 0
vipConfig:
controlPlaneVip: string
location: string
maintenanceConfig:
maintenanceAddressCidrBlocks:
- string
name: string
networkConfig:
islandModeCidr:
podAddressCidrBlocks:
- string
serviceAddressCidrBlocks:
- string
nodeAccessConfig:
loginUser: string
nodeConfig:
maxPodsPerNode: 0
project: string
proxy:
noProxies:
- string
uri: string
securityConfig:
authorization:
adminUsers:
- username: string
storage:
lvpNodeMountsConfig:
path: string
storageClass: string
lvpShareConfig:
lvpConfig:
path: string
storageClass: string
sharedPathPvCount: 0
BareMetalAdminCluster Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The BareMetalAdminCluster resource accepts the following input properties:
- Location string
- The location of the resource.
- Annotations Dictionary<string, string>
Annotations on the Bare Metal Admin Cluster. This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.
Note: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field
effective_annotations
for all of the annotations present on the resource.- Bare
Metal stringVersion - A human readable description of this Bare Metal Admin Cluster.
- Cluster
Operations BareMetal Admin Cluster Cluster Operations - Specifies the Admin Cluster's observability infrastructure. Structure is documented below.
- Control
Plane BareMetal Admin Cluster Control Plane - Specifies the control plane configuration. Structure is documented below.
- Description string
- A human readable description of this Bare Metal Admin Cluster.
- Load
Balancer BareMetal Admin Cluster Load Balancer - Specifies the load balancer configuration. Structure is documented below.
- Maintenance
Config BareMetal Admin Cluster Maintenance Config - Specifies the workload node configurations. Structure is documented below.
- Name string
- The bare metal admin cluster name.
- Network
Config BareMetal Admin Cluster Network Config - Network configuration. Structure is documented below.
- Node
Access BareConfig Metal Admin Cluster Node Access Config - Specifies the node access related settings for the bare metal user cluster. Structure is documented below.
- Node
Config BareMetal Admin Cluster Node Config - Specifies the workload node configurations. Structure is documented below.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Proxy
Bare
Metal Admin Cluster Proxy - Specifies the cluster proxy configuration. Structure is documented below.
- Security
Config BareMetal Admin Cluster Security Config - Specifies the security related settings for the Bare Metal User Cluster. Structure is documented below.
- Storage
Bare
Metal Admin Cluster Storage - Specifies the cluster storage configuration. Structure is documented below.
- Location string
- The location of the resource.
- Annotations map[string]string
Annotations on the Bare Metal Admin Cluster. This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.
Note: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field
effective_annotations
for all of the annotations present on the resource.- Bare
Metal stringVersion - A human readable description of this Bare Metal Admin Cluster.
- Cluster
Operations BareMetal Admin Cluster Cluster Operations Args - Specifies the Admin Cluster's observability infrastructure. Structure is documented below.
- Control
Plane BareMetal Admin Cluster Control Plane Args - Specifies the control plane configuration. Structure is documented below.
- Description string
- A human readable description of this Bare Metal Admin Cluster.
- Load
Balancer BareMetal Admin Cluster Load Balancer Args - Specifies the load balancer configuration. Structure is documented below.
- Maintenance
Config BareMetal Admin Cluster Maintenance Config Args - Specifies the workload node configurations. Structure is documented below.
- Name string
- The bare metal admin cluster name.
- Network
Config BareMetal Admin Cluster Network Config Args - Network configuration. Structure is documented below.
- Node
Access BareConfig Metal Admin Cluster Node Access Config Args - Specifies the node access related settings for the bare metal user cluster. Structure is documented below.
- Node
Config BareMetal Admin Cluster Node Config Args - Specifies the workload node configurations. Structure is documented below.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Proxy
Bare
Metal Admin Cluster Proxy Args - Specifies the cluster proxy configuration. Structure is documented below.
- Security
Config BareMetal Admin Cluster Security Config Args - Specifies the security related settings for the Bare Metal User Cluster. Structure is documented below.
- Storage
Bare
Metal Admin Cluster Storage Args - Specifies the cluster storage configuration. Structure is documented below.
- location String
- The location of the resource.
- annotations Map<String,String>
Annotations on the Bare Metal Admin Cluster. This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.
Note: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field
effective_annotations
for all of the annotations present on the resource.- bare
Metal StringVersion - A human readable description of this Bare Metal Admin Cluster.
- cluster
Operations BareMetal Admin Cluster Cluster Operations - Specifies the Admin Cluster's observability infrastructure. Structure is documented below.
- control
Plane BareMetal Admin Cluster Control Plane - Specifies the control plane configuration. Structure is documented below.
- description String
- A human readable description of this Bare Metal Admin Cluster.
- load
Balancer BareMetal Admin Cluster Load Balancer - Specifies the load balancer configuration. Structure is documented below.
- maintenance
Config BareMetal Admin Cluster Maintenance Config - Specifies the workload node configurations. Structure is documented below.
- name String
- The bare metal admin cluster name.
- network
Config BareMetal Admin Cluster Network Config - Network configuration. Structure is documented below.
- node
Access BareConfig Metal Admin Cluster Node Access Config - Specifies the node access related settings for the bare metal user cluster. Structure is documented below.
- node
Config BareMetal Admin Cluster Node Config - Specifies the workload node configurations. Structure is documented below.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- proxy
Bare
Metal Admin Cluster Proxy - Specifies the cluster proxy configuration. Structure is documented below.
- security
Config BareMetal Admin Cluster Security Config - Specifies the security related settings for the Bare Metal User Cluster. Structure is documented below.
- storage
Bare
Metal Admin Cluster Storage - Specifies the cluster storage configuration. Structure is documented below.
- location string
- The location of the resource.
- annotations {[key: string]: string}
Annotations on the Bare Metal Admin Cluster. This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.
Note: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field
effective_annotations
for all of the annotations present on the resource.- bare
Metal stringVersion - A human readable description of this Bare Metal Admin Cluster.
- cluster
Operations BareMetal Admin Cluster Cluster Operations - Specifies the Admin Cluster's observability infrastructure. Structure is documented below.
- control
Plane BareMetal Admin Cluster Control Plane - Specifies the control plane configuration. Structure is documented below.
- description string
- A human readable description of this Bare Metal Admin Cluster.
- load
Balancer BareMetal Admin Cluster Load Balancer - Specifies the load balancer configuration. Structure is documented below.
- maintenance
Config BareMetal Admin Cluster Maintenance Config - Specifies the workload node configurations. Structure is documented below.
- name string
- The bare metal admin cluster name.
- network
Config BareMetal Admin Cluster Network Config - Network configuration. Structure is documented below.
- node
Access BareConfig Metal Admin Cluster Node Access Config - Specifies the node access related settings for the bare metal user cluster. Structure is documented below.
- node
Config BareMetal Admin Cluster Node Config - Specifies the workload node configurations. Structure is documented below.
- project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- proxy
Bare
Metal Admin Cluster Proxy - Specifies the cluster proxy configuration. Structure is documented below.
- security
Config BareMetal Admin Cluster Security Config - Specifies the security related settings for the Bare Metal User Cluster. Structure is documented below.
- storage
Bare
Metal Admin Cluster Storage - Specifies the cluster storage configuration. Structure is documented below.
- location str
- The location of the resource.
- annotations Mapping[str, str]
Annotations on the Bare Metal Admin Cluster. This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.
Note: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field
effective_annotations
for all of the annotations present on the resource.- bare_
metal_ strversion - A human readable description of this Bare Metal Admin Cluster.
- cluster_
operations BareMetal Admin Cluster Cluster Operations Args - Specifies the Admin Cluster's observability infrastructure. Structure is documented below.
- control_
plane BareMetal Admin Cluster Control Plane Args - Specifies the control plane configuration. Structure is documented below.
- description str
- A human readable description of this Bare Metal Admin Cluster.
- load_
balancer BareMetal Admin Cluster Load Balancer Args - Specifies the load balancer configuration. Structure is documented below.
- maintenance_
config BareMetal Admin Cluster Maintenance Config Args - Specifies the workload node configurations. Structure is documented below.
- name str
- The bare metal admin cluster name.
- network_
config BareMetal Admin Cluster Network Config Args - Network configuration. Structure is documented below.
- node_
access_ Bareconfig Metal Admin Cluster Node Access Config Args - Specifies the node access related settings for the bare metal user cluster. Structure is documented below.
- node_
config BareMetal Admin Cluster Node Config Args - Specifies the workload node configurations. Structure is documented below.
- project str
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- proxy
Bare
Metal Admin Cluster Proxy Args - Specifies the cluster proxy configuration. Structure is documented below.
- security_
config BareMetal Admin Cluster Security Config Args - Specifies the security related settings for the Bare Metal User Cluster. Structure is documented below.
- storage
Bare
Metal Admin Cluster Storage Args - Specifies the cluster storage configuration. Structure is documented below.
- location String
- The location of the resource.
- annotations Map<String>
Annotations on the Bare Metal Admin Cluster. This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.
Note: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field
effective_annotations
for all of the annotations present on the resource.- bare
Metal StringVersion - A human readable description of this Bare Metal Admin Cluster.
- cluster
Operations Property Map - Specifies the Admin Cluster's observability infrastructure. Structure is documented below.
- control
Plane Property Map - Specifies the control plane configuration. Structure is documented below.
- description String
- A human readable description of this Bare Metal Admin Cluster.
- load
Balancer Property Map - Specifies the load balancer configuration. Structure is documented below.
- maintenance
Config Property Map - Specifies the workload node configurations. Structure is documented below.
- name String
- The bare metal admin cluster name.
- network
Config Property Map - Network configuration. Structure is documented below.
- node
Access Property MapConfig - Specifies the node access related settings for the bare metal user cluster. Structure is documented below.
- node
Config Property Map - Specifies the workload node configurations. Structure is documented below.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- proxy Property Map
- Specifies the cluster proxy configuration. Structure is documented below.
- security
Config Property Map - Specifies the security related settings for the Bare Metal User Cluster. Structure is documented below.
- storage Property Map
- Specifies the cluster storage configuration. Structure is documented below.
Outputs
All input properties are implicitly available as output properties. Additionally, the BareMetalAdminCluster resource produces the following output properties:
- Create
Time string - The time the cluster was created, in RFC3339 text format.
- Delete
Time string - The time the cluster was deleted, in RFC3339 text format.
- Effective
Annotations Dictionary<string, string> - Endpoint string
- The IP address name of Bare Metal Admin Cluster's API server.
- Etag string
- This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. Allows clients to perform consistent read-modify-writes through optimistic concurrency control.
- Fleets
List<Bare
Metal Admin Cluster Fleet> - Fleet related configuration. Fleets are a Google Cloud concept for logically organizing clusters, letting you use and manage multi-cluster capabilities and apply consistent policies across your systems. See Anthos Fleets for more details on Anthos multi-cluster capabilities using Fleets. Structure is documented below.
- Id string
- The provider-assigned unique ID for this managed resource.
- Local
Name string - The object name of the Bare Metal Admin Cluster custom resource on the associated admin cluster. This field is used to support conflicting names when enrolling existing clusters to the API. When used as a part of cluster enrollment, this field will differ from the ID in the resource name. For new clusters, this field will match the user provided cluster ID and be visible in the last component of the resource name. It is not modifiable. All users should use this name to access their cluster using gkectl or kubectl and should expect to see the local name when viewing admin cluster controller logs.
- Reconciling bool
- If set, there are currently changes in flight to the Bare Metal Admin Cluster.
- State string
- (Output) The lifecycle state of the condition.
- Statuses
List<Bare
Metal Admin Cluster Status> - (Output) Specifies the detailed validation check status Structure is documented below.
- Uid string
- The unique identifier of the Bare Metal Admin Cluster.
- Update
Time string - The time the cluster was last updated, in RFC3339 text format.
- Validation
Checks List<BareMetal Admin Cluster Validation Check> - Specifies the security related settings for the Bare Metal Admin Cluster. Structure is documented below.
- Create
Time string - The time the cluster was created, in RFC3339 text format.
- Delete
Time string - The time the cluster was deleted, in RFC3339 text format.
- Effective
Annotations map[string]string - Endpoint string
- The IP address name of Bare Metal Admin Cluster's API server.
- Etag string
- This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. Allows clients to perform consistent read-modify-writes through optimistic concurrency control.
- Fleets
[]Bare
Metal Admin Cluster Fleet - Fleet related configuration. Fleets are a Google Cloud concept for logically organizing clusters, letting you use and manage multi-cluster capabilities and apply consistent policies across your systems. See Anthos Fleets for more details on Anthos multi-cluster capabilities using Fleets. Structure is documented below.
- Id string
- The provider-assigned unique ID for this managed resource.
- Local
Name string - The object name of the Bare Metal Admin Cluster custom resource on the associated admin cluster. This field is used to support conflicting names when enrolling existing clusters to the API. When used as a part of cluster enrollment, this field will differ from the ID in the resource name. For new clusters, this field will match the user provided cluster ID and be visible in the last component of the resource name. It is not modifiable. All users should use this name to access their cluster using gkectl or kubectl and should expect to see the local name when viewing admin cluster controller logs.
- Reconciling bool
- If set, there are currently changes in flight to the Bare Metal Admin Cluster.
- State string
- (Output) The lifecycle state of the condition.
- Statuses
[]Bare
Metal Admin Cluster Status - (Output) Specifies the detailed validation check status Structure is documented below.
- Uid string
- The unique identifier of the Bare Metal Admin Cluster.
- Update
Time string - The time the cluster was last updated, in RFC3339 text format.
- Validation
Checks []BareMetal Admin Cluster Validation Check - Specifies the security related settings for the Bare Metal Admin Cluster. Structure is documented below.
- create
Time String - The time the cluster was created, in RFC3339 text format.
- delete
Time String - The time the cluster was deleted, in RFC3339 text format.
- effective
Annotations Map<String,String> - endpoint String
- The IP address name of Bare Metal Admin Cluster's API server.
- etag String
- This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. Allows clients to perform consistent read-modify-writes through optimistic concurrency control.
- fleets
List<Bare
Metal Admin Cluster Fleet> - Fleet related configuration. Fleets are a Google Cloud concept for logically organizing clusters, letting you use and manage multi-cluster capabilities and apply consistent policies across your systems. See Anthos Fleets for more details on Anthos multi-cluster capabilities using Fleets. Structure is documented below.
- id String
- The provider-assigned unique ID for this managed resource.
- local
Name String - The object name of the Bare Metal Admin Cluster custom resource on the associated admin cluster. This field is used to support conflicting names when enrolling existing clusters to the API. When used as a part of cluster enrollment, this field will differ from the ID in the resource name. For new clusters, this field will match the user provided cluster ID and be visible in the last component of the resource name. It is not modifiable. All users should use this name to access their cluster using gkectl or kubectl and should expect to see the local name when viewing admin cluster controller logs.
- reconciling Boolean
- If set, there are currently changes in flight to the Bare Metal Admin Cluster.
- state String
- (Output) The lifecycle state of the condition.
- statuses
List<Bare
Metal Admin Cluster Status> - (Output) Specifies the detailed validation check status Structure is documented below.
- uid String
- The unique identifier of the Bare Metal Admin Cluster.
- update
Time String - The time the cluster was last updated, in RFC3339 text format.
- validation
Checks List<BareMetal Admin Cluster Validation Check> - Specifies the security related settings for the Bare Metal Admin Cluster. Structure is documented below.
- create
Time string - The time the cluster was created, in RFC3339 text format.
- delete
Time string - The time the cluster was deleted, in RFC3339 text format.
- effective
Annotations {[key: string]: string} - endpoint string
- The IP address name of Bare Metal Admin Cluster's API server.
- etag string
- This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. Allows clients to perform consistent read-modify-writes through optimistic concurrency control.
- fleets
Bare
Metal Admin Cluster Fleet[] - Fleet related configuration. Fleets are a Google Cloud concept for logically organizing clusters, letting you use and manage multi-cluster capabilities and apply consistent policies across your systems. See Anthos Fleets for more details on Anthos multi-cluster capabilities using Fleets. Structure is documented below.
- id string
- The provider-assigned unique ID for this managed resource.
- local
Name string - The object name of the Bare Metal Admin Cluster custom resource on the associated admin cluster. This field is used to support conflicting names when enrolling existing clusters to the API. When used as a part of cluster enrollment, this field will differ from the ID in the resource name. For new clusters, this field will match the user provided cluster ID and be visible in the last component of the resource name. It is not modifiable. All users should use this name to access their cluster using gkectl or kubectl and should expect to see the local name when viewing admin cluster controller logs.
- reconciling boolean
- If set, there are currently changes in flight to the Bare Metal Admin Cluster.
- state string
- (Output) The lifecycle state of the condition.
- statuses
Bare
Metal Admin Cluster Status[] - (Output) Specifies the detailed validation check status Structure is documented below.
- uid string
- The unique identifier of the Bare Metal Admin Cluster.
- update
Time string - The time the cluster was last updated, in RFC3339 text format.
- validation
Checks BareMetal Admin Cluster Validation Check[] - Specifies the security related settings for the Bare Metal Admin Cluster. Structure is documented below.
- create_
time str - The time the cluster was created, in RFC3339 text format.
- delete_
time str - The time the cluster was deleted, in RFC3339 text format.
- effective_
annotations Mapping[str, str] - endpoint str
- The IP address name of Bare Metal Admin Cluster's API server.
- etag str
- This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. Allows clients to perform consistent read-modify-writes through optimistic concurrency control.
- fleets
Sequence[Bare
Metal Admin Cluster Fleet] - Fleet related configuration. Fleets are a Google Cloud concept for logically organizing clusters, letting you use and manage multi-cluster capabilities and apply consistent policies across your systems. See Anthos Fleets for more details on Anthos multi-cluster capabilities using Fleets. Structure is documented below.
- id str
- The provider-assigned unique ID for this managed resource.
- local_
name str - The object name of the Bare Metal Admin Cluster custom resource on the associated admin cluster. This field is used to support conflicting names when enrolling existing clusters to the API. When used as a part of cluster enrollment, this field will differ from the ID in the resource name. For new clusters, this field will match the user provided cluster ID and be visible in the last component of the resource name. It is not modifiable. All users should use this name to access their cluster using gkectl or kubectl and should expect to see the local name when viewing admin cluster controller logs.
- reconciling bool
- If set, there are currently changes in flight to the Bare Metal Admin Cluster.
- state str
- (Output) The lifecycle state of the condition.
- statuses
Sequence[Bare
Metal Admin Cluster Status] - (Output) Specifies the detailed validation check status Structure is documented below.
- uid str
- The unique identifier of the Bare Metal Admin Cluster.
- update_
time str - The time the cluster was last updated, in RFC3339 text format.
- validation_
checks Sequence[BareMetal Admin Cluster Validation Check] - Specifies the security related settings for the Bare Metal Admin Cluster. Structure is documented below.
- create
Time String - The time the cluster was created, in RFC3339 text format.
- delete
Time String - The time the cluster was deleted, in RFC3339 text format.
- effective
Annotations Map<String> - endpoint String
- The IP address name of Bare Metal Admin Cluster's API server.
- etag String
- This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. Allows clients to perform consistent read-modify-writes through optimistic concurrency control.
- fleets List<Property Map>
- Fleet related configuration. Fleets are a Google Cloud concept for logically organizing clusters, letting you use and manage multi-cluster capabilities and apply consistent policies across your systems. See Anthos Fleets for more details on Anthos multi-cluster capabilities using Fleets. Structure is documented below.
- id String
- The provider-assigned unique ID for this managed resource.
- local
Name String - The object name of the Bare Metal Admin Cluster custom resource on the associated admin cluster. This field is used to support conflicting names when enrolling existing clusters to the API. When used as a part of cluster enrollment, this field will differ from the ID in the resource name. For new clusters, this field will match the user provided cluster ID and be visible in the last component of the resource name. It is not modifiable. All users should use this name to access their cluster using gkectl or kubectl and should expect to see the local name when viewing admin cluster controller logs.
- reconciling Boolean
- If set, there are currently changes in flight to the Bare Metal Admin Cluster.
- state String
- (Output) The lifecycle state of the condition.
- statuses List<Property Map>
- (Output) Specifies the detailed validation check status Structure is documented below.
- uid String
- The unique identifier of the Bare Metal Admin Cluster.
- update
Time String - The time the cluster was last updated, in RFC3339 text format.
- validation
Checks List<Property Map> - Specifies the security related settings for the Bare Metal Admin Cluster. Structure is documented below.
Look up Existing BareMetalAdminCluster Resource
Get an existing BareMetalAdminCluster resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: BareMetalAdminClusterState, opts?: CustomResourceOptions): BareMetalAdminCluster
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
annotations: Optional[Mapping[str, str]] = None,
bare_metal_version: Optional[str] = None,
cluster_operations: Optional[BareMetalAdminClusterClusterOperationsArgs] = None,
control_plane: Optional[BareMetalAdminClusterControlPlaneArgs] = None,
create_time: Optional[str] = None,
delete_time: Optional[str] = None,
description: Optional[str] = None,
effective_annotations: Optional[Mapping[str, str]] = None,
endpoint: Optional[str] = None,
etag: Optional[str] = None,
fleets: Optional[Sequence[BareMetalAdminClusterFleetArgs]] = None,
load_balancer: Optional[BareMetalAdminClusterLoadBalancerArgs] = None,
local_name: Optional[str] = None,
location: Optional[str] = None,
maintenance_config: Optional[BareMetalAdminClusterMaintenanceConfigArgs] = None,
name: Optional[str] = None,
network_config: Optional[BareMetalAdminClusterNetworkConfigArgs] = None,
node_access_config: Optional[BareMetalAdminClusterNodeAccessConfigArgs] = None,
node_config: Optional[BareMetalAdminClusterNodeConfigArgs] = None,
project: Optional[str] = None,
proxy: Optional[BareMetalAdminClusterProxyArgs] = None,
reconciling: Optional[bool] = None,
security_config: Optional[BareMetalAdminClusterSecurityConfigArgs] = None,
state: Optional[str] = None,
statuses: Optional[Sequence[BareMetalAdminClusterStatusArgs]] = None,
storage: Optional[BareMetalAdminClusterStorageArgs] = None,
uid: Optional[str] = None,
update_time: Optional[str] = None,
validation_checks: Optional[Sequence[BareMetalAdminClusterValidationCheckArgs]] = None) -> BareMetalAdminCluster
func GetBareMetalAdminCluster(ctx *Context, name string, id IDInput, state *BareMetalAdminClusterState, opts ...ResourceOption) (*BareMetalAdminCluster, error)
public static BareMetalAdminCluster Get(string name, Input<string> id, BareMetalAdminClusterState? state, CustomResourceOptions? opts = null)
public static BareMetalAdminCluster get(String name, Output<String> id, BareMetalAdminClusterState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Annotations Dictionary<string, string>
Annotations on the Bare Metal Admin Cluster. This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.
Note: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field
effective_annotations
for all of the annotations present on the resource.- Bare
Metal stringVersion - A human readable description of this Bare Metal Admin Cluster.
- Cluster
Operations BareMetal Admin Cluster Cluster Operations - Specifies the Admin Cluster's observability infrastructure. Structure is documented below.
- Control
Plane BareMetal Admin Cluster Control Plane - Specifies the control plane configuration. Structure is documented below.
- Create
Time string - The time the cluster was created, in RFC3339 text format.
- Delete
Time string - The time the cluster was deleted, in RFC3339 text format.
- Description string
- A human readable description of this Bare Metal Admin Cluster.
- Effective
Annotations Dictionary<string, string> - Endpoint string
- The IP address name of Bare Metal Admin Cluster's API server.
- Etag string
- This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. Allows clients to perform consistent read-modify-writes through optimistic concurrency control.
- Fleets
List<Bare
Metal Admin Cluster Fleet> - Fleet related configuration. Fleets are a Google Cloud concept for logically organizing clusters, letting you use and manage multi-cluster capabilities and apply consistent policies across your systems. See Anthos Fleets for more details on Anthos multi-cluster capabilities using Fleets. Structure is documented below.
- Load
Balancer BareMetal Admin Cluster Load Balancer - Specifies the load balancer configuration. Structure is documented below.
- Local
Name string - The object name of the Bare Metal Admin Cluster custom resource on the associated admin cluster. This field is used to support conflicting names when enrolling existing clusters to the API. When used as a part of cluster enrollment, this field will differ from the ID in the resource name. For new clusters, this field will match the user provided cluster ID and be visible in the last component of the resource name. It is not modifiable. All users should use this name to access their cluster using gkectl or kubectl and should expect to see the local name when viewing admin cluster controller logs.
- Location string
- The location of the resource.
- Maintenance
Config BareMetal Admin Cluster Maintenance Config - Specifies the workload node configurations. Structure is documented below.
- Name string
- The bare metal admin cluster name.
- Network
Config BareMetal Admin Cluster Network Config - Network configuration. Structure is documented below.
- Node
Access BareConfig Metal Admin Cluster Node Access Config - Specifies the node access related settings for the bare metal user cluster. Structure is documented below.
- Node
Config BareMetal Admin Cluster Node Config - Specifies the workload node configurations. Structure is documented below.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Proxy
Bare
Metal Admin Cluster Proxy - Specifies the cluster proxy configuration. Structure is documented below.
- Reconciling bool
- If set, there are currently changes in flight to the Bare Metal Admin Cluster.
- Security
Config BareMetal Admin Cluster Security Config - Specifies the security related settings for the Bare Metal User Cluster. Structure is documented below.
- State string
- (Output) The lifecycle state of the condition.
- Statuses
List<Bare
Metal Admin Cluster Status> - (Output) Specifies the detailed validation check status Structure is documented below.
- Storage
Bare
Metal Admin Cluster Storage - Specifies the cluster storage configuration. Structure is documented below.
- Uid string
- The unique identifier of the Bare Metal Admin Cluster.
- Update
Time string - The time the cluster was last updated, in RFC3339 text format.
- Validation
Checks List<BareMetal Admin Cluster Validation Check> - Specifies the security related settings for the Bare Metal Admin Cluster. Structure is documented below.
- Annotations map[string]string
Annotations on the Bare Metal Admin Cluster. This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.
Note: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field
effective_annotations
for all of the annotations present on the resource.- Bare
Metal stringVersion - A human readable description of this Bare Metal Admin Cluster.
- Cluster
Operations BareMetal Admin Cluster Cluster Operations Args - Specifies the Admin Cluster's observability infrastructure. Structure is documented below.
- Control
Plane BareMetal Admin Cluster Control Plane Args - Specifies the control plane configuration. Structure is documented below.
- Create
Time string - The time the cluster was created, in RFC3339 text format.
- Delete
Time string - The time the cluster was deleted, in RFC3339 text format.
- Description string
- A human readable description of this Bare Metal Admin Cluster.
- Effective
Annotations map[string]string - Endpoint string
- The IP address name of Bare Metal Admin Cluster's API server.
- Etag string
- This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. Allows clients to perform consistent read-modify-writes through optimistic concurrency control.
- Fleets
[]Bare
Metal Admin Cluster Fleet Args - Fleet related configuration. Fleets are a Google Cloud concept for logically organizing clusters, letting you use and manage multi-cluster capabilities and apply consistent policies across your systems. See Anthos Fleets for more details on Anthos multi-cluster capabilities using Fleets. Structure is documented below.
- Load
Balancer BareMetal Admin Cluster Load Balancer Args - Specifies the load balancer configuration. Structure is documented below.
- Local
Name string - The object name of the Bare Metal Admin Cluster custom resource on the associated admin cluster. This field is used to support conflicting names when enrolling existing clusters to the API. When used as a part of cluster enrollment, this field will differ from the ID in the resource name. For new clusters, this field will match the user provided cluster ID and be visible in the last component of the resource name. It is not modifiable. All users should use this name to access their cluster using gkectl or kubectl and should expect to see the local name when viewing admin cluster controller logs.
- Location string
- The location of the resource.
- Maintenance
Config BareMetal Admin Cluster Maintenance Config Args - Specifies the workload node configurations. Structure is documented below.
- Name string
- The bare metal admin cluster name.
- Network
Config BareMetal Admin Cluster Network Config Args - Network configuration. Structure is documented below.
- Node
Access BareConfig Metal Admin Cluster Node Access Config Args - Specifies the node access related settings for the bare metal user cluster. Structure is documented below.
- Node
Config BareMetal Admin Cluster Node Config Args - Specifies the workload node configurations. Structure is documented below.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Proxy
Bare
Metal Admin Cluster Proxy Args - Specifies the cluster proxy configuration. Structure is documented below.
- Reconciling bool
- If set, there are currently changes in flight to the Bare Metal Admin Cluster.
- Security
Config BareMetal Admin Cluster Security Config Args - Specifies the security related settings for the Bare Metal User Cluster. Structure is documented below.
- State string
- (Output) The lifecycle state of the condition.
- Statuses
[]Bare
Metal Admin Cluster Status Args - (Output) Specifies the detailed validation check status Structure is documented below.
- Storage
Bare
Metal Admin Cluster Storage Args - Specifies the cluster storage configuration. Structure is documented below.
- Uid string
- The unique identifier of the Bare Metal Admin Cluster.
- Update
Time string - The time the cluster was last updated, in RFC3339 text format.
- Validation
Checks []BareMetal Admin Cluster Validation Check Args - Specifies the security related settings for the Bare Metal Admin Cluster. Structure is documented below.
- annotations Map<String,String>
Annotations on the Bare Metal Admin Cluster. This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.
Note: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field
effective_annotations
for all of the annotations present on the resource.- bare
Metal StringVersion - A human readable description of this Bare Metal Admin Cluster.
- cluster
Operations BareMetal Admin Cluster Cluster Operations - Specifies the Admin Cluster's observability infrastructure. Structure is documented below.
- control
Plane BareMetal Admin Cluster Control Plane - Specifies the control plane configuration. Structure is documented below.
- create
Time String - The time the cluster was created, in RFC3339 text format.
- delete
Time String - The time the cluster was deleted, in RFC3339 text format.
- description String
- A human readable description of this Bare Metal Admin Cluster.
- effective
Annotations Map<String,String> - endpoint String
- The IP address name of Bare Metal Admin Cluster's API server.
- etag String
- This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. Allows clients to perform consistent read-modify-writes through optimistic concurrency control.
- fleets
List<Bare
Metal Admin Cluster Fleet> - Fleet related configuration. Fleets are a Google Cloud concept for logically organizing clusters, letting you use and manage multi-cluster capabilities and apply consistent policies across your systems. See Anthos Fleets for more details on Anthos multi-cluster capabilities using Fleets. Structure is documented below.
- load
Balancer BareMetal Admin Cluster Load Balancer - Specifies the load balancer configuration. Structure is documented below.
- local
Name String - The object name of the Bare Metal Admin Cluster custom resource on the associated admin cluster. This field is used to support conflicting names when enrolling existing clusters to the API. When used as a part of cluster enrollment, this field will differ from the ID in the resource name. For new clusters, this field will match the user provided cluster ID and be visible in the last component of the resource name. It is not modifiable. All users should use this name to access their cluster using gkectl or kubectl and should expect to see the local name when viewing admin cluster controller logs.
- location String
- The location of the resource.
- maintenance
Config BareMetal Admin Cluster Maintenance Config - Specifies the workload node configurations. Structure is documented below.
- name String
- The bare metal admin cluster name.
- network
Config BareMetal Admin Cluster Network Config - Network configuration. Structure is documented below.
- node
Access BareConfig Metal Admin Cluster Node Access Config - Specifies the node access related settings for the bare metal user cluster. Structure is documented below.
- node
Config BareMetal Admin Cluster Node Config - Specifies the workload node configurations. Structure is documented below.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- proxy
Bare
Metal Admin Cluster Proxy - Specifies the cluster proxy configuration. Structure is documented below.
- reconciling Boolean
- If set, there are currently changes in flight to the Bare Metal Admin Cluster.
- security
Config BareMetal Admin Cluster Security Config - Specifies the security related settings for the Bare Metal User Cluster. Structure is documented below.
- state String
- (Output) The lifecycle state of the condition.
- statuses
List<Bare
Metal Admin Cluster Status> - (Output) Specifies the detailed validation check status Structure is documented below.
- storage
Bare
Metal Admin Cluster Storage - Specifies the cluster storage configuration. Structure is documented below.
- uid String
- The unique identifier of the Bare Metal Admin Cluster.
- update
Time String - The time the cluster was last updated, in RFC3339 text format.
- validation
Checks List<BareMetal Admin Cluster Validation Check> - Specifies the security related settings for the Bare Metal Admin Cluster. Structure is documented below.
- annotations {[key: string]: string}
Annotations on the Bare Metal Admin Cluster. This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.
Note: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field
effective_annotations
for all of the annotations present on the resource.- bare
Metal stringVersion - A human readable description of this Bare Metal Admin Cluster.
- cluster
Operations BareMetal Admin Cluster Cluster Operations - Specifies the Admin Cluster's observability infrastructure. Structure is documented below.
- control
Plane BareMetal Admin Cluster Control Plane - Specifies the control plane configuration. Structure is documented below.
- create
Time string - The time the cluster was created, in RFC3339 text format.
- delete
Time string - The time the cluster was deleted, in RFC3339 text format.
- description string
- A human readable description of this Bare Metal Admin Cluster.
- effective
Annotations {[key: string]: string} - endpoint string
- The IP address name of Bare Metal Admin Cluster's API server.
- etag string
- This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. Allows clients to perform consistent read-modify-writes through optimistic concurrency control.
- fleets
Bare
Metal Admin Cluster Fleet[] - Fleet related configuration. Fleets are a Google Cloud concept for logically organizing clusters, letting you use and manage multi-cluster capabilities and apply consistent policies across your systems. See Anthos Fleets for more details on Anthos multi-cluster capabilities using Fleets. Structure is documented below.
- load
Balancer BareMetal Admin Cluster Load Balancer - Specifies the load balancer configuration. Structure is documented below.
- local
Name string - The object name of the Bare Metal Admin Cluster custom resource on the associated admin cluster. This field is used to support conflicting names when enrolling existing clusters to the API. When used as a part of cluster enrollment, this field will differ from the ID in the resource name. For new clusters, this field will match the user provided cluster ID and be visible in the last component of the resource name. It is not modifiable. All users should use this name to access their cluster using gkectl or kubectl and should expect to see the local name when viewing admin cluster controller logs.
- location string
- The location of the resource.
- maintenance
Config BareMetal Admin Cluster Maintenance Config - Specifies the workload node configurations. Structure is documented below.
- name string
- The bare metal admin cluster name.
- network
Config BareMetal Admin Cluster Network Config - Network configuration. Structure is documented below.
- node
Access BareConfig Metal Admin Cluster Node Access Config - Specifies the node access related settings for the bare metal user cluster. Structure is documented below.
- node
Config BareMetal Admin Cluster Node Config - Specifies the workload node configurations. Structure is documented below.
- project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- proxy
Bare
Metal Admin Cluster Proxy - Specifies the cluster proxy configuration. Structure is documented below.
- reconciling boolean
- If set, there are currently changes in flight to the Bare Metal Admin Cluster.
- security
Config BareMetal Admin Cluster Security Config - Specifies the security related settings for the Bare Metal User Cluster. Structure is documented below.
- state string
- (Output) The lifecycle state of the condition.
- statuses
Bare
Metal Admin Cluster Status[] - (Output) Specifies the detailed validation check status Structure is documented below.
- storage
Bare
Metal Admin Cluster Storage - Specifies the cluster storage configuration. Structure is documented below.
- uid string
- The unique identifier of the Bare Metal Admin Cluster.
- update
Time string - The time the cluster was last updated, in RFC3339 text format.
- validation
Checks BareMetal Admin Cluster Validation Check[] - Specifies the security related settings for the Bare Metal Admin Cluster. Structure is documented below.
- annotations Mapping[str, str]
Annotations on the Bare Metal Admin Cluster. This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.
Note: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field
effective_annotations
for all of the annotations present on the resource.- bare_
metal_ strversion - A human readable description of this Bare Metal Admin Cluster.
- cluster_
operations BareMetal Admin Cluster Cluster Operations Args - Specifies the Admin Cluster's observability infrastructure. Structure is documented below.
- control_
plane BareMetal Admin Cluster Control Plane Args - Specifies the control plane configuration. Structure is documented below.
- create_
time str - The time the cluster was created, in RFC3339 text format.
- delete_
time str - The time the cluster was deleted, in RFC3339 text format.
- description str
- A human readable description of this Bare Metal Admin Cluster.
- effective_
annotations Mapping[str, str] - endpoint str
- The IP address name of Bare Metal Admin Cluster's API server.
- etag str
- This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. Allows clients to perform consistent read-modify-writes through optimistic concurrency control.
- fleets
Sequence[Bare
Metal Admin Cluster Fleet Args] - Fleet related configuration. Fleets are a Google Cloud concept for logically organizing clusters, letting you use and manage multi-cluster capabilities and apply consistent policies across your systems. See Anthos Fleets for more details on Anthos multi-cluster capabilities using Fleets. Structure is documented below.
- load_
balancer BareMetal Admin Cluster Load Balancer Args - Specifies the load balancer configuration. Structure is documented below.
- local_
name str - The object name of the Bare Metal Admin Cluster custom resource on the associated admin cluster. This field is used to support conflicting names when enrolling existing clusters to the API. When used as a part of cluster enrollment, this field will differ from the ID in the resource name. For new clusters, this field will match the user provided cluster ID and be visible in the last component of the resource name. It is not modifiable. All users should use this name to access their cluster using gkectl or kubectl and should expect to see the local name when viewing admin cluster controller logs.
- location str
- The location of the resource.
- maintenance_
config BareMetal Admin Cluster Maintenance Config Args - Specifies the workload node configurations. Structure is documented below.
- name str
- The bare metal admin cluster name.
- network_
config BareMetal Admin Cluster Network Config Args - Network configuration. Structure is documented below.
- node_
access_ Bareconfig Metal Admin Cluster Node Access Config Args - Specifies the node access related settings for the bare metal user cluster. Structure is documented below.
- node_
config BareMetal Admin Cluster Node Config Args - Specifies the workload node configurations. Structure is documented below.
- project str
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- proxy
Bare
Metal Admin Cluster Proxy Args - Specifies the cluster proxy configuration. Structure is documented below.
- reconciling bool
- If set, there are currently changes in flight to the Bare Metal Admin Cluster.
- security_
config BareMetal Admin Cluster Security Config Args - Specifies the security related settings for the Bare Metal User Cluster. Structure is documented below.
- state str
- (Output) The lifecycle state of the condition.
- statuses
Sequence[Bare
Metal Admin Cluster Status Args] - (Output) Specifies the detailed validation check status Structure is documented below.
- storage
Bare
Metal Admin Cluster Storage Args - Specifies the cluster storage configuration. Structure is documented below.
- uid str
- The unique identifier of the Bare Metal Admin Cluster.
- update_
time str - The time the cluster was last updated, in RFC3339 text format.
- validation_
checks Sequence[BareMetal Admin Cluster Validation Check Args] - Specifies the security related settings for the Bare Metal Admin Cluster. Structure is documented below.
- annotations Map<String>
Annotations on the Bare Metal Admin Cluster. This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.
Note: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field
effective_annotations
for all of the annotations present on the resource.- bare
Metal StringVersion - A human readable description of this Bare Metal Admin Cluster.
- cluster
Operations Property Map - Specifies the Admin Cluster's observability infrastructure. Structure is documented below.
- control
Plane Property Map - Specifies the control plane configuration. Structure is documented below.
- create
Time String - The time the cluster was created, in RFC3339 text format.
- delete
Time String - The time the cluster was deleted, in RFC3339 text format.
- description String
- A human readable description of this Bare Metal Admin Cluster.
- effective
Annotations Map<String> - endpoint String
- The IP address name of Bare Metal Admin Cluster's API server.
- etag String
- This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. Allows clients to perform consistent read-modify-writes through optimistic concurrency control.
- fleets List<Property Map>
- Fleet related configuration. Fleets are a Google Cloud concept for logically organizing clusters, letting you use and manage multi-cluster capabilities and apply consistent policies across your systems. See Anthos Fleets for more details on Anthos multi-cluster capabilities using Fleets. Structure is documented below.
- load
Balancer Property Map - Specifies the load balancer configuration. Structure is documented below.
- local
Name String - The object name of the Bare Metal Admin Cluster custom resource on the associated admin cluster. This field is used to support conflicting names when enrolling existing clusters to the API. When used as a part of cluster enrollment, this field will differ from the ID in the resource name. For new clusters, this field will match the user provided cluster ID and be visible in the last component of the resource name. It is not modifiable. All users should use this name to access their cluster using gkectl or kubectl and should expect to see the local name when viewing admin cluster controller logs.
- location String
- The location of the resource.
- maintenance
Config Property Map - Specifies the workload node configurations. Structure is documented below.
- name String
- The bare metal admin cluster name.
- network
Config Property Map - Network configuration. Structure is documented below.
- node
Access Property MapConfig - Specifies the node access related settings for the bare metal user cluster. Structure is documented below.
- node
Config Property Map - Specifies the workload node configurations. Structure is documented below.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- proxy Property Map
- Specifies the cluster proxy configuration. Structure is documented below.
- reconciling Boolean
- If set, there are currently changes in flight to the Bare Metal Admin Cluster.
- security
Config Property Map - Specifies the security related settings for the Bare Metal User Cluster. Structure is documented below.
- state String
- (Output) The lifecycle state of the condition.
- statuses List<Property Map>
- (Output) Specifies the detailed validation check status Structure is documented below.
- storage Property Map
- Specifies the cluster storage configuration. Structure is documented below.
- uid String
- The unique identifier of the Bare Metal Admin Cluster.
- update
Time String - The time the cluster was last updated, in RFC3339 text format.
- validation
Checks List<Property Map> - Specifies the security related settings for the Bare Metal Admin Cluster. Structure is documented below.
Supporting Types
BareMetalAdminClusterClusterOperations, BareMetalAdminClusterClusterOperationsArgs
- Enable
Application boolLogs - Whether collection of application logs/metrics should be enabled (in addition to system logs/metrics).
- Enable
Application boolLogs - Whether collection of application logs/metrics should be enabled (in addition to system logs/metrics).
- enable
Application BooleanLogs - Whether collection of application logs/metrics should be enabled (in addition to system logs/metrics).
- enable
Application booleanLogs - Whether collection of application logs/metrics should be enabled (in addition to system logs/metrics).
- enable_
application_ boollogs - Whether collection of application logs/metrics should be enabled (in addition to system logs/metrics).
- enable
Application BooleanLogs - Whether collection of application logs/metrics should be enabled (in addition to system logs/metrics).
BareMetalAdminClusterControlPlane, BareMetalAdminClusterControlPlaneArgs
- Control
Plane BareNode Pool Config Metal Admin Cluster Control Plane Control Plane Node Pool Config - Configures the node pool running the control plane. If specified the corresponding NodePool will be created for the cluster's control plane. The NodePool will have the same name and namespace as the cluster. Structure is documented below.
- Api
Server List<BareArgs Metal Admin Cluster Control Plane Api Server Arg> - Customizes the default API server args. Only a subset of customized flags are supported. Please refer to the API server documentation below to know the exact format: https://kubernetes.io/docs/reference/command-line-tools-reference/kube-apiserver/ Structure is documented below.
- Control
Plane BareNode Pool Config Metal Admin Cluster Control Plane Control Plane Node Pool Config - Configures the node pool running the control plane. If specified the corresponding NodePool will be created for the cluster's control plane. The NodePool will have the same name and namespace as the cluster. Structure is documented below.
- Api
Server []BareArgs Metal Admin Cluster Control Plane Api Server Arg - Customizes the default API server args. Only a subset of customized flags are supported. Please refer to the API server documentation below to know the exact format: https://kubernetes.io/docs/reference/command-line-tools-reference/kube-apiserver/ Structure is documented below.
- control
Plane BareNode Pool Config Metal Admin Cluster Control Plane Control Plane Node Pool Config - Configures the node pool running the control plane. If specified the corresponding NodePool will be created for the cluster's control plane. The NodePool will have the same name and namespace as the cluster. Structure is documented below.
- api
Server List<BareArgs Metal Admin Cluster Control Plane Api Server Arg> - Customizes the default API server args. Only a subset of customized flags are supported. Please refer to the API server documentation below to know the exact format: https://kubernetes.io/docs/reference/command-line-tools-reference/kube-apiserver/ Structure is documented below.
- control
Plane BareNode Pool Config Metal Admin Cluster Control Plane Control Plane Node Pool Config - Configures the node pool running the control plane. If specified the corresponding NodePool will be created for the cluster's control plane. The NodePool will have the same name and namespace as the cluster. Structure is documented below.
- api
Server BareArgs Metal Admin Cluster Control Plane Api Server Arg[] - Customizes the default API server args. Only a subset of customized flags are supported. Please refer to the API server documentation below to know the exact format: https://kubernetes.io/docs/reference/command-line-tools-reference/kube-apiserver/ Structure is documented below.
- control_
plane_ Barenode_ pool_ config Metal Admin Cluster Control Plane Control Plane Node Pool Config - Configures the node pool running the control plane. If specified the corresponding NodePool will be created for the cluster's control plane. The NodePool will have the same name and namespace as the cluster. Structure is documented below.
- api_
server_ Sequence[Bareargs Metal Admin Cluster Control Plane Api Server Arg] - Customizes the default API server args. Only a subset of customized flags are supported. Please refer to the API server documentation below to know the exact format: https://kubernetes.io/docs/reference/command-line-tools-reference/kube-apiserver/ Structure is documented below.
- control
Plane Property MapNode Pool Config - Configures the node pool running the control plane. If specified the corresponding NodePool will be created for the cluster's control plane. The NodePool will have the same name and namespace as the cluster. Structure is documented below.
- api
Server List<Property Map>Args - Customizes the default API server args. Only a subset of customized flags are supported. Please refer to the API server documentation below to know the exact format: https://kubernetes.io/docs/reference/command-line-tools-reference/kube-apiserver/ Structure is documented below.
BareMetalAdminClusterControlPlaneApiServerArg, BareMetalAdminClusterControlPlaneApiServerArgArgs
BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfig, BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigArgs
- Node
Pool BareConfig Metal Admin Cluster Control Plane Control Plane Node Pool Config Node Pool Config - The generic configuration for a node pool running the control plane. Structure is documented below.
- Node
Pool BareConfig Metal Admin Cluster Control Plane Control Plane Node Pool Config Node Pool Config - The generic configuration for a node pool running the control plane. Structure is documented below.
- node
Pool BareConfig Metal Admin Cluster Control Plane Control Plane Node Pool Config Node Pool Config - The generic configuration for a node pool running the control plane. Structure is documented below.
- node
Pool BareConfig Metal Admin Cluster Control Plane Control Plane Node Pool Config Node Pool Config - The generic configuration for a node pool running the control plane. Structure is documented below.
- node_
pool_ Bareconfig Metal Admin Cluster Control Plane Control Plane Node Pool Config Node Pool Config - The generic configuration for a node pool running the control plane. Structure is documented below.
- node
Pool Property MapConfig - The generic configuration for a node pool running the control plane. Structure is documented below.
BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfig, BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigArgs
- Labels Dictionary<string, string>
- The map of Kubernetes labels (key/value pairs) to be applied to each node. These will added in addition to any default label(s) that Kubernetes may apply to the node. In case of conflict in label keys, the applied set may differ depending on the Kubernetes version -- it's best to assume the behavior is undefined and conflicts should be avoided. For more information, including usage and the valid values, see: http://kubernetes.io/v1.1/docs/user-guide/labels.html An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
- Node
Configs List<BareMetal Admin Cluster Control Plane Control Plane Node Pool Config Node Pool Config Node Config> - The list of machine addresses in the Bare Metal Node Pool. Structure is documented below.
- Operating
System string - Specifies the nodes operating system (default: LINUX).
- Taints
List<Bare
Metal Admin Cluster Control Plane Control Plane Node Pool Config Node Pool Config Taint> - The initial taints assigned to nodes of this node pool. Structure is documented below.
- Labels map[string]string
- The map of Kubernetes labels (key/value pairs) to be applied to each node. These will added in addition to any default label(s) that Kubernetes may apply to the node. In case of conflict in label keys, the applied set may differ depending on the Kubernetes version -- it's best to assume the behavior is undefined and conflicts should be avoided. For more information, including usage and the valid values, see: http://kubernetes.io/v1.1/docs/user-guide/labels.html An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
- Node
Configs []BareMetal Admin Cluster Control Plane Control Plane Node Pool Config Node Pool Config Node Config - The list of machine addresses in the Bare Metal Node Pool. Structure is documented below.
- Operating
System string - Specifies the nodes operating system (default: LINUX).
- Taints
[]Bare
Metal Admin Cluster Control Plane Control Plane Node Pool Config Node Pool Config Taint - The initial taints assigned to nodes of this node pool. Structure is documented below.
- labels Map<String,String>
- The map of Kubernetes labels (key/value pairs) to be applied to each node. These will added in addition to any default label(s) that Kubernetes may apply to the node. In case of conflict in label keys, the applied set may differ depending on the Kubernetes version -- it's best to assume the behavior is undefined and conflicts should be avoided. For more information, including usage and the valid values, see: http://kubernetes.io/v1.1/docs/user-guide/labels.html An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
- node
Configs List<BareMetal Admin Cluster Control Plane Control Plane Node Pool Config Node Pool Config Node Config> - The list of machine addresses in the Bare Metal Node Pool. Structure is documented below.
- operating
System String - Specifies the nodes operating system (default: LINUX).
- taints
List<Bare
Metal Admin Cluster Control Plane Control Plane Node Pool Config Node Pool Config Taint> - The initial taints assigned to nodes of this node pool. Structure is documented below.
- labels {[key: string]: string}
- The map of Kubernetes labels (key/value pairs) to be applied to each node. These will added in addition to any default label(s) that Kubernetes may apply to the node. In case of conflict in label keys, the applied set may differ depending on the Kubernetes version -- it's best to assume the behavior is undefined and conflicts should be avoided. For more information, including usage and the valid values, see: http://kubernetes.io/v1.1/docs/user-guide/labels.html An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
- node
Configs BareMetal Admin Cluster Control Plane Control Plane Node Pool Config Node Pool Config Node Config[] - The list of machine addresses in the Bare Metal Node Pool. Structure is documented below.
- operating
System string - Specifies the nodes operating system (default: LINUX).
- taints
Bare
Metal Admin Cluster Control Plane Control Plane Node Pool Config Node Pool Config Taint[] - The initial taints assigned to nodes of this node pool. Structure is documented below.
- labels Mapping[str, str]
- The map of Kubernetes labels (key/value pairs) to be applied to each node. These will added in addition to any default label(s) that Kubernetes may apply to the node. In case of conflict in label keys, the applied set may differ depending on the Kubernetes version -- it's best to assume the behavior is undefined and conflicts should be avoided. For more information, including usage and the valid values, see: http://kubernetes.io/v1.1/docs/user-guide/labels.html An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
- node_
configs Sequence[BareMetal Admin Cluster Control Plane Control Plane Node Pool Config Node Pool Config Node Config] - The list of machine addresses in the Bare Metal Node Pool. Structure is documented below.
- operating_
system str - Specifies the nodes operating system (default: LINUX).
- taints
Sequence[Bare
Metal Admin Cluster Control Plane Control Plane Node Pool Config Node Pool Config Taint] - The initial taints assigned to nodes of this node pool. Structure is documented below.
- labels Map<String>
- The map of Kubernetes labels (key/value pairs) to be applied to each node. These will added in addition to any default label(s) that Kubernetes may apply to the node. In case of conflict in label keys, the applied set may differ depending on the Kubernetes version -- it's best to assume the behavior is undefined and conflicts should be avoided. For more information, including usage and the valid values, see: http://kubernetes.io/v1.1/docs/user-guide/labels.html An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
- node
Configs List<Property Map> - The list of machine addresses in the Bare Metal Node Pool. Structure is documented below.
- operating
System String - Specifies the nodes operating system (default: LINUX).
- taints List<Property Map>
- The initial taints assigned to nodes of this node pool. Structure is documented below.
BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfig, BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArgs
- Labels Dictionary<string, string>
- The map of Kubernetes labels (key/value pairs) to be applied to each node. These will added in addition to any default label(s) that Kubernetes may apply to the node. In case of conflict in label keys, the applied set may differ depending on the Kubernetes version -- it's best to assume the behavior is undefined and conflicts should be avoided. For more information, including usage and the valid values, see: http://kubernetes.io/v1.1/docs/user-guide/labels.html An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
- Node
Ip string - The default IPv4 address for SSH access and Kubernetes node. Example: 192.168.0.1
- Labels map[string]string
- The map of Kubernetes labels (key/value pairs) to be applied to each node. These will added in addition to any default label(s) that Kubernetes may apply to the node. In case of conflict in label keys, the applied set may differ depending on the Kubernetes version -- it's best to assume the behavior is undefined and conflicts should be avoided. For more information, including usage and the valid values, see: http://kubernetes.io/v1.1/docs/user-guide/labels.html An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
- Node
Ip string - The default IPv4 address for SSH access and Kubernetes node. Example: 192.168.0.1
- labels Map<String,String>
- The map of Kubernetes labels (key/value pairs) to be applied to each node. These will added in addition to any default label(s) that Kubernetes may apply to the node. In case of conflict in label keys, the applied set may differ depending on the Kubernetes version -- it's best to assume the behavior is undefined and conflicts should be avoided. For more information, including usage and the valid values, see: http://kubernetes.io/v1.1/docs/user-guide/labels.html An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
- node
Ip String - The default IPv4 address for SSH access and Kubernetes node. Example: 192.168.0.1
- labels {[key: string]: string}
- The map of Kubernetes labels (key/value pairs) to be applied to each node. These will added in addition to any default label(s) that Kubernetes may apply to the node. In case of conflict in label keys, the applied set may differ depending on the Kubernetes version -- it's best to assume the behavior is undefined and conflicts should be avoided. For more information, including usage and the valid values, see: http://kubernetes.io/v1.1/docs/user-guide/labels.html An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
- node
Ip string - The default IPv4 address for SSH access and Kubernetes node. Example: 192.168.0.1
- labels Mapping[str, str]
- The map of Kubernetes labels (key/value pairs) to be applied to each node. These will added in addition to any default label(s) that Kubernetes may apply to the node. In case of conflict in label keys, the applied set may differ depending on the Kubernetes version -- it's best to assume the behavior is undefined and conflicts should be avoided. For more information, including usage and the valid values, see: http://kubernetes.io/v1.1/docs/user-guide/labels.html An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
- node_
ip str - The default IPv4 address for SSH access and Kubernetes node. Example: 192.168.0.1
- labels Map<String>
- The map of Kubernetes labels (key/value pairs) to be applied to each node. These will added in addition to any default label(s) that Kubernetes may apply to the node. In case of conflict in label keys, the applied set may differ depending on the Kubernetes version -- it's best to assume the behavior is undefined and conflicts should be avoided. For more information, including usage and the valid values, see: http://kubernetes.io/v1.1/docs/user-guide/labels.html An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
- node
Ip String - The default IPv4 address for SSH access and Kubernetes node. Example: 192.168.0.1
BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigTaint, BareMetalAdminClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigTaintArgs
BareMetalAdminClusterFleet, BareMetalAdminClusterFleetArgs
- Membership string
- (Output)
The name of the managed Hub Membership resource associated to this cluster.
Membership names are formatted as
projects/<project-number>/locations/<location>/memberships/<cluster-id>
.
- Membership string
- (Output)
The name of the managed Hub Membership resource associated to this cluster.
Membership names are formatted as
projects/<project-number>/locations/<location>/memberships/<cluster-id>
.
- membership String
- (Output)
The name of the managed Hub Membership resource associated to this cluster.
Membership names are formatted as
projects/<project-number>/locations/<location>/memberships/<cluster-id>
.
- membership string
- (Output)
The name of the managed Hub Membership resource associated to this cluster.
Membership names are formatted as
projects/<project-number>/locations/<location>/memberships/<cluster-id>
.
- membership str
- (Output)
The name of the managed Hub Membership resource associated to this cluster.
Membership names are formatted as
projects/<project-number>/locations/<location>/memberships/<cluster-id>
.
- membership String
- (Output)
The name of the managed Hub Membership resource associated to this cluster.
Membership names are formatted as
projects/<project-number>/locations/<location>/memberships/<cluster-id>
.
BareMetalAdminClusterLoadBalancer, BareMetalAdminClusterLoadBalancerArgs
- Port
Config BareMetal Admin Cluster Load Balancer Port Config - Specifies the load balancer ports. Structure is documented below.
- Vip
Config BareMetal Admin Cluster Load Balancer Vip Config - Specified the Bare Metal Load Balancer Config Structure is documented below.
- Manual
Lb BareConfig Metal Admin Cluster Load Balancer Manual Lb Config - A nested object resource Structure is documented below.
- Port
Config BareMetal Admin Cluster Load Balancer Port Config - Specifies the load balancer ports. Structure is documented below.
- Vip
Config BareMetal Admin Cluster Load Balancer Vip Config - Specified the Bare Metal Load Balancer Config Structure is documented below.
- Manual
Lb BareConfig Metal Admin Cluster Load Balancer Manual Lb Config - A nested object resource Structure is documented below.
- port
Config BareMetal Admin Cluster Load Balancer Port Config - Specifies the load balancer ports. Structure is documented below.
- vip
Config BareMetal Admin Cluster Load Balancer Vip Config - Specified the Bare Metal Load Balancer Config Structure is documented below.
- manual
Lb BareConfig Metal Admin Cluster Load Balancer Manual Lb Config - A nested object resource Structure is documented below.
- port
Config BareMetal Admin Cluster Load Balancer Port Config - Specifies the load balancer ports. Structure is documented below.
- vip
Config BareMetal Admin Cluster Load Balancer Vip Config - Specified the Bare Metal Load Balancer Config Structure is documented below.
- manual
Lb BareConfig Metal Admin Cluster Load Balancer Manual Lb Config - A nested object resource Structure is documented below.
- port_
config BareMetal Admin Cluster Load Balancer Port Config - Specifies the load balancer ports. Structure is documented below.
- vip_
config BareMetal Admin Cluster Load Balancer Vip Config - Specified the Bare Metal Load Balancer Config Structure is documented below.
- manual_
lb_ Bareconfig Metal Admin Cluster Load Balancer Manual Lb Config - A nested object resource Structure is documented below.
- port
Config Property Map - Specifies the load balancer ports. Structure is documented below.
- vip
Config Property Map - Specified the Bare Metal Load Balancer Config Structure is documented below.
- manual
Lb Property MapConfig - A nested object resource Structure is documented below.
BareMetalAdminClusterLoadBalancerManualLbConfig, BareMetalAdminClusterLoadBalancerManualLbConfigArgs
- Enabled bool
- Whether manual load balancing is enabled.
- Enabled bool
- Whether manual load balancing is enabled.
- enabled Boolean
- Whether manual load balancing is enabled.
- enabled boolean
- Whether manual load balancing is enabled.
- enabled bool
- Whether manual load balancing is enabled.
- enabled Boolean
- Whether manual load balancing is enabled.
BareMetalAdminClusterLoadBalancerPortConfig, BareMetalAdminClusterLoadBalancerPortConfigArgs
- Control
Plane intLoad Balancer Port - The port that control plane hosted load balancers will listen on.
- Control
Plane intLoad Balancer Port - The port that control plane hosted load balancers will listen on.
- control
Plane IntegerLoad Balancer Port - The port that control plane hosted load balancers will listen on.
- control
Plane numberLoad Balancer Port - The port that control plane hosted load balancers will listen on.
- control_
plane_ intload_ balancer_ port - The port that control plane hosted load balancers will listen on.
- control
Plane NumberLoad Balancer Port - The port that control plane hosted load balancers will listen on.
BareMetalAdminClusterLoadBalancerVipConfig, BareMetalAdminClusterLoadBalancerVipConfigArgs
- Control
Plane stringVip - The VIP which you previously set aside for the Kubernetes API of this Bare Metal Admin Cluster.
- Control
Plane stringVip - The VIP which you previously set aside for the Kubernetes API of this Bare Metal Admin Cluster.
- control
Plane StringVip - The VIP which you previously set aside for the Kubernetes API of this Bare Metal Admin Cluster.
- control
Plane stringVip - The VIP which you previously set aside for the Kubernetes API of this Bare Metal Admin Cluster.
- control_
plane_ strvip - The VIP which you previously set aside for the Kubernetes API of this Bare Metal Admin Cluster.
- control
Plane StringVip - The VIP which you previously set aside for the Kubernetes API of this Bare Metal Admin Cluster.
BareMetalAdminClusterMaintenanceConfig, BareMetalAdminClusterMaintenanceConfigArgs
- Maintenance
Address List<string>Cidr Blocks - All IPv4 address from these ranges will be placed into maintenance mode. Nodes in maintenance mode will be cordoned and drained. When both of these are true, the "baremetal.cluster.gke.io/maintenance" annotation will be set on the node resource.
- Maintenance
Address []stringCidr Blocks - All IPv4 address from these ranges will be placed into maintenance mode. Nodes in maintenance mode will be cordoned and drained. When both of these are true, the "baremetal.cluster.gke.io/maintenance" annotation will be set on the node resource.
- maintenance
Address List<String>Cidr Blocks - All IPv4 address from these ranges will be placed into maintenance mode. Nodes in maintenance mode will be cordoned and drained. When both of these are true, the "baremetal.cluster.gke.io/maintenance" annotation will be set on the node resource.
- maintenance
Address string[]Cidr Blocks - All IPv4 address from these ranges will be placed into maintenance mode. Nodes in maintenance mode will be cordoned and drained. When both of these are true, the "baremetal.cluster.gke.io/maintenance" annotation will be set on the node resource.
- maintenance_
address_ Sequence[str]cidr_ blocks - All IPv4 address from these ranges will be placed into maintenance mode. Nodes in maintenance mode will be cordoned and drained. When both of these are true, the "baremetal.cluster.gke.io/maintenance" annotation will be set on the node resource.
- maintenance
Address List<String>Cidr Blocks - All IPv4 address from these ranges will be placed into maintenance mode. Nodes in maintenance mode will be cordoned and drained. When both of these are true, the "baremetal.cluster.gke.io/maintenance" annotation will be set on the node resource.
BareMetalAdminClusterNetworkConfig, BareMetalAdminClusterNetworkConfigArgs
- Island
Mode BareCidr Metal Admin Cluster Network Config Island Mode Cidr - A nested object resource Structure is documented below.
- Island
Mode BareCidr Metal Admin Cluster Network Config Island Mode Cidr - A nested object resource Structure is documented below.
- island
Mode BareCidr Metal Admin Cluster Network Config Island Mode Cidr - A nested object resource Structure is documented below.
- island
Mode BareCidr Metal Admin Cluster Network Config Island Mode Cidr - A nested object resource Structure is documented below.
- island_
mode_ Barecidr Metal Admin Cluster Network Config Island Mode Cidr - A nested object resource Structure is documented below.
- island
Mode Property MapCidr - A nested object resource Structure is documented below.
BareMetalAdminClusterNetworkConfigIslandModeCidr, BareMetalAdminClusterNetworkConfigIslandModeCidrArgs
- Pod
Address List<string>Cidr Blocks - All pods in the cluster are assigned an RFC1918 IPv4 address from these ranges. This field cannot be changed after creation.
- Service
Address List<string>Cidr Blocks - All services in the cluster are assigned an RFC1918 IPv4 address from these ranges. This field cannot be changed after creation.
- Pod
Address []stringCidr Blocks - All pods in the cluster are assigned an RFC1918 IPv4 address from these ranges. This field cannot be changed after creation.
- Service
Address []stringCidr Blocks - All services in the cluster are assigned an RFC1918 IPv4 address from these ranges. This field cannot be changed after creation.
- pod
Address List<String>Cidr Blocks - All pods in the cluster are assigned an RFC1918 IPv4 address from these ranges. This field cannot be changed after creation.
- service
Address List<String>Cidr Blocks - All services in the cluster are assigned an RFC1918 IPv4 address from these ranges. This field cannot be changed after creation.
- pod
Address string[]Cidr Blocks - All pods in the cluster are assigned an RFC1918 IPv4 address from these ranges. This field cannot be changed after creation.
- service
Address string[]Cidr Blocks - All services in the cluster are assigned an RFC1918 IPv4 address from these ranges. This field cannot be changed after creation.
- pod_
address_ Sequence[str]cidr_ blocks - All pods in the cluster are assigned an RFC1918 IPv4 address from these ranges. This field cannot be changed after creation.
- service_
address_ Sequence[str]cidr_ blocks - All services in the cluster are assigned an RFC1918 IPv4 address from these ranges. This field cannot be changed after creation.
- pod
Address List<String>Cidr Blocks - All pods in the cluster are assigned an RFC1918 IPv4 address from these ranges. This field cannot be changed after creation.
- service
Address List<String>Cidr Blocks - All services in the cluster are assigned an RFC1918 IPv4 address from these ranges. This field cannot be changed after creation.
BareMetalAdminClusterNodeAccessConfig, BareMetalAdminClusterNodeAccessConfigArgs
- Login
User string - LoginUser is the user name used to access node machines. It defaults to "root" if not set.
- Login
User string - LoginUser is the user name used to access node machines. It defaults to "root" if not set.
- login
User String - LoginUser is the user name used to access node machines. It defaults to "root" if not set.
- login
User string - LoginUser is the user name used to access node machines. It defaults to "root" if not set.
- login_
user str - LoginUser is the user name used to access node machines. It defaults to "root" if not set.
- login
User String - LoginUser is the user name used to access node machines. It defaults to "root" if not set.
BareMetalAdminClusterNodeConfig, BareMetalAdminClusterNodeConfigArgs
- Max
Pods intPer Node - The maximum number of pods a node can run. The size of the CIDR range assigned to the node will be derived from this parameter.
- Max
Pods intPer Node - The maximum number of pods a node can run. The size of the CIDR range assigned to the node will be derived from this parameter.
- max
Pods IntegerPer Node - The maximum number of pods a node can run. The size of the CIDR range assigned to the node will be derived from this parameter.
- max
Pods numberPer Node - The maximum number of pods a node can run. The size of the CIDR range assigned to the node will be derived from this parameter.
- max_
pods_ intper_ node - The maximum number of pods a node can run. The size of the CIDR range assigned to the node will be derived from this parameter.
- max
Pods NumberPer Node - The maximum number of pods a node can run. The size of the CIDR range assigned to the node will be derived from this parameter.
BareMetalAdminClusterProxy, BareMetalAdminClusterProxyArgs
- Uri string
- Specifies the address of your proxy server. Examples: http://domain WARNING: Do not provide credentials in the format http://(username:password@)domain these will be rejected by the server.
- No
Proxies List<string> - A list of IPs, hostnames, and domains that should skip the proxy. Examples: ["127.0.0.1", "example.com", ".corp", "localhost"].
- Uri string
- Specifies the address of your proxy server. Examples: http://domain WARNING: Do not provide credentials in the format http://(username:password@)domain these will be rejected by the server.
- No
Proxies []string - A list of IPs, hostnames, and domains that should skip the proxy. Examples: ["127.0.0.1", "example.com", ".corp", "localhost"].
- uri String
- Specifies the address of your proxy server. Examples: http://domain WARNING: Do not provide credentials in the format http://(username:password@)domain these will be rejected by the server.
- no
Proxies List<String> - A list of IPs, hostnames, and domains that should skip the proxy. Examples: ["127.0.0.1", "example.com", ".corp", "localhost"].
- uri string
- Specifies the address of your proxy server. Examples: http://domain WARNING: Do not provide credentials in the format http://(username:password@)domain these will be rejected by the server.
- no
Proxies string[] - A list of IPs, hostnames, and domains that should skip the proxy. Examples: ["127.0.0.1", "example.com", ".corp", "localhost"].
- uri str
- Specifies the address of your proxy server. Examples: http://domain WARNING: Do not provide credentials in the format http://(username:password@)domain these will be rejected by the server.
- no_
proxies Sequence[str] - A list of IPs, hostnames, and domains that should skip the proxy. Examples: ["127.0.0.1", "example.com", ".corp", "localhost"].
- uri String
- Specifies the address of your proxy server. Examples: http://domain WARNING: Do not provide credentials in the format http://(username:password@)domain these will be rejected by the server.
- no
Proxies List<String> - A list of IPs, hostnames, and domains that should skip the proxy. Examples: ["127.0.0.1", "example.com", ".corp", "localhost"].
BareMetalAdminClusterSecurityConfig, BareMetalAdminClusterSecurityConfigArgs
- Bare
Metal Admin Cluster Security Config Authorization - Configures user access to the Bare Metal User cluster. Structure is documented below.
- Bare
Metal Admin Cluster Security Config Authorization - Configures user access to the Bare Metal User cluster. Structure is documented below.
- Bare
Metal Admin Cluster Security Config Authorization - Configures user access to the Bare Metal User cluster. Structure is documented below.
- Bare
Metal Admin Cluster Security Config Authorization - Configures user access to the Bare Metal User cluster. Structure is documented below.
- Bare
Metal Admin Cluster Security Config Authorization - Configures user access to the Bare Metal User cluster. Structure is documented below.
- Property Map
- Configures user access to the Bare Metal User cluster. Structure is documented below.
BareMetalAdminClusterSecurityConfigAuthorization, BareMetalAdminClusterSecurityConfigAuthorizationArgs
- Admin
Users List<BareMetal Admin Cluster Security Config Authorization Admin User> - Users that will be granted the cluster-admin role on the cluster, providing full access to the cluster. Structure is documented below.
- Admin
Users []BareMetal Admin Cluster Security Config Authorization Admin User - Users that will be granted the cluster-admin role on the cluster, providing full access to the cluster. Structure is documented below.
- admin
Users List<BareMetal Admin Cluster Security Config Authorization Admin User> - Users that will be granted the cluster-admin role on the cluster, providing full access to the cluster. Structure is documented below.
- admin
Users BareMetal Admin Cluster Security Config Authorization Admin User[] - Users that will be granted the cluster-admin role on the cluster, providing full access to the cluster. Structure is documented below.
- admin_
users Sequence[BareMetal Admin Cluster Security Config Authorization Admin User] - Users that will be granted the cluster-admin role on the cluster, providing full access to the cluster. Structure is documented below.
- admin
Users List<Property Map> - Users that will be granted the cluster-admin role on the cluster, providing full access to the cluster. Structure is documented below.
BareMetalAdminClusterSecurityConfigAuthorizationAdminUser, BareMetalAdminClusterSecurityConfigAuthorizationAdminUserArgs
- Username string
- The name of the user, e.g.
my-gcp-id@gmail.com
.
- Username string
- The name of the user, e.g.
my-gcp-id@gmail.com
.
- username String
- The name of the user, e.g.
my-gcp-id@gmail.com
.
- username string
- The name of the user, e.g.
my-gcp-id@gmail.com
.
- username str
- The name of the user, e.g.
my-gcp-id@gmail.com
.
- username String
- The name of the user, e.g.
my-gcp-id@gmail.com
.
BareMetalAdminClusterStatus, BareMetalAdminClusterStatusArgs
- Conditions
List<Bare
Metal Admin Cluster Status Condition> - (Output) ResourceConditions provide a standard mechanism for higher-level status reporting from admin cluster controller. Structure is documented below.
- Error
Message string - (Output) Human-friendly representation of the error message from the admin cluster controller. The error message can be temporary as the admin cluster controller creates a cluster or node pool. If the error message persists for a longer period of time, it can be used to surface error message to indicate real problems requiring user intervention.
- Conditions
[]Bare
Metal Admin Cluster Status Condition - (Output) ResourceConditions provide a standard mechanism for higher-level status reporting from admin cluster controller. Structure is documented below.
- Error
Message string - (Output) Human-friendly representation of the error message from the admin cluster controller. The error message can be temporary as the admin cluster controller creates a cluster or node pool. If the error message persists for a longer period of time, it can be used to surface error message to indicate real problems requiring user intervention.
- conditions
List<Bare
Metal Admin Cluster Status Condition> - (Output) ResourceConditions provide a standard mechanism for higher-level status reporting from admin cluster controller. Structure is documented below.
- error
Message String - (Output) Human-friendly representation of the error message from the admin cluster controller. The error message can be temporary as the admin cluster controller creates a cluster or node pool. If the error message persists for a longer period of time, it can be used to surface error message to indicate real problems requiring user intervention.
- conditions
Bare
Metal Admin Cluster Status Condition[] - (Output) ResourceConditions provide a standard mechanism for higher-level status reporting from admin cluster controller. Structure is documented below.
- error
Message string - (Output) Human-friendly representation of the error message from the admin cluster controller. The error message can be temporary as the admin cluster controller creates a cluster or node pool. If the error message persists for a longer period of time, it can be used to surface error message to indicate real problems requiring user intervention.
- conditions
Sequence[Bare
Metal Admin Cluster Status Condition] - (Output) ResourceConditions provide a standard mechanism for higher-level status reporting from admin cluster controller. Structure is documented below.
- error_
message str - (Output) Human-friendly representation of the error message from the admin cluster controller. The error message can be temporary as the admin cluster controller creates a cluster or node pool. If the error message persists for a longer period of time, it can be used to surface error message to indicate real problems requiring user intervention.
- conditions List<Property Map>
- (Output) ResourceConditions provide a standard mechanism for higher-level status reporting from admin cluster controller. Structure is documented below.
- error
Message String - (Output) Human-friendly representation of the error message from the admin cluster controller. The error message can be temporary as the admin cluster controller creates a cluster or node pool. If the error message persists for a longer period of time, it can be used to surface error message to indicate real problems requiring user intervention.
BareMetalAdminClusterStatusCondition, BareMetalAdminClusterStatusConditionArgs
- Last
Transition stringTime - (Output) Last time the condition transit from one status to another.
- Message string
- Human-readable message indicating details about last transition.
- Reason string
- (Output) A human-readable message of the check failure.
- State string
- (Output) The lifecycle state of the condition.
- Type string
- Type of the condition. (e.g., ClusterRunning, NodePoolRunning or ServerSidePreflightReady)
- Last
Transition stringTime - (Output) Last time the condition transit from one status to another.
- Message string
- Human-readable message indicating details about last transition.
- Reason string
- (Output) A human-readable message of the check failure.
- State string
- (Output) The lifecycle state of the condition.
- Type string
- Type of the condition. (e.g., ClusterRunning, NodePoolRunning or ServerSidePreflightReady)
- last
Transition StringTime - (Output) Last time the condition transit from one status to another.
- message String
- Human-readable message indicating details about last transition.
- reason String
- (Output) A human-readable message of the check failure.
- state String
- (Output) The lifecycle state of the condition.
- type String
- Type of the condition. (e.g., ClusterRunning, NodePoolRunning or ServerSidePreflightReady)
- last
Transition stringTime - (Output) Last time the condition transit from one status to another.
- message string
- Human-readable message indicating details about last transition.
- reason string
- (Output) A human-readable message of the check failure.
- state string
- (Output) The lifecycle state of the condition.
- type string
- Type of the condition. (e.g., ClusterRunning, NodePoolRunning or ServerSidePreflightReady)
- last_
transition_ strtime - (Output) Last time the condition transit from one status to another.
- message str
- Human-readable message indicating details about last transition.
- reason str
- (Output) A human-readable message of the check failure.
- state str
- (Output) The lifecycle state of the condition.
- type str
- Type of the condition. (e.g., ClusterRunning, NodePoolRunning or ServerSidePreflightReady)
- last
Transition StringTime - (Output) Last time the condition transit from one status to another.
- message String
- Human-readable message indicating details about last transition.
- reason String
- (Output) A human-readable message of the check failure.
- state String
- (Output) The lifecycle state of the condition.
- type String
- Type of the condition. (e.g., ClusterRunning, NodePoolRunning or ServerSidePreflightReady)
BareMetalAdminClusterStorage, BareMetalAdminClusterStorageArgs
- Lvp
Node BareMounts Config Metal Admin Cluster Storage Lvp Node Mounts Config - Specifies the config for local PersistentVolumes backed by mounted node disks. These disks need to be formatted and mounted by the user, which can be done before or after cluster creation. Structure is documented below.
- Bare
Metal Admin Cluster Storage Lvp Share Config - Specifies the config for local PersistentVolumes backed by subdirectories in a shared filesystem. These subdirectores are automatically created during cluster creation. Structure is documented below.
- Lvp
Node BareMounts Config Metal Admin Cluster Storage Lvp Node Mounts Config - Specifies the config for local PersistentVolumes backed by mounted node disks. These disks need to be formatted and mounted by the user, which can be done before or after cluster creation. Structure is documented below.
- Bare
Metal Admin Cluster Storage Lvp Share Config - Specifies the config for local PersistentVolumes backed by subdirectories in a shared filesystem. These subdirectores are automatically created during cluster creation. Structure is documented below.
- lvp
Node BareMounts Config Metal Admin Cluster Storage Lvp Node Mounts Config - Specifies the config for local PersistentVolumes backed by mounted node disks. These disks need to be formatted and mounted by the user, which can be done before or after cluster creation. Structure is documented below.
- Bare
Metal Admin Cluster Storage Lvp Share Config - Specifies the config for local PersistentVolumes backed by subdirectories in a shared filesystem. These subdirectores are automatically created during cluster creation. Structure is documented below.
- lvp
Node BareMounts Config Metal Admin Cluster Storage Lvp Node Mounts Config - Specifies the config for local PersistentVolumes backed by mounted node disks. These disks need to be formatted and mounted by the user, which can be done before or after cluster creation. Structure is documented below.
- Bare
Metal Admin Cluster Storage Lvp Share Config - Specifies the config for local PersistentVolumes backed by subdirectories in a shared filesystem. These subdirectores are automatically created during cluster creation. Structure is documented below.
- lvp_
node_ Baremounts_ config Metal Admin Cluster Storage Lvp Node Mounts Config - Specifies the config for local PersistentVolumes backed by mounted node disks. These disks need to be formatted and mounted by the user, which can be done before or after cluster creation. Structure is documented below.
- Bare
Metal Admin Cluster Storage Lvp Share Config - Specifies the config for local PersistentVolumes backed by subdirectories in a shared filesystem. These subdirectores are automatically created during cluster creation. Structure is documented below.
- lvp
Node Property MapMounts Config - Specifies the config for local PersistentVolumes backed by mounted node disks. These disks need to be formatted and mounted by the user, which can be done before or after cluster creation. Structure is documented below.
- Property Map
- Specifies the config for local PersistentVolumes backed by subdirectories in a shared filesystem. These subdirectores are automatically created during cluster creation. Structure is documented below.
BareMetalAdminClusterStorageLvpNodeMountsConfig, BareMetalAdminClusterStorageLvpNodeMountsConfigArgs
- Path string
- The host machine path.
- Storage
Class string - The StorageClass name that PVs will be created with.
- Path string
- The host machine path.
- Storage
Class string - The StorageClass name that PVs will be created with.
- path String
- The host machine path.
- storage
Class String - The StorageClass name that PVs will be created with.
- path string
- The host machine path.
- storage
Class string - The StorageClass name that PVs will be created with.
- path str
- The host machine path.
- storage_
class str - The StorageClass name that PVs will be created with.
- path String
- The host machine path.
- storage
Class String - The StorageClass name that PVs will be created with.
BareMetalAdminClusterStorageLvpShareConfig, BareMetalAdminClusterStorageLvpShareConfigArgs
- Lvp
Config BareMetal Admin Cluster Storage Lvp Share Config Lvp Config - Defines the machine path and storage class for the LVP Share. Structure is documented below.
- int
- The number of subdirectories to create under path.
- Lvp
Config BareMetal Admin Cluster Storage Lvp Share Config Lvp Config - Defines the machine path and storage class for the LVP Share. Structure is documented below.
- int
- The number of subdirectories to create under path.
- lvp
Config BareMetal Admin Cluster Storage Lvp Share Config Lvp Config - Defines the machine path and storage class for the LVP Share. Structure is documented below.
- Integer
- The number of subdirectories to create under path.
- lvp
Config BareMetal Admin Cluster Storage Lvp Share Config Lvp Config - Defines the machine path and storage class for the LVP Share. Structure is documented below.
- number
- The number of subdirectories to create under path.
- lvp_
config BareMetal Admin Cluster Storage Lvp Share Config Lvp Config - Defines the machine path and storage class for the LVP Share. Structure is documented below.
- int
- The number of subdirectories to create under path.
- lvp
Config Property Map - Defines the machine path and storage class for the LVP Share. Structure is documented below.
- Number
- The number of subdirectories to create under path.
BareMetalAdminClusterStorageLvpShareConfigLvpConfig, BareMetalAdminClusterStorageLvpShareConfigLvpConfigArgs
- Path string
- The host machine path.
- Storage
Class string - The StorageClass name that PVs will be created with.
- Path string
- The host machine path.
- Storage
Class string - The StorageClass name that PVs will be created with.
- path String
- The host machine path.
- storage
Class String - The StorageClass name that PVs will be created with.
- path string
- The host machine path.
- storage
Class string - The StorageClass name that PVs will be created with.
- path str
- The host machine path.
- storage_
class str - The StorageClass name that PVs will be created with.
- path String
- The host machine path.
- storage
Class String - The StorageClass name that PVs will be created with.
BareMetalAdminClusterValidationCheck, BareMetalAdminClusterValidationCheckArgs
- Options string
- (Output) Options used for the validation check.
- Scenario string
- (Output) The scenario when the preflight checks were run..
- Statuses
List<Bare
Metal Admin Cluster Validation Check Status> - (Output) Specifies the detailed validation check status Structure is documented below.
- Options string
- (Output) Options used for the validation check.
- Scenario string
- (Output) The scenario when the preflight checks were run..
- Statuses
[]Bare
Metal Admin Cluster Validation Check Status - (Output) Specifies the detailed validation check status Structure is documented below.
- options String
- (Output) Options used for the validation check.
- scenario String
- (Output) The scenario when the preflight checks were run..
- statuses
List<Bare
Metal Admin Cluster Validation Check Status> - (Output) Specifies the detailed validation check status Structure is documented below.
- options string
- (Output) Options used for the validation check.
- scenario string
- (Output) The scenario when the preflight checks were run..
- statuses
Bare
Metal Admin Cluster Validation Check Status[] - (Output) Specifies the detailed validation check status Structure is documented below.
- options str
- (Output) Options used for the validation check.
- scenario str
- (Output) The scenario when the preflight checks were run..
- statuses
Sequence[Bare
Metal Admin Cluster Validation Check Status] - (Output) Specifies the detailed validation check status Structure is documented below.
- options String
- (Output) Options used for the validation check.
- scenario String
- (Output) The scenario when the preflight checks were run..
- statuses List<Property Map>
- (Output) Specifies the detailed validation check status Structure is documented below.
BareMetalAdminClusterValidationCheckStatus, BareMetalAdminClusterValidationCheckStatusArgs
- Results
List<Bare
Metal Admin Cluster Validation Check Status Result> - (Output) Individual checks which failed as part of the Preflight check execution. Structure is documented below.
- Results
[]Bare
Metal Admin Cluster Validation Check Status Result - (Output) Individual checks which failed as part of the Preflight check execution. Structure is documented below.
- results
List<Bare
Metal Admin Cluster Validation Check Status Result> - (Output) Individual checks which failed as part of the Preflight check execution. Structure is documented below.
- results
Bare
Metal Admin Cluster Validation Check Status Result[] - (Output) Individual checks which failed as part of the Preflight check execution. Structure is documented below.
- results
Sequence[Bare
Metal Admin Cluster Validation Check Status Result] - (Output) Individual checks which failed as part of the Preflight check execution. Structure is documented below.
- results List<Property Map>
- (Output) Individual checks which failed as part of the Preflight check execution. Structure is documented below.
BareMetalAdminClusterValidationCheckStatusResult, BareMetalAdminClusterValidationCheckStatusResultArgs
- Category string
- (Output) The category of the validation.
- Description string
- A human readable description of this Bare Metal Admin Cluster.
- Details string
- (Output) Detailed failure information, which might be unformatted.
- Options string
- (Output) Options used for the validation check.
- Reason string
- (Output) A human-readable message of the check failure.
- Category string
- (Output) The category of the validation.
- Description string
- A human readable description of this Bare Metal Admin Cluster.
- Details string
- (Output) Detailed failure information, which might be unformatted.
- Options string
- (Output) Options used for the validation check.
- Reason string
- (Output) A human-readable message of the check failure.
- category String
- (Output) The category of the validation.
- description String
- A human readable description of this Bare Metal Admin Cluster.
- details String
- (Output) Detailed failure information, which might be unformatted.
- options String
- (Output) Options used for the validation check.
- reason String
- (Output) A human-readable message of the check failure.
- category string
- (Output) The category of the validation.
- description string
- A human readable description of this Bare Metal Admin Cluster.
- details string
- (Output) Detailed failure information, which might be unformatted.
- options string
- (Output) Options used for the validation check.
- reason string
- (Output) A human-readable message of the check failure.
- category str
- (Output) The category of the validation.
- description str
- A human readable description of this Bare Metal Admin Cluster.
- details str
- (Output) Detailed failure information, which might be unformatted.
- options str
- (Output) Options used for the validation check.
- reason str
- (Output) A human-readable message of the check failure.
- category String
- (Output) The category of the validation.
- description String
- A human readable description of this Bare Metal Admin Cluster.
- details String
- (Output) Detailed failure information, which might be unformatted.
- options String
- (Output) Options used for the validation check.
- reason String
- (Output) A human-readable message of the check failure.
Import
BareMetalAdminCluster can be imported using any of these accepted formats:
projects/{{project}}/locations/{{location}}/bareMetalAdminClusters/{{name}}
{{project}}/{{location}}/{{name}}
{{location}}/{{name}}
When using the pulumi import
command, BareMetalAdminCluster can be imported using one of the formats above. For example:
$ pulumi import gcp:gkeonprem/bareMetalAdminCluster:BareMetalAdminCluster default projects/{{project}}/locations/{{location}}/bareMetalAdminClusters/{{name}}
$ pulumi import gcp:gkeonprem/bareMetalAdminCluster:BareMetalAdminCluster default {{project}}/{{location}}/{{name}}
$ pulumi import gcp:gkeonprem/bareMetalAdminCluster:BareMetalAdminCluster default {{location}}/{{name}}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Google Cloud (GCP) Classic pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-beta
Terraform Provider.