Skip to content

Commit 7aabfd2

Browse files
committed
rename PodFlushAll to PodResyncAll
1 parent dfee85a commit 7aabfd2

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

pkg/ext-proc/backend/datastore.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ type Datastore interface {
3434
PodUpdateMetricsIfExist(pm *PodMetrics)
3535
PodGet(namespacedName types.NamespacedName) (*PodMetrics, bool)
3636
PodDelete(namespacedName types.NamespacedName)
37-
PodFlushAll(ctx context.Context, ctrlClient client.Client)
37+
PodResyncAll(ctx context.Context, ctrlClient client.Client)
3838
PodGetAll() []*PodMetrics
3939
PodDeleteAll() // This is only for testing.
4040
PodRange(f func(key, value any) bool)
@@ -172,7 +172,7 @@ func (ds *datastore) PodUpdateOrAddIfNotExist(pod *corev1.Pod) bool {
172172
return false
173173
}
174174

175-
func (ds *datastore) PodFlushAll(ctx context.Context, ctrlClient client.Client) {
175+
func (ds *datastore) PodResyncAll(ctx context.Context, ctrlClient client.Client) {
176176
// Pool must exist to invoke this function.
177177
pool, _ := ds.PoolGet()
178178
podList := &corev1.PodList{}

pkg/ext-proc/backend/inferencepool_reconciler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ func (c *InferencePoolReconciler) updateDatastore(ctx context.Context, newPool *
6363
c.Datastore.PoolSet(newPool)
6464
if oldPool == nil || !reflect.DeepEqual(newPool.Spec.Selector, oldPool.Spec.Selector) {
6565
logger.V(logutil.DEFAULT).Info("Updating inference pool endpoints", "target", klog.KMetadata(&newPool.ObjectMeta))
66-
c.Datastore.PodFlushAll(ctx, c.Client)
66+
c.Datastore.PodResyncAll(ctx, c.Client)
6767
}
6868
}
6969

pkg/manifests/ext_proc.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ spec:
7171
spec:
7272
containers:
7373
- name: inference-gateway-ext-proc
74-
image: us-central1-docker.pkg.dev/k8s-staging-images/gateway-api-inference-extension/epp:main
74+
image: us-central1-docker.pkg.dev/ahg-gke-dev/jobset2/epp:dfee85a
7575
imagePullPolicy: Always
7676
args:
7777
- -poolName

pkg/manifests/vllm/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ spec:
3939
- "8000"
4040
- "--enable-lora"
4141
- "--max-loras"
42-
- "4"
42+
- "2"
4343
- "--max-cpu-loras"
4444
- "12"
4545
- "--lora-modules"

0 commit comments

Comments
 (0)