mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-26 04:36:00 +00:00
Add an example of running Cloud Native Hazelcast on k8s.
This commit is contained in:
22
examples/hazelcast/hazelcast-controller.yaml
Normal file
22
examples/hazelcast/hazelcast-controller.yaml
Normal 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
|
Reference in New Issue
Block a user