Skip to content
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

kompose up/down not creating/deleting POD object generated with convert #342

Closed
surajssd opened this issue Dec 21, 2016 · 5 comments
Closed
Assignees
Labels
kind/bug Categorizes issue or PR as related to a bug. priority/P0
Milestone

Comments

@surajssd
Copy link
Member

No description provided.

@surajssd surajssd self-assigned this Dec 21, 2016
@cdrage
Copy link
Member

cdrage commented Dec 22, 2016

Hey @surajssd do you mind giving a test example? I'm trying to replicate this.

@kadel
Copy link
Member

kadel commented Jan 3, 2017

what this is about?

@kadel
Copy link
Member

kadel commented Jan 3, 2017

@surajssd
Is this issue about this?

version: "2"

services:
  foo:
    image: "busybox"
    restart: "on-failure"
    command: ["sleep", "30s"]
▶ kompose up       
WARN[0000] [foo] Service cannot be created because of missing port. 
We are going to create Kubernetes Deployments, Services and PersistentVolumeClaims for your Dockerized application. 
If you need different kind of resources, use the 'kompose convert' and 'kubectl create -f' commands instead. 

FATA[0000] Error while deploying application: Deployment.extensions "foo" is invalid: spec.template.spec.restartPolicy: Unsupported value: "OnFailure": supported values: Always 

@surajssd
Copy link
Member Author

surajssd commented Jan 3, 2017

here is the docker-compose file i am using

$ cat docker-compose.yml 
version: "2"

services:
  mariadb:
    image: centos/mariadb
    restart: "no"

when doing convert

$ kompose convert
INFO[0000] file "mariadb-pod.json" created

when doing up nothing is created

$ kompose up                                                                                                                                                               
We are going to create Kubernetes Deployments, Services and PersistentVolumeClaims for your Dockerized application. 
If you need different kind of resources, use the 'kompose convert' and 'kubectl create -f' commands instead. 


Your application has been deployed to Kubernetes. You can run 'kubectl get deployment,svc,pods,pvc' for details.

sorry for incomplete info above.

@kadel kadel added kind/bug Categorizes issue or PR as related to a bug. priority/P0 labels Jan 3, 2017
@surajssd surajssd removed their assignment Jan 3, 2017
@ngtuna ngtuna self-assigned this Jan 4, 2017
@kadel kadel added this to the v0.3 release milestone Jan 4, 2017
ngtuna added a commit to ngtuna/kompose that referenced this issue Jan 5, 2017
ngtuna added a commit to ngtuna/kompose that referenced this issue Jan 10, 2017
@kadel
Copy link
Member

kadel commented Jan 11, 2017

fixed in #363

@kadel kadel closed this as completed Jan 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. priority/P0
Projects
None yet
Development

No branches or pull requests

4 participants