diff --git a/examples/cassandra/README.md b/examples/cassandra/README.md index 250c1e34e1e..f38aa61b6d1 100644 --- a/examples/cassandra/README.md +++ b/examples/cassandra/README.md @@ -83,7 +83,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.namespace - image: gcr.io/google_containers/cassandra:v6 + image: gcr.io/google_containers/cassandra:v7 name: cassandra ports: - containerPort: 9042 @@ -222,7 +222,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.namespace - image: gcr.io/google_containers/cassandra:v6 + image: gcr.io/google_containers/cassandra:v7 name: cassandra ports: - containerPort: 9042 @@ -339,7 +339,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.namespace - image: "gcr.io/google_containers/cassandra:v6" + image: "gcr.io/google_containers/cassandra:v7" name: cassandra ports: - containerPort: 9042 diff --git a/examples/cassandra/cassandra-controller.yaml b/examples/cassandra/cassandra-controller.yaml index 63ea8dbd40a..5fe6eefd5c1 100644 --- a/examples/cassandra/cassandra-controller.yaml +++ b/examples/cassandra/cassandra-controller.yaml @@ -26,7 +26,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.namespace - image: gcr.io/google_containers/cassandra:v6 + image: gcr.io/google_containers/cassandra:v7 name: cassandra ports: - containerPort: 9042 diff --git a/examples/cassandra/cassandra-daemonset.yaml b/examples/cassandra/cassandra-daemonset.yaml index 8b6f76b3f28..259cd36e0cf 100644 --- a/examples/cassandra/cassandra-daemonset.yaml +++ b/examples/cassandra/cassandra-daemonset.yaml @@ -25,7 +25,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.namespace - image: "gcr.io/google_containers/cassandra:v6" + image: "gcr.io/google_containers/cassandra:v7" name: cassandra ports: - containerPort: 9042 diff --git a/examples/cassandra/cassandra.yaml b/examples/cassandra/cassandra.yaml index be6c32a3f64..ff286a45821 100644 --- a/examples/cassandra/cassandra.yaml +++ b/examples/cassandra/cassandra.yaml @@ -11,7 +11,7 @@ spec: resources: limits: cpu: "0.1" - image: gcr.io/google_containers/cassandra:v6 + image: gcr.io/google_containers/cassandra:v7 name: cassandra ports: - name: cql diff --git a/examples/cassandra/image/Makefile b/examples/cassandra/image/Makefile new file mode 100644 index 00000000000..e1c406beca9 --- /dev/null +++ b/examples/cassandra/image/Makefile @@ -0,0 +1,14 @@ +# build the cassandra image. + +VERSION=v7 + +all: build + +# TODO: build the jar and copy it in +build: + docker build -t gcr.io/google_containers/cassandra:${VERSION} . + +push: build + gcloud docker push gcr.io/google_containers/cassandra:${VERSION} + +.PHONY: all diff --git a/examples/cassandra/image/kubernetes-cassandra.jar b/examples/cassandra/image/kubernetes-cassandra.jar index 77e65b04a06..e9220f4009a 100644 Binary files a/examples/cassandra/image/kubernetes-cassandra.jar and b/examples/cassandra/image/kubernetes-cassandra.jar differ