diff --git a/examples/cassandra/README.md b/examples/cassandra/README.md index 18338a233a951..90510e2758980 100644 --- a/examples/cassandra/README.md +++ b/examples/cassandra/README.md @@ -23,7 +23,7 @@ desiredState: id: cassandra containers: - name: cassandra - image: kubernetes/cassandra + image: kubernetes/cassandra:v2 command: - /run.sh cpu: 1000 @@ -121,7 +121,7 @@ desiredState: id: cassandra containers: - name: cassandra - image: kubernetes/cassandra + image: kubernetes/cassandra:v2 command: - /run.sh cpu: 1000 diff --git a/examples/cassandra/cassandra-controller.yaml b/examples/cassandra/cassandra-controller.yaml index 345e7d79a6393..e62979cfda56f 100644 --- a/examples/cassandra/cassandra-controller.yaml +++ b/examples/cassandra/cassandra-controller.yaml @@ -12,7 +12,7 @@ desiredState: id: cassandra containers: - name: cassandra - image: kubernetes/cassandra:v1 + image: kubernetes/cassandra:v2 command: - /run.sh cpu: 1000 diff --git a/examples/cassandra/cassandra.yaml b/examples/cassandra/cassandra.yaml index c0afa4e2e4ed2..23efd35e9aa76 100644 --- a/examples/cassandra/cassandra.yaml +++ b/examples/cassandra/cassandra.yaml @@ -7,7 +7,7 @@ desiredState: id: cassandra containers: - name: cassandra - image: kubernetes/cassandra:v1 + image: kubernetes/cassandra:v2 command: - /run.sh cpu: 1000 diff --git a/examples/cassandra/image/kubernetes-cassandra.jar b/examples/cassandra/image/kubernetes-cassandra.jar index 9120d88297d92..faf86c690fee1 100644 Binary files a/examples/cassandra/image/kubernetes-cassandra.jar and b/examples/cassandra/image/kubernetes-cassandra.jar differ diff --git a/examples/cassandra/java/pom.xml b/examples/cassandra/java/pom.xml new file mode 100644 index 0000000000000..cf187fa07a0f3 --- /dev/null +++ b/examples/cassandra/java/pom.xml @@ -0,0 +1,37 @@ + + 4.0.0 + io.k8s.cassandra + kubernetes-cassandra + 0.0.2 + + src + + + + junit + junit + 3.8.1 + test + + + org.slf4j + slf4j-log4j12 + 1.7.5 + + + org.codehaus.jackson + jackson-core-asl + 1.6.3 + + + org.codehaus.jackson + jackson-mapper-asl + 1.6.3 + + + org.apache.cassandra + cassandra-all + 2.0.11 + + + diff --git a/examples/cassandra/java/io/k8s/cassandra/KubernetesSeedProvider.java b/examples/cassandra/java/src/io/k8s/cassandra/KubernetesSeedProvider.java similarity index 100% rename from examples/cassandra/java/io/k8s/cassandra/KubernetesSeedProvider.java rename to examples/cassandra/java/src/io/k8s/cassandra/KubernetesSeedProvider.java