# Session K: the two vLLM 0.33.0 replicas on the GX10, as a selector-less ClusterIP Service with hand-written EndpointSlices. # From scripts/gx10/prefix-routing/kind/engines.yaml (session G, PR #66), third replica removed. A restart of a replica # (r4) keeps this address and synthetic uid: Kinference sees no EndpointSlice change. # Kinference v0.1.0-alpha.7 requirements (crates/kinference-controller/src/discovery.rs#L246-L248, #L379-L431): ready # endpoints with targetRef.uid and targetRef.name (synthetic here: there are no pods), ports resolved per slice by name # (http, kv-pub, kv-replay), hence one slice per replica. Buoyant gateway v0.1.0-alpha.6 (crates/gateway-cp/src/ # resolve.rs#L1570-L1577): a real ClusterIP, IPv4 slices, port names matching the Service's. # Published copy: the engine host's private address is replaced with ; put your replicas' IPv4 address there. apiVersion: v1 kind: Service metadata: name: qwen-gx10 namespace: default spec: type: ClusterIP ports: - {name: http, port: 80, protocol: TCP} - {name: kv-pub, port: 5557, protocol: TCP} - {name: kv-replay, port: 5567, protocol: TCP} --- apiVersion: discovery.k8s.io/v1 kind: EndpointSlice metadata: name: qwen-gx10-r0 namespace: default labels: {kubernetes.io/service-name: qwen-gx10, endpointslice.kubernetes.io/managed-by: kinference-session-k} addressType: IPv4 ports: - {name: http, port: 8201, protocol: TCP} - {name: kv-pub, port: 5557, protocol: TCP} - {name: kv-replay, port: 5567, protocol: TCP} endpoints: - addresses: [""] conditions: {ready: true} targetRef: {kind: Pod, namespace: default, name: gx10-vllm-0, uid: 00000000-0000-4000-8000-000000000001} --- apiVersion: discovery.k8s.io/v1 kind: EndpointSlice metadata: name: qwen-gx10-r1 namespace: default labels: {kubernetes.io/service-name: qwen-gx10, endpointslice.kubernetes.io/managed-by: kinference-session-k} addressType: IPv4 ports: - {name: http, port: 8202, protocol: TCP} - {name: kv-pub, port: 5558, protocol: TCP} - {name: kv-replay, port: 5568, protocol: TCP} endpoints: - addresses: [""] conditions: {ready: true} targetRef: {kind: Pod, namespace: default, name: gx10-vllm-1, uid: 00000000-0000-4000-8000-000000000002}