Skip to content

ydkn/pulumi-k0s

Repository files navigation

Actions Status NPM version Python version NuGet version PkgGoDev

k0s Pulumi Provider

Pulumi provider for k0s based on k0sctl.

Installing

This package is available in many languages in the standard packaging formats.

Node.js (Java/TypeScript)

To use from JavaScript or TypeScript in Node.js, install using either npm:

$ npm install @ydkn/pulumi-k0s

or yarn:

$ yarn add @ydkn/pulumi-k0s

Python

To use from Python, install using pip:

$ pip install pulumi_k0s

Go

To use from Go, use go get to grab the latest version of the library

$ go get github.com/ydkn/pulumi-k0s/sdk

.NET

To use from .NET, install using dotnet add package:

$ dotnet add package Pulumi.K0s

Configuration

The following provider configuration options are available:

  • skipDowngradeCheck - Do not check if a downgrade would be performed.
  • noDrain - Do not drain nodes before upgrades/updates.

Deploying

  1. Push a tag to your repo in the format "v0.0.0" to initiate a release

    IMPORTANT: also add a tag in the format "sdk/v0.0.0" for the Go SDK