ibm.ContainerClusterFeature
Explore with Pulumi AI
Enable or disable a feature in your IBM Cloud Kubernetes Service cluster. For more information, about IBM container cluster feature, see Security for IBM Cloud Kubernetes Service. Supported features include:
- Public service endpoint
- Private service endpoint
Example Usage
The following example enables the private service endpoint feature for a cluster that is named mycluster
.
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const feature = new ibm.ContainerClusterFeature("feature", {
cluster: "test1",
privateServiceEndpoint: true,
});
import pulumi
import pulumi_ibm as ibm
feature = ibm.ContainerClusterFeature("feature",
cluster="test1",
private_service_endpoint=True)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ibm.NewContainerClusterFeature(ctx, "feature", &ibm.ContainerClusterFeatureArgs{
Cluster: pulumi.String("test1"),
PrivateServiceEndpoint: pulumi.Bool(true),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;
return await Deployment.RunAsync(() =>
{
var feature = new Ibm.ContainerClusterFeature("feature", new()
{
Cluster = "test1",
PrivateServiceEndpoint = true,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.ContainerClusterFeature;
import com.pulumi.ibm.ContainerClusterFeatureArgs;
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 feature = new ContainerClusterFeature("feature", ContainerClusterFeatureArgs.builder()
.cluster("test1")
.privateServiceEndpoint("true")
.build());
}
}
resources:
feature:
type: ibm:ContainerClusterFeature
properties:
cluster: test1
privateServiceEndpoint: 'true'
Create ContainerClusterFeature Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ContainerClusterFeature(name: string, args: ContainerClusterFeatureArgs, opts?: CustomResourceOptions);
@overload
def ContainerClusterFeature(resource_name: str,
args: ContainerClusterFeatureArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ContainerClusterFeature(resource_name: str,
opts: Optional[ResourceOptions] = None,
cluster: Optional[str] = None,
container_cluster_feature_id: Optional[str] = None,
private_service_endpoint: Optional[bool] = None,
public_service_endpoint: Optional[bool] = None,
refresh_api_servers: Optional[bool] = None,
reload_workers: Optional[bool] = None,
resource_group_id: Optional[str] = None,
timeouts: Optional[ContainerClusterFeatureTimeoutsArgs] = None)
func NewContainerClusterFeature(ctx *Context, name string, args ContainerClusterFeatureArgs, opts ...ResourceOption) (*ContainerClusterFeature, error)
public ContainerClusterFeature(string name, ContainerClusterFeatureArgs args, CustomResourceOptions? opts = null)
public ContainerClusterFeature(String name, ContainerClusterFeatureArgs args)
public ContainerClusterFeature(String name, ContainerClusterFeatureArgs args, CustomResourceOptions options)
type: ibm:ContainerClusterFeature
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 ContainerClusterFeatureArgs
- 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 ContainerClusterFeatureArgs
- 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 ContainerClusterFeatureArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ContainerClusterFeatureArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ContainerClusterFeatureArgs
- 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 containerClusterFeatureResource = new Ibm.ContainerClusterFeature("containerClusterFeatureResource", new()
{
Cluster = "string",
ContainerClusterFeatureId = "string",
PrivateServiceEndpoint = false,
PublicServiceEndpoint = false,
RefreshApiServers = false,
ReloadWorkers = false,
ResourceGroupId = "string",
Timeouts = new Ibm.Inputs.ContainerClusterFeatureTimeoutsArgs
{
Create = "string",
Update = "string",
},
});
example, err := ibm.NewContainerClusterFeature(ctx, "containerClusterFeatureResource", &ibm.ContainerClusterFeatureArgs{
Cluster: pulumi.String("string"),
ContainerClusterFeatureId: pulumi.String("string"),
PrivateServiceEndpoint: pulumi.Bool(false),
PublicServiceEndpoint: pulumi.Bool(false),
RefreshApiServers: pulumi.Bool(false),
ReloadWorkers: pulumi.Bool(false),
ResourceGroupId: pulumi.String("string"),
Timeouts: &ibm.ContainerClusterFeatureTimeoutsArgs{
Create: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
var containerClusterFeatureResource = new ContainerClusterFeature("containerClusterFeatureResource", ContainerClusterFeatureArgs.builder()
.cluster("string")
.containerClusterFeatureId("string")
.privateServiceEndpoint(false)
.publicServiceEndpoint(false)
.refreshApiServers(false)
.reloadWorkers(false)
.resourceGroupId("string")
.timeouts(ContainerClusterFeatureTimeoutsArgs.builder()
.create("string")
.update("string")
.build())
.build());
container_cluster_feature_resource = ibm.ContainerClusterFeature("containerClusterFeatureResource",
cluster="string",
container_cluster_feature_id="string",
private_service_endpoint=False,
public_service_endpoint=False,
refresh_api_servers=False,
reload_workers=False,
resource_group_id="string",
timeouts={
"create": "string",
"update": "string",
})
const containerClusterFeatureResource = new ibm.ContainerClusterFeature("containerClusterFeatureResource", {
cluster: "string",
containerClusterFeatureId: "string",
privateServiceEndpoint: false,
publicServiceEndpoint: false,
refreshApiServers: false,
reloadWorkers: false,
resourceGroupId: "string",
timeouts: {
create: "string",
update: "string",
},
});
type: ibm:ContainerClusterFeature
properties:
cluster: string
containerClusterFeatureId: string
privateServiceEndpoint: false
publicServiceEndpoint: false
refreshApiServers: false
reloadWorkers: false
resourceGroupId: string
timeouts:
create: string
update: string
ContainerClusterFeature Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ContainerClusterFeature resource accepts the following input properties:
- Cluster string
- The name or ID of the cluster for which you want to enable or disabled a feature. To find the name or ID, use the
ibmcloud ks cluster ls
command. - Container
Cluster stringFeature Id - (String) The ID of the cluster feature.
- Private
Service boolEndpoint - Enable (true) or disable (false) the private service endpoint for your cluster. When the private service endpoint is enabled, communication between the Kubernetes and the worker nodes is established over the private network. If you enable the private service endpoint, you cannot disable it later. To use service endpoints, your account must be enabled for Virtual Routing and Forwarding (VRF). For more information, see Worker-to-master and user-to-master communication: Service endpoints.
- Public
Service boolEndpoint - Enable(true) or disable (false) the public service endpoint for your cluster. You can use the public service endpoint to access the Kubernetes master from the public network. To use service endpoints, your account must be enabled for Virtual Routing and Forwarding (VRF). For more information, see Worker-to-master and user-to-master communication: Service endpoints.
- Refresh
Api boolServers - If set to true, the Kubernetes master of the cluster is refreshed to apply the changes of your feature. If set to false, no refresh of the Kubernetes master is performed.
- Reload
Workers bool - If set to true, your worker nodes are reloaded after the feature is enabled. If set to false, no reload of the worker nodes is performed.
- Resource
Group stringId - The ID of the resource group that your cluster belongs to. You can retrieve the resource group by using the
ibm.ResourceGroup
data source. - Timeouts
Container
Cluster Feature Timeouts
- Cluster string
- The name or ID of the cluster for which you want to enable or disabled a feature. To find the name or ID, use the
ibmcloud ks cluster ls
command. - Container
Cluster stringFeature Id - (String) The ID of the cluster feature.
- Private
Service boolEndpoint - Enable (true) or disable (false) the private service endpoint for your cluster. When the private service endpoint is enabled, communication between the Kubernetes and the worker nodes is established over the private network. If you enable the private service endpoint, you cannot disable it later. To use service endpoints, your account must be enabled for Virtual Routing and Forwarding (VRF). For more information, see Worker-to-master and user-to-master communication: Service endpoints.
- Public
Service boolEndpoint - Enable(true) or disable (false) the public service endpoint for your cluster. You can use the public service endpoint to access the Kubernetes master from the public network. To use service endpoints, your account must be enabled for Virtual Routing and Forwarding (VRF). For more information, see Worker-to-master and user-to-master communication: Service endpoints.
- Refresh
Api boolServers - If set to true, the Kubernetes master of the cluster is refreshed to apply the changes of your feature. If set to false, no refresh of the Kubernetes master is performed.
- Reload
Workers bool - If set to true, your worker nodes are reloaded after the feature is enabled. If set to false, no reload of the worker nodes is performed.
- Resource
Group stringId - The ID of the resource group that your cluster belongs to. You can retrieve the resource group by using the
ibm.ResourceGroup
data source. - Timeouts
Container
Cluster Feature Timeouts Args
- cluster String
- The name or ID of the cluster for which you want to enable or disabled a feature. To find the name or ID, use the
ibmcloud ks cluster ls
command. - container
Cluster StringFeature Id - (String) The ID of the cluster feature.
- private
Service BooleanEndpoint - Enable (true) or disable (false) the private service endpoint for your cluster. When the private service endpoint is enabled, communication between the Kubernetes and the worker nodes is established over the private network. If you enable the private service endpoint, you cannot disable it later. To use service endpoints, your account must be enabled for Virtual Routing and Forwarding (VRF). For more information, see Worker-to-master and user-to-master communication: Service endpoints.
- public
Service BooleanEndpoint - Enable(true) or disable (false) the public service endpoint for your cluster. You can use the public service endpoint to access the Kubernetes master from the public network. To use service endpoints, your account must be enabled for Virtual Routing and Forwarding (VRF). For more information, see Worker-to-master and user-to-master communication: Service endpoints.
- refresh
Api BooleanServers - If set to true, the Kubernetes master of the cluster is refreshed to apply the changes of your feature. If set to false, no refresh of the Kubernetes master is performed.
- reload
Workers Boolean - If set to true, your worker nodes are reloaded after the feature is enabled. If set to false, no reload of the worker nodes is performed.
- resource
Group StringId - The ID of the resource group that your cluster belongs to. You can retrieve the resource group by using the
ibm.ResourceGroup
data source. - timeouts
Container
Cluster Feature Timeouts
- cluster string
- The name or ID of the cluster for which you want to enable or disabled a feature. To find the name or ID, use the
ibmcloud ks cluster ls
command. - container
Cluster stringFeature Id - (String) The ID of the cluster feature.
- private
Service booleanEndpoint - Enable (true) or disable (false) the private service endpoint for your cluster. When the private service endpoint is enabled, communication between the Kubernetes and the worker nodes is established over the private network. If you enable the private service endpoint, you cannot disable it later. To use service endpoints, your account must be enabled for Virtual Routing and Forwarding (VRF). For more information, see Worker-to-master and user-to-master communication: Service endpoints.
- public
Service booleanEndpoint - Enable(true) or disable (false) the public service endpoint for your cluster. You can use the public service endpoint to access the Kubernetes master from the public network. To use service endpoints, your account must be enabled for Virtual Routing and Forwarding (VRF). For more information, see Worker-to-master and user-to-master communication: Service endpoints.
- refresh
Api booleanServers - If set to true, the Kubernetes master of the cluster is refreshed to apply the changes of your feature. If set to false, no refresh of the Kubernetes master is performed.
- reload
Workers boolean - If set to true, your worker nodes are reloaded after the feature is enabled. If set to false, no reload of the worker nodes is performed.
- resource
Group stringId - The ID of the resource group that your cluster belongs to. You can retrieve the resource group by using the
ibm.ResourceGroup
data source. - timeouts
Container
Cluster Feature Timeouts
- cluster str
- The name or ID of the cluster for which you want to enable or disabled a feature. To find the name or ID, use the
ibmcloud ks cluster ls
command. - container_
cluster_ strfeature_ id - (String) The ID of the cluster feature.
- private_
service_ boolendpoint - Enable (true) or disable (false) the private service endpoint for your cluster. When the private service endpoint is enabled, communication between the Kubernetes and the worker nodes is established over the private network. If you enable the private service endpoint, you cannot disable it later. To use service endpoints, your account must be enabled for Virtual Routing and Forwarding (VRF). For more information, see Worker-to-master and user-to-master communication: Service endpoints.
- public_
service_ boolendpoint - Enable(true) or disable (false) the public service endpoint for your cluster. You can use the public service endpoint to access the Kubernetes master from the public network. To use service endpoints, your account must be enabled for Virtual Routing and Forwarding (VRF). For more information, see Worker-to-master and user-to-master communication: Service endpoints.
- refresh_
api_ boolservers - If set to true, the Kubernetes master of the cluster is refreshed to apply the changes of your feature. If set to false, no refresh of the Kubernetes master is performed.
- reload_
workers bool - If set to true, your worker nodes are reloaded after the feature is enabled. If set to false, no reload of the worker nodes is performed.
- resource_
group_ strid - The ID of the resource group that your cluster belongs to. You can retrieve the resource group by using the
ibm.ResourceGroup
data source. - timeouts
Container
Cluster Feature Timeouts Args
- cluster String
- The name or ID of the cluster for which you want to enable or disabled a feature. To find the name or ID, use the
ibmcloud ks cluster ls
command. - container
Cluster StringFeature Id - (String) The ID of the cluster feature.
- private
Service BooleanEndpoint - Enable (true) or disable (false) the private service endpoint for your cluster. When the private service endpoint is enabled, communication between the Kubernetes and the worker nodes is established over the private network. If you enable the private service endpoint, you cannot disable it later. To use service endpoints, your account must be enabled for Virtual Routing and Forwarding (VRF). For more information, see Worker-to-master and user-to-master communication: Service endpoints.
- public
Service BooleanEndpoint - Enable(true) or disable (false) the public service endpoint for your cluster. You can use the public service endpoint to access the Kubernetes master from the public network. To use service endpoints, your account must be enabled for Virtual Routing and Forwarding (VRF). For more information, see Worker-to-master and user-to-master communication: Service endpoints.
- refresh
Api BooleanServers - If set to true, the Kubernetes master of the cluster is refreshed to apply the changes of your feature. If set to false, no refresh of the Kubernetes master is performed.
- reload
Workers Boolean - If set to true, your worker nodes are reloaded after the feature is enabled. If set to false, no reload of the worker nodes is performed.
- resource
Group StringId - The ID of the resource group that your cluster belongs to. You can retrieve the resource group by using the
ibm.ResourceGroup
data source. - timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the ContainerClusterFeature resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Private
Service stringEndpoint Url - (String) The URL to the private service endpoint of your cluster.
- Public
Service stringEndpoint Url - (String) The URL to the public service endpoint of your cluster.
- Id string
- The provider-assigned unique ID for this managed resource.
- Private
Service stringEndpoint Url - (String) The URL to the private service endpoint of your cluster.
- Public
Service stringEndpoint Url - (String) The URL to the public service endpoint of your cluster.
- id String
- The provider-assigned unique ID for this managed resource.
- private
Service StringEndpoint Url - (String) The URL to the private service endpoint of your cluster.
- public
Service StringEndpoint Url - (String) The URL to the public service endpoint of your cluster.
- id string
- The provider-assigned unique ID for this managed resource.
- private
Service stringEndpoint Url - (String) The URL to the private service endpoint of your cluster.
- public
Service stringEndpoint Url - (String) The URL to the public service endpoint of your cluster.
- id str
- The provider-assigned unique ID for this managed resource.
- private_
service_ strendpoint_ url - (String) The URL to the private service endpoint of your cluster.
- public_
service_ strendpoint_ url - (String) The URL to the public service endpoint of your cluster.
- id String
- The provider-assigned unique ID for this managed resource.
- private
Service StringEndpoint Url - (String) The URL to the private service endpoint of your cluster.
- public
Service StringEndpoint Url - (String) The URL to the public service endpoint of your cluster.
Look up Existing ContainerClusterFeature Resource
Get an existing ContainerClusterFeature 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?: ContainerClusterFeatureState, opts?: CustomResourceOptions): ContainerClusterFeature
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
cluster: Optional[str] = None,
container_cluster_feature_id: Optional[str] = None,
private_service_endpoint: Optional[bool] = None,
private_service_endpoint_url: Optional[str] = None,
public_service_endpoint: Optional[bool] = None,
public_service_endpoint_url: Optional[str] = None,
refresh_api_servers: Optional[bool] = None,
reload_workers: Optional[bool] = None,
resource_group_id: Optional[str] = None,
timeouts: Optional[ContainerClusterFeatureTimeoutsArgs] = None) -> ContainerClusterFeature
func GetContainerClusterFeature(ctx *Context, name string, id IDInput, state *ContainerClusterFeatureState, opts ...ResourceOption) (*ContainerClusterFeature, error)
public static ContainerClusterFeature Get(string name, Input<string> id, ContainerClusterFeatureState? state, CustomResourceOptions? opts = null)
public static ContainerClusterFeature get(String name, Output<String> id, ContainerClusterFeatureState state, CustomResourceOptions options)
resources: _: type: ibm:ContainerClusterFeature get: id: ${id}
- 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.
- Cluster string
- The name or ID of the cluster for which you want to enable or disabled a feature. To find the name or ID, use the
ibmcloud ks cluster ls
command. - Container
Cluster stringFeature Id - (String) The ID of the cluster feature.
- Private
Service boolEndpoint - Enable (true) or disable (false) the private service endpoint for your cluster. When the private service endpoint is enabled, communication between the Kubernetes and the worker nodes is established over the private network. If you enable the private service endpoint, you cannot disable it later. To use service endpoints, your account must be enabled for Virtual Routing and Forwarding (VRF). For more information, see Worker-to-master and user-to-master communication: Service endpoints.
- Private
Service stringEndpoint Url - (String) The URL to the private service endpoint of your cluster.
- Public
Service boolEndpoint - Enable(true) or disable (false) the public service endpoint for your cluster. You can use the public service endpoint to access the Kubernetes master from the public network. To use service endpoints, your account must be enabled for Virtual Routing and Forwarding (VRF). For more information, see Worker-to-master and user-to-master communication: Service endpoints.
- Public
Service stringEndpoint Url - (String) The URL to the public service endpoint of your cluster.
- Refresh
Api boolServers - If set to true, the Kubernetes master of the cluster is refreshed to apply the changes of your feature. If set to false, no refresh of the Kubernetes master is performed.
- Reload
Workers bool - If set to true, your worker nodes are reloaded after the feature is enabled. If set to false, no reload of the worker nodes is performed.
- Resource
Group stringId - The ID of the resource group that your cluster belongs to. You can retrieve the resource group by using the
ibm.ResourceGroup
data source. - Timeouts
Container
Cluster Feature Timeouts
- Cluster string
- The name or ID of the cluster for which you want to enable or disabled a feature. To find the name or ID, use the
ibmcloud ks cluster ls
command. - Container
Cluster stringFeature Id - (String) The ID of the cluster feature.
- Private
Service boolEndpoint - Enable (true) or disable (false) the private service endpoint for your cluster. When the private service endpoint is enabled, communication between the Kubernetes and the worker nodes is established over the private network. If you enable the private service endpoint, you cannot disable it later. To use service endpoints, your account must be enabled for Virtual Routing and Forwarding (VRF). For more information, see Worker-to-master and user-to-master communication: Service endpoints.
- Private
Service stringEndpoint Url - (String) The URL to the private service endpoint of your cluster.
- Public
Service boolEndpoint - Enable(true) or disable (false) the public service endpoint for your cluster. You can use the public service endpoint to access the Kubernetes master from the public network. To use service endpoints, your account must be enabled for Virtual Routing and Forwarding (VRF). For more information, see Worker-to-master and user-to-master communication: Service endpoints.
- Public
Service stringEndpoint Url - (String) The URL to the public service endpoint of your cluster.
- Refresh
Api boolServers - If set to true, the Kubernetes master of the cluster is refreshed to apply the changes of your feature. If set to false, no refresh of the Kubernetes master is performed.
- Reload
Workers bool - If set to true, your worker nodes are reloaded after the feature is enabled. If set to false, no reload of the worker nodes is performed.
- Resource
Group stringId - The ID of the resource group that your cluster belongs to. You can retrieve the resource group by using the
ibm.ResourceGroup
data source. - Timeouts
Container
Cluster Feature Timeouts Args
- cluster String
- The name or ID of the cluster for which you want to enable or disabled a feature. To find the name or ID, use the
ibmcloud ks cluster ls
command. - container
Cluster StringFeature Id - (String) The ID of the cluster feature.
- private
Service BooleanEndpoint - Enable (true) or disable (false) the private service endpoint for your cluster. When the private service endpoint is enabled, communication between the Kubernetes and the worker nodes is established over the private network. If you enable the private service endpoint, you cannot disable it later. To use service endpoints, your account must be enabled for Virtual Routing and Forwarding (VRF). For more information, see Worker-to-master and user-to-master communication: Service endpoints.
- private
Service StringEndpoint Url - (String) The URL to the private service endpoint of your cluster.
- public
Service BooleanEndpoint - Enable(true) or disable (false) the public service endpoint for your cluster. You can use the public service endpoint to access the Kubernetes master from the public network. To use service endpoints, your account must be enabled for Virtual Routing and Forwarding (VRF). For more information, see Worker-to-master and user-to-master communication: Service endpoints.
- public
Service StringEndpoint Url - (String) The URL to the public service endpoint of your cluster.
- refresh
Api BooleanServers - If set to true, the Kubernetes master of the cluster is refreshed to apply the changes of your feature. If set to false, no refresh of the Kubernetes master is performed.
- reload
Workers Boolean - If set to true, your worker nodes are reloaded after the feature is enabled. If set to false, no reload of the worker nodes is performed.
- resource
Group StringId - The ID of the resource group that your cluster belongs to. You can retrieve the resource group by using the
ibm.ResourceGroup
data source. - timeouts
Container
Cluster Feature Timeouts
- cluster string
- The name or ID of the cluster for which you want to enable or disabled a feature. To find the name or ID, use the
ibmcloud ks cluster ls
command. - container
Cluster stringFeature Id - (String) The ID of the cluster feature.
- private
Service booleanEndpoint - Enable (true) or disable (false) the private service endpoint for your cluster. When the private service endpoint is enabled, communication between the Kubernetes and the worker nodes is established over the private network. If you enable the private service endpoint, you cannot disable it later. To use service endpoints, your account must be enabled for Virtual Routing and Forwarding (VRF). For more information, see Worker-to-master and user-to-master communication: Service endpoints.
- private
Service stringEndpoint Url - (String) The URL to the private service endpoint of your cluster.
- public
Service booleanEndpoint - Enable(true) or disable (false) the public service endpoint for your cluster. You can use the public service endpoint to access the Kubernetes master from the public network. To use service endpoints, your account must be enabled for Virtual Routing and Forwarding (VRF). For more information, see Worker-to-master and user-to-master communication: Service endpoints.
- public
Service stringEndpoint Url - (String) The URL to the public service endpoint of your cluster.
- refresh
Api booleanServers - If set to true, the Kubernetes master of the cluster is refreshed to apply the changes of your feature. If set to false, no refresh of the Kubernetes master is performed.
- reload
Workers boolean - If set to true, your worker nodes are reloaded after the feature is enabled. If set to false, no reload of the worker nodes is performed.
- resource
Group stringId - The ID of the resource group that your cluster belongs to. You can retrieve the resource group by using the
ibm.ResourceGroup
data source. - timeouts
Container
Cluster Feature Timeouts
- cluster str
- The name or ID of the cluster for which you want to enable or disabled a feature. To find the name or ID, use the
ibmcloud ks cluster ls
command. - container_
cluster_ strfeature_ id - (String) The ID of the cluster feature.
- private_
service_ boolendpoint - Enable (true) or disable (false) the private service endpoint for your cluster. When the private service endpoint is enabled, communication between the Kubernetes and the worker nodes is established over the private network. If you enable the private service endpoint, you cannot disable it later. To use service endpoints, your account must be enabled for Virtual Routing and Forwarding (VRF). For more information, see Worker-to-master and user-to-master communication: Service endpoints.
- private_
service_ strendpoint_ url - (String) The URL to the private service endpoint of your cluster.
- public_
service_ boolendpoint - Enable(true) or disable (false) the public service endpoint for your cluster. You can use the public service endpoint to access the Kubernetes master from the public network. To use service endpoints, your account must be enabled for Virtual Routing and Forwarding (VRF). For more information, see Worker-to-master and user-to-master communication: Service endpoints.
- public_
service_ strendpoint_ url - (String) The URL to the public service endpoint of your cluster.
- refresh_
api_ boolservers - If set to true, the Kubernetes master of the cluster is refreshed to apply the changes of your feature. If set to false, no refresh of the Kubernetes master is performed.
- reload_
workers bool - If set to true, your worker nodes are reloaded after the feature is enabled. If set to false, no reload of the worker nodes is performed.
- resource_
group_ strid - The ID of the resource group that your cluster belongs to. You can retrieve the resource group by using the
ibm.ResourceGroup
data source. - timeouts
Container
Cluster Feature Timeouts Args
- cluster String
- The name or ID of the cluster for which you want to enable or disabled a feature. To find the name or ID, use the
ibmcloud ks cluster ls
command. - container
Cluster StringFeature Id - (String) The ID of the cluster feature.
- private
Service BooleanEndpoint - Enable (true) or disable (false) the private service endpoint for your cluster. When the private service endpoint is enabled, communication between the Kubernetes and the worker nodes is established over the private network. If you enable the private service endpoint, you cannot disable it later. To use service endpoints, your account must be enabled for Virtual Routing and Forwarding (VRF). For more information, see Worker-to-master and user-to-master communication: Service endpoints.
- private
Service StringEndpoint Url - (String) The URL to the private service endpoint of your cluster.
- public
Service BooleanEndpoint - Enable(true) or disable (false) the public service endpoint for your cluster. You can use the public service endpoint to access the Kubernetes master from the public network. To use service endpoints, your account must be enabled for Virtual Routing and Forwarding (VRF). For more information, see Worker-to-master and user-to-master communication: Service endpoints.
- public
Service StringEndpoint Url - (String) The URL to the public service endpoint of your cluster.
- refresh
Api BooleanServers - If set to true, the Kubernetes master of the cluster is refreshed to apply the changes of your feature. If set to false, no refresh of the Kubernetes master is performed.
- reload
Workers Boolean - If set to true, your worker nodes are reloaded after the feature is enabled. If set to false, no reload of the worker nodes is performed.
- resource
Group StringId - The ID of the resource group that your cluster belongs to. You can retrieve the resource group by using the
ibm.ResourceGroup
data source. - timeouts Property Map
Supporting Types
ContainerClusterFeatureTimeouts, ContainerClusterFeatureTimeoutsArgs
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.