Add an example of running Cloud Native Hazelcast on k8s.

This commit is contained in:
Paulo Pires
2015-01-06 22:14:25 +00:00
parent cdad54ba48
commit 4d45512069
4 changed files with 361 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
id: hazelcast
kind: ReplicationController
apiVersion: v1beta1
desiredState:
replicas: 1
replicaSelector:
name: hazelcast
# This is identical to the pod config above
podTemplate:
desiredState:
manifest:
version: v1beta1
id: hazelcast
containers:
- name: hazelcast
image: pires/hazelcast-k8s
cpu: 1000
ports:
- name: hazelcast
containerPort: 5701
labels:
name: hazelcast