Archive Location Note This example is a replication of an Argo Workflow example in Hera. The upstream example can be found here. HeraYAML 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16from hera.workflows import ( Container, Workflow, ) with Workflow( generate_name="archive-location-", entrypoint="whalesay", ) as w: Container( name="whalesay", image="docker/whalesay:latest", command=["cowsay"], args=["hello world"], archive_location={"archive_logs": True}, ) 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16apiVersion: argoproj.io/v1alpha1 kind: Workflow metadata: generateName: archive-location- spec: entrypoint: whalesay templates: - archiveLocation: archiveLogs: true container: args: - hello world command: - cowsay image: docker/whalesay:latest name: whalesay Comments