Skip to content
This repository was archived by the owner on Jan 19, 2018. It is now read-only.
This repository was archived by the owner on Jan 19, 2018. It is now read-only.

RFE: given a collection of OpenShift templates (or Kubernetes JSON files) apply them all in service order first #18

@jstrachan

Description

@jstrachan

Note this might already be fixed - just adding it as a note to be sure its done...

If you have N OpenShift templates and/or Kubernetes JSON files, we'll need to process all the OpenShift templates first (e.g. via osc process command line tool). Then we're left with an ordered list of Kubernetes JSON files.

We need to then iterate through all these JSON files and apply the Services first; to generate the constant service portalIP addresses. Then in the second phase, we do everything but the Services (i.e. Pods and Replication Controllers) which by this time should have all the environment variables setup correctly to point to all the services.

If you don't provision things in a 2 phase approach; its possible to get cycles (Pod A uses service B and Pod B uses service A) and one of the pods doesn't get the IP address of the service.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions