mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +00:00 
			
		
		
		
	Merge pull request #5857 from brendandburns/cassandra
Update the cassandra example to pick up recent changes.
This commit is contained in:
		@@ -23,7 +23,7 @@ desiredState:
 | 
				
			|||||||
    id: cassandra
 | 
					    id: cassandra
 | 
				
			||||||
    containers:
 | 
					    containers:
 | 
				
			||||||
      - name: cassandra
 | 
					      - name: cassandra
 | 
				
			||||||
        image: kubernetes/cassandra
 | 
					        image: kubernetes/cassandra:v2
 | 
				
			||||||
        command:
 | 
					        command:
 | 
				
			||||||
          - /run.sh
 | 
					          - /run.sh
 | 
				
			||||||
        cpu: 1000
 | 
					        cpu: 1000
 | 
				
			||||||
@@ -121,7 +121,7 @@ desiredState:
 | 
				
			|||||||
        id: cassandra
 | 
					        id: cassandra
 | 
				
			||||||
        containers:
 | 
					        containers:
 | 
				
			||||||
          - name: cassandra
 | 
					          - name: cassandra
 | 
				
			||||||
            image: kubernetes/cassandra
 | 
					            image: kubernetes/cassandra:v2
 | 
				
			||||||
            command:
 | 
					            command:
 | 
				
			||||||
              - /run.sh
 | 
					              - /run.sh
 | 
				
			||||||
            cpu: 1000
 | 
					            cpu: 1000
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -12,7 +12,7 @@ desiredState:
 | 
				
			|||||||
        id: cassandra
 | 
					        id: cassandra
 | 
				
			||||||
        containers:
 | 
					        containers:
 | 
				
			||||||
          - name: cassandra
 | 
					          - name: cassandra
 | 
				
			||||||
            image: kubernetes/cassandra:v1
 | 
					            image: kubernetes/cassandra:v2
 | 
				
			||||||
            command:
 | 
					            command:
 | 
				
			||||||
              - /run.sh
 | 
					              - /run.sh
 | 
				
			||||||
            cpu: 1000
 | 
					            cpu: 1000
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -7,7 +7,7 @@ desiredState:
 | 
				
			|||||||
    id: cassandra
 | 
					    id: cassandra
 | 
				
			||||||
    containers:
 | 
					    containers:
 | 
				
			||||||
      - name: cassandra
 | 
					      - name: cassandra
 | 
				
			||||||
        image: kubernetes/cassandra:v1
 | 
					        image: kubernetes/cassandra:v2
 | 
				
			||||||
        command:
 | 
					        command:
 | 
				
			||||||
          - /run.sh
 | 
					          - /run.sh
 | 
				
			||||||
        cpu: 1000
 | 
					        cpu: 1000
 | 
				
			||||||
 
 | 
				
			|||||||
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										37
									
								
								examples/cassandra/java/pom.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										37
									
								
								examples/cassandra/java/pom.xml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,37 @@
 | 
				
			|||||||
 | 
					<project>
 | 
				
			||||||
 | 
					  <modelVersion>4.0.0</modelVersion>
 | 
				
			||||||
 | 
					  <groupId>io.k8s.cassandra</groupId>
 | 
				
			||||||
 | 
					  <artifactId>kubernetes-cassandra</artifactId>
 | 
				
			||||||
 | 
					  <version>0.0.2</version>
 | 
				
			||||||
 | 
					  <build>
 | 
				
			||||||
 | 
					    <sourceDirectory>src</sourceDirectory>
 | 
				
			||||||
 | 
					  </build>
 | 
				
			||||||
 | 
					  <dependencies>
 | 
				
			||||||
 | 
					    <dependency>
 | 
				
			||||||
 | 
					      <groupId>junit</groupId>
 | 
				
			||||||
 | 
					      <artifactId>junit</artifactId>
 | 
				
			||||||
 | 
					      <version>3.8.1</version>
 | 
				
			||||||
 | 
					      <scope>test</scope>
 | 
				
			||||||
 | 
					    </dependency>
 | 
				
			||||||
 | 
					    <dependency>
 | 
				
			||||||
 | 
					        <groupId>org.slf4j</groupId>
 | 
				
			||||||
 | 
					        <artifactId>slf4j-log4j12</artifactId>
 | 
				
			||||||
 | 
					        <version>1.7.5</version>
 | 
				
			||||||
 | 
					    </dependency>
 | 
				
			||||||
 | 
					    <dependency>
 | 
				
			||||||
 | 
					        <groupId>org.codehaus.jackson</groupId>
 | 
				
			||||||
 | 
					        <artifactId>jackson-core-asl</artifactId>
 | 
				
			||||||
 | 
					        <version>1.6.3</version>
 | 
				
			||||||
 | 
					    </dependency>
 | 
				
			||||||
 | 
					    <dependency>
 | 
				
			||||||
 | 
					        <groupId>org.codehaus.jackson</groupId>
 | 
				
			||||||
 | 
					        <artifactId>jackson-mapper-asl</artifactId>
 | 
				
			||||||
 | 
					        <version>1.6.3</version>
 | 
				
			||||||
 | 
					    </dependency>
 | 
				
			||||||
 | 
					    <dependency>
 | 
				
			||||||
 | 
					        <groupId>org.apache.cassandra</groupId>
 | 
				
			||||||
 | 
					        <artifactId>cassandra-all</artifactId>
 | 
				
			||||||
 | 
					        <version>2.0.11</version>
 | 
				
			||||||
 | 
					    </dependency>
 | 
				
			||||||
 | 
					  </dependencies>
 | 
				
			||||||
 | 
					</project>
 | 
				
			||||||
		Reference in New Issue
	
	Block a user