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

Stop k8s created container at cluster stop #54

Open
cescoferraro opened this issue Apr 17, 2016 · 1 comment
Open

Stop k8s created container at cluster stop #54

cescoferraro opened this issue Apr 17, 2016 · 1 comment

Comments

@cescoferraro
Copy link

As you can see, container created previously do not get killed.
A complete solution for this would consider #52 too

cesco@desktop: ~/code/go/src/github.com/wercker/wercker on master [+!?]
$ spread cluster start
Started localkube...
Setup and using kubectl `localkube` context.
cesco@desktop: ~/code/go/src/github.com/wercker/wercker on master [+!?]
$ docker ps
CONTAINER ID        IMAGE                            COMMAND                  CREATED             STATUS              PORTS                                 NAMES
ce75bd37fe36        weaveworks/weaveexec:1.4.5       "/home/weave/weavepro"   3 seconds ago       Up 2 seconds                                              weaveproxy
6a32ee850fc6        weaveworks/weave:1.4.5           "/home/weave/weaver -"   4 seconds ago       Up 3 seconds                                              weave
6c5e7427f229        redspreadapps/localkube:latest   "start.sh"               5 seconds ago       Up 4 seconds                                              localkube
17320df36681        f6284d9b5b83                     "./bindev runserver"     29 hours ago        Up 29 hours         0.0.0.0:9001->9000/tcp                iot_web_1
beae33ef02d3        cescoferraro/mongo:latest        "/run.sh"                2 days ago          Up 2 days           0.0.0.0:27017->27017/tcp, 28017/tcp   iot_mongo_1
1cd8045c9c8f        cescoferraro/redis:latest        "/entrypoint.sh /run."   2 days ago          Up 2 days           0.0.0.0:6379->6379/tcp                iot_redis_1
c8d6a3c35ceb        cescoferraro/postgres:latest     "/docker-entrypoint.s"   3 days ago          Up 2 days           0.0.0.0:5432->5432/tcp                iot_postgres_1
cesco@desktop: ~/code/go/src/github.com/wercker/wercker on master [+!?]
$ spread cluster stop
Stopping container `6c5e7427f229507c77df87a308a4c93273bf88755872855b7d740681e440b82d`...
cesco@desktop: ~/code/go/src/github.com/wercker/wercker on master [+!?]
$ docker ps
CONTAINER ID        IMAGE                                COMMAND                  CREATED             STATUS              PORTS                                 NAMES
9bad76cd1424        redspreadapps/mattermost-db:1        "/docker-entrypoint.s"   7 minutes ago       Up 7 minutes                                              k8s_postgres.23274139_mattermost-app-mgl9c_default_d7d9902e-f42d-11e5-88f1-00224d98d5c8_ba46c790
057236066e35        redspreadapps/mattermost-app:1       "/bin/sh -c /docker-e"   7 minutes ago       Up 7 minutes                                              k8s_app.ed693d73_mattermost-app-mgl9c_default_d7d9902e-f42d-11e5-88f1-00224d98d5c8_0723d600
257197b2a6c8        nginx                                "nginx -g 'daemon off"   7 minutes ago       Up 7 minutes                                              k8s_nginx.9179dbd3_nginx-2040093540-rkueb_default_e8a1d904-f42e-11e5-88f1-00224d98d5c8_993ad135
90065e9e6e8a        gcr.io/google_containers/pause:2.0   "/w/w /pause"            7 minutes ago       Up 7 minutes                                              k8s_POD.cf58006d_mattermost-app-mgl9c_default_d7d9902e-f42d-11e5-88f1-00224d98d5c8_4312a2f0
9aabff37ea5b        gcr.io/google_containers/pause:2.0   "/w/w /pause"            7 minutes ago       Up 7 minutes                                              k8s_POD.6059dfa2_nginx-2040093540-rkueb_default_e8a1d904-f42e-11e5-88f1-00224d98d5c8_507bbf0e
ce75bd37fe36        weaveworks/weaveexec:1.4.5           "/home/weave/weavepro"   8 minutes ago       Up 8 minutes                                              weaveproxy
6a32ee850fc6        weaveworks/weave:1.4.5               "/home/weave/weaver -"   8 minutes ago       Up 8 minutes                                              weave
17320df36681        f6284d9b5b83                         "./bindev runserver"     30 hours ago        Up 30 hours         0.0.0.0:9001->9000/tcp                iot_web_1
beae33ef02d3        cescoferraro/mongo:latest            "/run.sh"                2 days ago          Up 2 days           0.0.0.0:27017->27017/tcp, 28017/tcp   iot_mongo_1
1cd8045c9c8f        cescoferraro/redis:latest            "/entrypoint.sh /run."   2 days ago          Up 2 days           0.0.0.0:6379->6379/tcp                iot_redis_1
c8d6a3c35ceb        cescoferraro/postgres:latest         "/docker-entrypoint.s"   3 days ago          Up 2 days           0.0.0.0:5432->5432/tcp                iot_postgres_1
@mfburnett
Copy link
Member

Hey @cescoferraro, thanks for putting in this issue. @ethernetdan will let you know if he needs any additional information from you and will let you know when he starts working on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants