Helpers

Built-In Helpers

Kubes provides core helper methods to help write Kubernetes YAML files. Docs: Built-In Helpers.

DSL Specific Methods

Each DSL resource has it’s own specific methods. Refer to the DSL Docs for their methods.

Provider Helpers

There are also provider-specific helpers:

Generator

To help you get started quickly, you can generate starter helper code.

$ kubes new helper custom
      create  .kubes/helpers/custom_helper.rb

.kubes/helpers/custom_helper.rb

module CustomHelper
end