Configuring Container Resources
You can configure resources for Hazelcast, sidecar agent, and Management Center containers.
You can find detailed information about resources in the Resource Management for Pods and Containers Kubernetes documentation.
Configuring Resources for Hazelcast
You can configure resources for Hazelcast containers using the resources
field of the CRD spec
.
Example configuration
apiVersion: hazelcast.com/v1alpha1
kind: Hazelcast
metadata:
name: hazelcast
spec:
clusterSize: 3
repository: 'docker.io/hazelcast/hazelcast-enterprise'
licenseKeySecretName: hazelcast-license-key
resources:
requests:
memory: "64Mi"
cpu: "250m"
limits:
memory: "128Mi"
cpu: "500m"
Configuring Resources for Sidecar
You can configure resources for sidecar containers using the agent.resources
field of the CRD spec
.
Example configuration
apiVersion: hazelcast.com/v1alpha1
kind: Hazelcast
metadata:
name: hazelcast
spec:
clusterSize: 3
repository: 'docker.io/hazelcast/hazelcast-enterprise'
licenseKeySecretName: hazelcast-license-key
agent:
repository: hazelcast/platform-operator-agent
resources:
requests:
memory: "64Mi"
cpu: "250m"
limits:
memory: "128Mi"
cpu: "500m"
Configuring Resources for Management Center
You can configure resources for Management Center containers using the resources
field of the CRD spec
.
Example configuration
apiVersion: hazelcast.com/v1alpha1
kind: ManagementCenter
metadata:
name: mancenter
spec:
hazelcastClusters:
- address: hazelcast
name: dev
resources:
requests:
memory: "64Mi"
cpu: "250m"
limits:
memory: "128Mi"
cpu: "500m"