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

Error from server (NotFound): replicationcontrollers "db" not found #1

Open
allcentury opened this issue Jan 15, 2017 · 0 comments
Open

Comments

@allcentury
Copy link

I'm going through your repo here in an effort to deploy a rails app to GC. When I follow your tutorial I run:

$ kubectl run db --image=postgres --port=5432
deployment "db" created

Then I wait for the pod to start and when it does I see:

$ kubectl get po
NAME                  READY     STATUS    RESTARTS   AGE
db-3402021059-64hv8   1/1       Running   0          25s

I then run the next command you list (step 3 in GCE deploy):

$ kubectl expose rc db
Error from server (NotFound): replicationcontrollers "db" not found

I believe this command sets up a load balancer so the database can receive traffic from other pods but I'm not 100% sure.

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

1 participant