/kind.cluster.create

create a kubernetes in docker cluster if one does not already exist

Primary LanguageShell

Problem statement

creates a kind (kubernetes in docker) cluster if one does not already exist and saves the kind kubeconfig to the current directory.

Format

the op uses opspec 0.1.5 definition format

Example usage

Install

opctl op install github.com/zachpuck/kind.cluster.create#0.1.0

Run

opctl run github.com/zachpuck/kind.cluster.create#0.1.0

Compose

op:
  ref: github.com/zachpuck/kind.cluster.create#0.1.0
  inputs:
    name:
    dockerSocket:
    # params w/ defaults
    configDir:
    kindConfig:
  outputs:
    kubeConfig: