If pods/example.yml contains:
version: "2"
services: {}
And pods/targets/production/example.yml contains:
We will output version: "2.4". This breaks kompose convert, which seems to be pretty confused about version numbers in general:
kompose convert --file exported.yml --chart --replicas\=1
FATA Version 2.4 of Docker Compose is not supported. Please use version 1, 2 or 3
Workaround: Always use version: "2" at the top of any files in pods/targets that you'll pass to kompose.
If
pods/example.ymlcontains:And
pods/targets/production/example.ymlcontains:We will output
version: "2.4". This breakskompose convert, which seems to be pretty confused about version numbers in general:Workaround: Always use
version: "2"at the top of any files inpods/targetsthat you'll pass tokompose.