Run Deployment in Multi-Cluster
Run a MultiKueue scheduled Deployment.
Before you begin
Check the MultiKueue installation guide on how to properly setup MultiKueue clusters.
Follow steps in Run Plain Pods to learn how to enable and configure the
pod
integration which is required for enabling thedeployment
integration.
Deployments receive live status updates through the status from the remote Pods created on the worker cluster.
Feature state beta since Kueue v0.11.0
Note
In this current implementation, when Deployments are created in environments with multiple worker clusters, Pods are allocated to any worker.Example
Once the setup is complete you can test it by running the example below:
apiVersion: apps/v1
kind: Deployment
metadata:
name: nginx-deployment
labels:
app: nginx
kueue.x-k8s.io/queue-name: user-queue
spec:
replicas: 3
selector:
matchLabels:
app: nginx
template:
metadata:
labels:
app: nginx
spec:
containers:
- name: nginx
image: registry.k8s.io/nginx-slim:0.27
ports:
- containerPort: 80
resources:
requests:
cpu: "100m"
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.