class Squarectl::Tasks::Kube

Overview

Orchestration layer for the kube target. .convert renders the merged compose config and pipes it through kompose to (re)generate manifests into the output dir; .apply/.setup then act on them via kubectl.

Defined in:

squarectl/tasks/kube.cr

Class Method Summary

Class Method Detail

def self.apply(task, args) #

[View source]
def self.convert(task, args, output) #

Renders the compose config and converts it to Kubernetes manifests. Defaults the output to the environment's kubernetes/<env>/ dir and wipes any previous manifests there first.


[View source]
def self.setup(task, args) #

[View source]