Reputation: 75
My application is based on 2 openshift images. I want to create a single template for them to start 2 pod (1 pod for each image). I know that we can have multiple container in single pod but we need to create separate pods for each image.
Upvotes: 0
Views: 1201
Reputation: 58563
You need to have multiple DeploymentConfig
resource objects defined in the template, along with corresponding Service
definitions and if necessary a Route
. For a more complex example involving deploying multiple applications in one go, see:
Upvotes: 1