Skip to content

Commit 36cbac4

Browse files
weicaoapecloud-bot
authored andcommitted
feat(etcd): add upgrade example OpsRequest (#2542)
(cherry picked from commit 345906c)
1 parent 00f4180 commit 36cbac4

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

examples/etcd/upgrade.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
apiVersion: operations.kubeblocks.io/v1alpha1
2+
kind: OpsRequest
3+
metadata:
4+
name: etcd-upgrade
5+
namespace: demo
6+
spec:
7+
# Specifies the name of the Cluster resource that this operation is targeting.
8+
clusterName: etcd-cluster
9+
type: Upgrade
10+
upgrade:
11+
components:
12+
- componentName: etcd
13+
# Valid options are: [3.6.1,3.5.15,3.5.6]
14+
serviceVersion: "3.6.1"

0 commit comments

Comments
 (0)