Skip to content

Commit

Permalink
Upgrade Zookeeper Operator default version to 0.2.6 (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
HoustonPutman authored Apr 9, 2020
1 parent 6bd5727 commit 3442918
Show file tree
Hide file tree
Showing 5 changed files with 306 additions and 21 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,12 @@ kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/mast

## Version Compatibility & Upgrade Notes

#### v0.2.4
- The default supported version of the Zookeeper Operator has been upgraded to `v0.2.6`.
If you are using the provided zookeeper option for your SolrClouds, then you will want to upgrade your zookeeper operator version as well as the version and image of the zookeeper that you are running.
You can find examples of the zookeeper operator as well as solrClouds that use provided zookeepers in the [examples](/example) directory.
Please refer to the [Zookeeper Operator release notes](https://github.com/pravega/zookeeper-operator/releases) before upgrading.

#### v0.2.3
- If you do not use an ingress with the Solr Operator, the Solr Hostname and Port will change when upgrading to this version. This is to fix an outstanding bug. Because of the headless service port change, you will likely see an outage for inter-node communication until all pods have been restarted.

Expand Down
4 changes: 2 additions & 2 deletions api/v1beta1/solrcloud_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ const (

DefaultZkReplicas = int32(3)
DefaultZkStorage = "5Gi"
DefaultZkRepo = "emccorp/zookeeper"
DefaultZkVersion = "3.5.4-beta-operator"
DefaultZkRepo = "pravega/zookeeper"
DefaultZkVersion = "0.2.6"
DefaultZkVolumeReclaimPolicy = zk.VolumeReclaimPolicyRetain

DefaultEtcdReplicas = 3
Expand Down
11 changes: 1 addition & 10 deletions example/dependencies/operators.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,22 +46,13 @@ spec:
serviceAccountName: zookeeper-operator
containers:
- name: zk-operator
# Replace this with the built image name
image: pravega/zookeeper-operator:0.2.4
image: pravega/zookeeper-operator:0.2.6
ports:
- containerPort: 60000
name: metrics
imagePullPolicy: Always
command:
- zookeeper-operator
readinessProbe:
exec:
command:
- stat
- /tmp/operator-sdk-ready
initialDelaySeconds: 4
periodSeconds: 10
failureThreshold: 1
env:
- name: WATCH_NAMESPACE
value: ""
Expand Down
8 changes: 3 additions & 5 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,11 @@ require (
github.com/docker/spdystream v0.0.0-20181023171402-6480d4af844c // indirect
github.com/elazarl/goproxy v0.0.0-20191011121108-aa519ddbe484 // indirect
github.com/go-logr/logr v0.1.0
github.com/onsi/gomega v1.7.0
github.com/pravega/zookeeper-operator v0.2.5-rc0
github.com/onsi/gomega v1.9.0
github.com/pravega/zookeeper-operator v0.2.6
github.com/samuel/go-zookeeper v0.0.0-20190923202752-2cc03de413da
github.com/stretchr/testify v1.4.0
golang.org/x/crypto v0.0.0-20190820162420-60c769a6c586 // indirect
golang.org/x/net v0.0.0-20191004110552-13f9640d40b9
golang.org/x/time v0.0.0-20190308202827-9d24e82272b4 // indirect
golang.org/x/net v0.0.0-20200320220750-118fecf932d8
k8s.io/api v0.17.0
k8s.io/apimachinery v0.17.0
k8s.io/client-go v0.0.0-20190918160344-1fbdaa4c8d90
Expand Down
Loading

0 comments on commit 3442918

Please sign in to comment.