Instance Cluster
The gitlab.InstanceCluster
resource allows to manage the lifecycle of an instance cluster.
This is deprecated GitLab feature since 14.5 Upstream API: GitLab REST API docs
Example Usage
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gitlab.InstanceCluster;
import com.pulumi.gitlab.InstanceClusterArgs;
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 bar = new InstanceCluster("bar", InstanceClusterArgs.builder()
.domain("example.com")
.enabled(true)
.environmentScope("*")
.kubernetesApiUrl("https://124.124.124")
.kubernetesAuthorizationType("rbac")
.kubernetesCaCert("some-cert")
.kubernetesNamespace("namespace")
.kubernetesToken("some-token")
.managementProjectId("123456")
.build());
}
}
Content copied to clipboard
Import
GitLab instance clusters can be imported using a clusterid
, e.g.
$ pulumi import gitlab:index/instanceCluster:InstanceCluster bar 123
Content copied to clipboard
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard