Skip to content
This repository has been archived by the owner on May 6, 2020. It is now read-only.

k8s.py creates a service with a randomized name for the app #32

Closed
bacongobbler opened this issue Nov 25, 2015 · 0 comments · Fixed by #36
Closed

k8s.py creates a service with a randomized name for the app #32

bacongobbler opened this issue Nov 25, 2015 · 0 comments · Fixed by #36

Comments

@bacongobbler
Copy link
Member

After deploying an app:

[vagrant@kubernetes-minion-1 ~]$ deis pull deis/example-go -a lively-dragster
Creating build... done

I see that the RC was named properly, but not the service:

><> k get rc --namespace=lively-dragster
CONTROLLER               CONTAINER(S)          IMAGE(S)                                 SELECTOR                                   REPLICAS
lively-dragster-v2-cmd   lively-dragster-cmd   10.247.252.167:5000/lively-dragster:v2   name=lively-dragster,type=cmd,version=v2   1
><> k get svc --namespace=lively-dragster
NAME       LABELS                 SELECTOR                        IP(S)          PORT(S)
app-7216   name=lively-dragster   name=lively-dragster,type=cmd   10.247.84.53   80/TCP

We should have the service name as lively-dragster, or else other apps in the same namespace (once we introduce something like deis teams into the mix) won't be able to discover each other in a sane way. I'll write up a proposal so we can discuss what needs to change in order to have this work.

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

Successfully merging a pull request may close this issue.

1 participant