-
Notifications
You must be signed in to change notification settings - Fork 752
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
convert file fail #47
Comments
@wayarmy Could you please upload your compose file ? |
`redis: elasticsearch: jackfruit: &app_base something like this?? Is this OK? |
This works for me on HEAD: With this test-compose.yml file redis:
image: redis:latest
ports:
- "6379:6379"
elasticsearch:
image: elasticsearch:latest
ports:
- "9200:9200"
- "9300:9300"
static:
image: wayarmy/jackfruit:0.1
ports:
- "80:8080"
jackfruit: &app_base
image: wayarmy/jackfruit:0.1
ports:
- "8080"
links: &app_links
- redis:redis.local
- elasticsearch:elasticsearch.local
- static:static.local
environment:
RAILS_ENV: 'production'
RAILS_SERVE_STATIC_FILES: 'true'
UNICORN_PORT: '8080'
UNICORN_PROCESSES: '2'
UNICORN_TIMEOUT: '30'
UNICORN_WORKING_DIR: '/home/rails/jackfruit/'
UNICORN_PID: '/home/rails/jackfruit/shared/pids/unicorn.pid'
UNICORN_ERR_LOG: '/home/rails/jackfruit/shared/log/unicorn.stderr.log'
UNICORN_LOG: '/home/rails/jackfruit/shared/log/unicorn.stdout.log' $ kompose convert -f test-compose.yml
file "jackfruit-svc.json" created
file "redis-svc.json" created
file "static-svc.json" created
file "elasticsearch-svc.json" created
file "redis-deployment.json" created
file "static-deployment.json" created
file "elasticsearch-deployment.json" created
file "jackfruit-deployment.json" created |
I can reproduce this error with the |
i download this binary for darwin amd64, but i don't know what i need to do any more. I don't have experience with go and go-binary, did it work on MacOsx???. I still get this error. |
@wayarmy you're right. This error happens on the pre-release 0.0.1-alpha. Can you try to build kompose on HEAD master ? @janetkuo run it success, so do I. Build instruction: https://github.com/skippbox/kompose#building |
let's just cut a 0.0.1-beta.1 release |
@Runseb will do tonight. I'm fixing some bugs with unsupported key and labels mapping. |
@wayarmy I uploaded a new release just for you: Could you download it and test it, it should fix your issue. thanks. |
@dmilind Download the newest Kompose :) |
thanks @cdrage |
i've just use "kompose convert" from an docker-compose.yaml file to new file yml of k8s, but it went wrong, and show me the error:
"ERRO[0000] Failed to unmarshall: Cannot unmarshal '30' of type int64 into a string value"
Is this new issue? Or i did wrong?
@ngtuna
The text was updated successfully, but these errors were encountered: