Skip to content

Commit

Permalink
kubernetes: Use explicit image tag
Browse files Browse the repository at this point in the history
It might be slightly annoying to keep up-to-date as releases happen,
but this is widely considered a best practice to avoid accidentally
ending up with different versions in different pods.
  • Loading branch information
a-robinson committed May 11, 2017
1 parent e573f21 commit 7a144ab
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions cloud/kubernetes/cockroachdb-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -135,12 +135,7 @@ spec:
spec:
containers:
- name: cockroachdb
# Runs the master branch. Not recommended for production, but since
# CockroachDB is in Beta, you don't want to run it in production
# anyway. See
# https://hub.docker.com/r/cockroachdb/cockroach/tags/
# if you prefer to run a beta release.
image: cockroachdb/cockroach
image: cockroachdb/cockroach:v1.0
imagePullPolicy: IfNotPresent
ports:
- containerPort: 26257
Expand Down

0 comments on commit 7a144ab

Please sign in to comment.