Skip to content
This repository was archived by the owner on Aug 14, 2020. It is now read-only.
This repository was archived by the owner on Aug 14, 2020. It is now read-only.

[question] clarification of image id in PodManifest #627

@blalor

Description

@blalor

I want to work on extending Nomad's support for rkt, and would like to pave the way for other ACEs. Most of rkt's command-line arguments can be replaced by a PodManifest document. My thought is that instead of having Nomad build up a string of arguments to be passed to the rkt binary, it could instead generate a PodManifest and use rkt's --pod-manifest argument instead. The thing I'm struggling with is that the PodManifest requires an element in apps to have the image object's id property specified. But the only way I see within rkt to resolve an image's ID is to use rkt fetch. Furthermore, rkt will not create a pod from a PodManifest if the image doesn't exist in the local store, even if the image ID is provided along with the name and labels.

If instead a PodManifest did not require the image ID and was able to drive image discovery using the provided name and labels, it seems to me that the PodManifest could be a truly portable input to an ACE.

I haven't fully internalized the appc spec, but could someone help me understand the purpose of the PodManifest, and what an appropriate workflow to determine the image ID should be in the confines of the current spec? I don't expect the command-line interface to an ACE to be standardized or captured in the spec, but the PodManifest very nearly achieves the goal of being a portable definition of a pod.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions