Cluster Management
1. Production Setup
Label Nodes
kubectl label nodes <coordinator-node> alluxio-role=coordinator
kubectl label nodes <worker-node-1> alluxio-role=worker
kubectl label nodes <worker-node-2> alluxio-role=worker
kubectl label nodes <worker-node-3> alluxio-role=worker
kubectl label nodes <etcd-node-1> alluxio-role=etcd
kubectl label nodes <etcd-node-2> alluxio-role=etcd
kubectl label nodes <etcd-node-3> alluxio-role=etcdProduction alluxio-cluster.yaml
alluxio-cluster.yamlapiVersion: k8s-operator.alluxio.com/v1
kind: AlluxioCluster
metadata:
name: alluxio-cluster
namespace: alx-ns
spec:
image: <PRIVATE_REGISTRY>/alluxio-enterprise
imageTag: AI-3.8-15.1.0
properties:
alluxio.license: <YOUR_CLUSTER_LICENSE>
coordinator:
nodeSelector:
alluxio-role: coordinator
metastore:
type: persistentVolumeClaim
storageClass: "gp2"
size: 4Gi
resources:
# Set requests equal to limits for Guaranteed QoS, same as the worker.
limits:
cpu: "8"
memory: "16Gi"
requests:
cpu: "8"
memory: "16Gi"
jvmOptions:
- "-Xmx8g"
- "-Xms8g"
worker:
nodeSelector:
alluxio-role: worker
count: 3
pagestore:
size: 1000Gi
reservedSize: 100Gi
resources:
# Set requests equal to limits so the worker runs in the Guaranteed
# QoS class and is the last to be evicted under node pressure.
limits:
cpu: "8"
memory: "24Gi"
requests:
cpu: "8"
memory: "24Gi"
jvmOptions:
- "-Xmx12g"
- "-Xms12g"
- "-XX:MaxDirectMemorySize=12g"
etcd:
replicaCount: 3
nodeSelector:
alluxio-role: etcdRunning Multiple Clusters on Shared Nodes
2. Cluster Lifecycle and Configuration
Scaling the Cluster
Scale Up
Situation
Command
Effect
Scale Down
Upgrading Alluxio
Step 1: Upgrade the Operator
Step 2: Upgrade the Alluxio Cluster
Dynamically Updating Configuration
3. Multi-Tenancy and Federation
Core Concepts
Authentication
Authorization
Multi-Tenancy and Isolation
Cluster Federation
Example Workflow: Updating a Cache Policy
Last updated