plugins

Home

Plugins

GitHub

Blog

k8s-deployment-check

version: 0.0.1 |  date: 07/21/2021 |  Check k8s deployment |  source code

# k8s-deployment-check

Check k8s deployment

# Install

    s6 --install k8s-deployment-check

# Usage

Raku

    my %data = task-run "dpl check", "k8s-deployment-check" %(
      namespace => "pets",
      cat => %(
        command => "/usr/bin/cat",
        args => [
          "eat", "milk", "fish" 
        ],
        env => {
          "ENABLE_LOGGING" => "false",
        }
        volume-mounts => {
          foo-bar => "/opt/foo/bar",
        }
      )
    );

# Verification parameters

## container

Name of container. Optional. If not set _the first_ container in a containers list is check.

## volume-mounts

Array|Hash. List of mounted volumes in a format

Array:

    "name mountpath"

Hash:

    name => mountpath

For subPath use following notation:

Array:

    "name mountpath@subpath"

Hash:

    name => mountpath@subpath

## env

Hash. List of environment variables in a format:

    name => value

## command

Array|Str. Docker command

## command-args

Array|Str. Docker command arguments

# Examples

See some examples here:

* examples/

# Dependencies

`k8s cli`

# Author

Aleksei Melezhik