8e5b17cf13
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
31 lines
690 B
YAML
31 lines
690 B
YAML
apiVersion: v1
|
|
kind: ReplicationController
|
|
metadata:
|
|
labels:
|
|
name: hazelcast
|
|
name: hazelcast
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
name: hazelcast
|
|
template:
|
|
metadata:
|
|
labels:
|
|
name: hazelcast
|
|
spec:
|
|
containers:
|
|
- resources:
|
|
limits:
|
|
cpu: 0.1
|
|
image: quay.io/pires/hazelcast-kubernetes:0.6.1
|
|
name: hazelcast
|
|
env:
|
|
- name: "DNS_DOMAIN"
|
|
value: "cluster.local"
|
|
- name: POD_NAMESPACE
|
|
valueFrom:
|
|
fieldRef:
|
|
fieldPath: metadata.namespace
|
|
ports:
|
|
- containerPort: 5701
|
|
name: hazelcast
|