Skip to content

Commit 43be89b

Browse files
committed
orchestration: use latest tag for k8s examples
Previously, we used specific version tags in our Kubernetes examples (e.g., `v25.3.1`). This commit updates all Kubernetes example configurations to use the `latest` tag for the CockroachDB image. This simplifies maintenance of the release process. Epic: none Release note: none
1 parent 892744f commit 43be89b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+24
-2972
lines changed

cloud/kubernetes/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# CockroachDB on Kubernetes as a StatefulSet
22

33
This example deploys CockroachDB on [Kubernetes](https://kubernetes.io) as a
4-
[StatefulSet](https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/).
4+
[StatefulSet](https://github.com/kubernetes/examples/tree/master/_archived/cockroachdb).
55
Kubernetes is an open source system for managing containerized applications
66
across multiple hosts, providing basic mechanisms for deployment, maintenance,
77
and scaling of applications.

cloud/kubernetes/bring-your-own-certs/client.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# Generated file, DO NOT EDIT. Source: cloud/kubernetes/templates/bring-your-own-certs/client.yaml
21
# This config file demonstrates how to connect to the CockroachDB StatefulSet
32
# defined in bring-your-own-certs-statefulset.yaml that uses certificates
43
# created outside of Kubernetes. See that file for why you may want to use it.
@@ -20,7 +19,7 @@ spec:
2019
serviceAccountName: cockroachdb
2120
containers:
2221
- name: cockroachdb-client
23-
image: cockroachdb/cockroach:v25.3.1
22+
image: cockroachdb/cockroach:latest
2423
# Keep a pod open indefinitely so kubectl exec can be used to get a shell to it
2524
# and run cockroach client commands, such as cockroach sql, cockroach node status, etc.
2625
command:

cloud/kubernetes/bring-your-own-certs/cockroachdb-statefulset.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# Generated file, DO NOT EDIT. Source: cloud/kubernetes/templates/bring-your-own-certs/cockroachdb-statefulset.yaml
21
# This config file defines a CockroachDB StatefulSet that uses certificates
32
# created outside of Kubernetes. You may want to use it if you want to use a
43
# different certificate authority from the one being used by Kubernetes or if
@@ -153,7 +152,7 @@ spec:
153152
topologyKey: kubernetes.io/hostname
154153
containers:
155154
- name: cockroachdb
156-
image: cockroachdb/cockroach:v25.3.1
155+
image: cockroachdb/cockroach:latest
157156
imagePullPolicy: IfNotPresent
158157
# TODO: Change these to appropriate values for the hardware that you're running. You can see
159158
# the resources that can be allocated on each of your Kubernetes nodes by running:

cloud/kubernetes/client-secure.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# Generated file, DO NOT EDIT. Source: cloud/kubernetes/templates/client-secure.yaml
21
apiVersion: v1
32
kind: Pod
43
metadata:
@@ -32,7 +31,7 @@ spec:
3231
mountPath: /cockroach-certs
3332
containers:
3433
- name: cockroachdb-client
35-
image: cockroachdb/cockroach:v25.3.1
34+
image: cockroachdb/cockroach:latest
3635
imagePullPolicy: IfNotPresent
3736
volumeMounts:
3837
- name: client-certs

cloud/kubernetes/cluster-init-secure.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# Generated file, DO NOT EDIT. Source: cloud/kubernetes/templates/cluster-init-secure.yaml
21
apiVersion: batch/v1
32
kind: Job
43
metadata:
@@ -34,7 +33,7 @@ spec:
3433
mountPath: /cockroach-certs
3534
containers:
3635
- name: cluster-init
37-
image: cockroachdb/cockroach:v25.3.1
36+
image: cockroachdb/cockroach:latest
3837
imagePullPolicy: IfNotPresent
3938
volumeMounts:
4039
- name: client-certs

cloud/kubernetes/cluster-init.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# Generated file, DO NOT EDIT. Source: cloud/kubernetes/templates/cluster-init.yaml
21
apiVersion: batch/v1
32
kind: Job
43
metadata:
@@ -10,7 +9,7 @@ spec:
109
spec:
1110
containers:
1211
- name: cluster-init
13-
image: cockroachdb/cockroach:v25.3.1
12+
image: cockroachdb/cockroach:latest
1413
imagePullPolicy: IfNotPresent
1514
command:
1615
- "/cockroach/cockroach"

cloud/kubernetes/cockroachdb-statefulset-secure.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# Generated file, DO NOT EDIT. Source: cloud/kubernetes/templates/cockroachdb-statefulset-secure.yaml
21
apiVersion: v1
32
kind: ServiceAccount
43
metadata:
@@ -195,7 +194,7 @@ spec:
195194
topologyKey: kubernetes.io/hostname
196195
containers:
197196
- name: cockroachdb
198-
image: cockroachdb/cockroach:v25.3.1
197+
image: cockroachdb/cockroach:latest
199198
imagePullPolicy: IfNotPresent
200199
# TODO: Change these to appropriate values for the hardware that you're running. You can see
201200
# the resources that can be allocated on each of your Kubernetes nodes by running:

cloud/kubernetes/cockroachdb-statefulset.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# Generated file, DO NOT EDIT. Source: cloud/kubernetes/templates/cockroachdb-statefulset.yaml
21
apiVersion: v1
32
kind: Service
43
metadata:
@@ -98,7 +97,7 @@ spec:
9897
topologyKey: kubernetes.io/hostname
9998
containers:
10099
- name: cockroachdb
101-
image: cockroachdb/cockroach:v25.3.1
100+
image: cockroachdb/cockroach:latest
102101
imagePullPolicy: IfNotPresent
103102
# TODO: Change these to appropriate values for the hardware that you're running. You can see
104103
# the resources that can be allocated on each of your Kubernetes nodes by running:

cloud/kubernetes/multiregion/client-secure.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# Generated file, DO NOT EDIT. Source: cloud/kubernetes/templates/multiregion/client-secure.yaml
21
apiVersion: v1
32
kind: Pod
43
metadata:
@@ -9,7 +8,7 @@ spec:
98
serviceAccountName: cockroachdb
109
containers:
1110
- name: cockroachdb-client
12-
image: cockroachdb/cockroach:v25.3.1
11+
image: cockroachdb/cockroach:latest
1312
imagePullPolicy: IfNotPresent
1413
volumeMounts:
1514
- name: client-certs

cloud/kubernetes/multiregion/cluster-init-secure.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# Generated file, DO NOT EDIT. Source: cloud/kubernetes/templates/multiregion/cluster-init-secure.yaml
21
apiVersion: batch/v1
32
kind: Job
43
metadata:
@@ -11,7 +10,7 @@ spec:
1110
serviceAccountName: cockroachdb
1211
containers:
1312
- name: cluster-init
14-
image: cockroachdb/cockroach:v25.3.1
13+
image: cockroachdb/cockroach:latest
1514
imagePullPolicy: IfNotPresent
1615
volumeMounts:
1716
- name: client-certs

0 commit comments

Comments
 (0)