-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add installation docs with automation (#455)
Part of pulumi/home#3598 Generates a single index.md file with relevant content and adds automation.
- Loading branch information
1 parent
cea65f8
commit 761a54f
Showing
3 changed files
with
117 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,111 @@ | ||
--- | ||
title: Rke Provider | ||
meta_desc: Provides an overview on how to configure the Pulumi Rke provider. | ||
layout: package | ||
--- | ||
## Installation | ||
|
||
The rke provider is available as a package in all Pulumi languages: | ||
|
||
* JavaScript/TypeScript: [`@pulumi/rke`](https://www.npmjs.com/package/@pulumi/rke) | ||
* Python: [`pulumi-rke`](https://pypi.org/project/pulumi-rke/) | ||
* Go: [`github.com/pulumi/pulumi-rke/sdk/v3/go/rke`](https://github.com/pulumi/pulumi-rke) | ||
* .NET: [`Pulumi.Rke`](https://www.nuget.org/packages/Pulumi.Rke) | ||
* Java: [`com.pulumi/rke`](https://central.sonatype.com/artifact/com.pulumi/rke) | ||
## Overview | ||
|
||
The RKE provider is used to interact with Rancher Kubernetes Engine kubernetes clusters. | ||
## Example Usage | ||
|
||
{{< chooser language "typescript,python,go,csharp,java,yaml" >}} | ||
{{% choosable language typescript %}} | ||
```yaml | ||
# Pulumi.yaml provider configuration file | ||
name: configuration-example | ||
runtime: nodejs | ||
config: | ||
rke:debug: | ||
value: true | ||
rke:logFile: | ||
value: <rke_log_file> | ||
|
||
``` | ||
|
||
{{% /choosable %}} | ||
{{% choosable language python %}} | ||
```yaml | ||
# Pulumi.yaml provider configuration file | ||
name: configuration-example | ||
runtime: python | ||
config: | ||
rke:debug: | ||
value: true | ||
rke:logFile: | ||
value: <rke_log_file> | ||
|
||
``` | ||
|
||
{{% /choosable %}} | ||
{{% choosable language csharp %}} | ||
```yaml | ||
# Pulumi.yaml provider configuration file | ||
name: configuration-example | ||
runtime: dotnet | ||
config: | ||
rke:debug: | ||
value: true | ||
rke:logFile: | ||
value: <rke_log_file> | ||
|
||
``` | ||
|
||
{{% /choosable %}} | ||
{{% choosable language go %}} | ||
```yaml | ||
# Pulumi.yaml provider configuration file | ||
name: configuration-example | ||
runtime: go | ||
config: | ||
rke:debug: | ||
value: true | ||
rke:logFile: | ||
value: <rke_log_file> | ||
|
||
``` | ||
|
||
{{% /choosable %}} | ||
{{% choosable language yaml %}} | ||
```yaml | ||
# Pulumi.yaml provider configuration file | ||
name: configuration-example | ||
runtime: yaml | ||
config: | ||
rke:debug: | ||
value: true | ||
rke:logFile: | ||
value: <rke_log_file> | ||
|
||
``` | ||
|
||
{{% /choosable %}} | ||
{{% choosable language java %}} | ||
```yaml | ||
# Pulumi.yaml provider configuration file | ||
name: configuration-example | ||
runtime: java | ||
config: | ||
rke:debug: | ||
value: true | ||
rke:logFile: | ||
value: <rke_log_file> | ||
|
||
``` | ||
|
||
{{% /choosable %}} | ||
{{< /chooser >}} | ||
## Configuration Reference | ||
|
||
The following configuration inputs are supported: | ||
|
||
* `debug` - (Optional) Enable RKE debug logs. It can also be sourced from the `RKE_DEBUG` environment variable. Default `false` (bool) | ||
* `logFile` - (Optional) Save RKE logs to a file. It can also be sourced from the `RKE_LOG_FILE` environment variable (string) |