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
It looks like the kompose replica option isn't working with v3 compose file including deploy label:
$ ./kompose version
1.0.0 (5f89e1a)
$ cat script/test/fixtures/v3/docker-compose-deploy-mode.yaml
version: "3"
services:
foo:
deploy:
mode: global
replicas: 6
image: redis
$ ./kompose up --provider=openshift --emptyvols --replicas 2 -f script/test/fixtures/v3/docker-compose-deploy-mode.yaml
WARN Global mode not yet supported, containers will only be replicated once throughout the cluster. DaemonSet support will be added in the future.
INFO We are going to create OpenShift DeploymentConfigs, Services for your Dockerized application.
If you need different kind of resources, use the 'kompose convert' and 'oc create -f' commands instead.
INFO Deploying application in "myproject" namespace
INFO Successfully created Service: foo
INFO Successfully created DeploymentConfig: foo
INFO Successfully created ImageStream: foo
Your application has been deployed to OpenShift. You can run 'oc get dc,svc,is' for details.
$ oc get pods
NAME READY STATUS RESTARTS AGE
foo-1-jrqdc 1/1 Running 0 10m
The text was updated successfully, but these errors were encountered:
It looks like the kompose replica option isn't working with v3 compose file including deploy label:
The text was updated successfully, but these errors were encountered: