File initializer

Often users will need to perform an operation that only triggers some bash logic, a tiny python script, or they might need to create a file based on the input of a polyaxonfile and feed it to their main logic. Polyaxon has now a new initializer: file. This initializer allows to create a file, a here script (or here-doc) that can be used by following init containers or the main container.

version: 1.1
kind: component
  kind: job
    - file:
        content: |
          print("Hello World")
    image: polyaxon/polyaxon-quick-start
    workingDir: '{{ globals.artifacts_path }}'
    command: [python3, -u,]

The new file initializer has several use-cases, and eventually will be the way to initialize dockerfiles instead of the current dockerfile initializer.

Please checkout the new intro section that goes through a couple of examples of how to use this new initializer.

Learn More about Polyaxon

This blog post just goes over a couple of features that we shipped since our last product update, there are several other features and fixes that are worth checking. To learn more about all the features, fixes, and enhancements, please visit the release notes.

Polyaxon continues to grow quickly and keeps improving and providing the simplest machine learning abstraction. We hope that these updates will improve your workflows and increase your productivity, and again, thank you for your continued feedback and support.