You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now machine configuration is matched to OpenShift container by pod and container names. It means that machine name should be specified in the following format web/main where web is pod name and main is the name of a container in the specified pod.
It works fine for openshift recipes but it doesn't work while converting dockerimage recipes to openshift recipes. To solve this problem it is needed to add an ability to match machine from configuration to OpenShift container without the composite machine name.
It's proposed to rework OpenShift container to machine configuration in the following way:
Get the name of the container.
Check if Pod annotations contains annotation org.eclipse.che.{containerName}.machine_name
if yes - use the value of this annotations as machine name for this container
if not - use the following value {POD_NAME}/{CONTAINER_NAME} as machine name for this container.
P.S. Name of org.eclipse.che.{containerName}.machine_name annotation can be discussed and changed.
The text was updated successfully, but these errors were encountered:
akorneta
added
status/in-progress
This issue has been taken by an engineer and is under active development.
and removed
status/open-for-dev
An issue has had its specification reviewed and confirmed. Waiting for an engineer to take it.
labels
Nov 13, 2017
Description
Now machine configuration is matched to OpenShift container by pod and container names. It means that machine name should be specified in the following format
web/main
whereweb
is pod name andmain
is the name of a container in the specified pod.It works fine for
openshift
recipes but it doesn't work while convertingdockerimage
recipes toopenshift
recipes. To solve this problem it is needed to add an ability to match machine from configuration to OpenShift container without the composite machine name.It's proposed to rework OpenShift container to machine configuration in the following way:
org.eclipse.che.{containerName}.machine_name
{POD_NAME}/{CONTAINER_NAME}
as machine name for this container.P.S. Name of
org.eclipse.che.{containerName}.machine_name
annotation can be discussed and changed.The text was updated successfully, but these errors were encountered: