Class InClusterConnectionConfig

java.lang.Object
io.agentscope.extensions.sandbox.kubernetes.client.config.InClusterConnectionConfig
All Implemented Interfaces:
SandboxConnectionConfig

public final class InClusterConnectionConfig extends Object implements SandboxConnectionConfig
Direct in-cluster connection to the sandbox pod, bypassing the router.

Prefers the pod IP from Sandbox status; falls back to http://{sandboxId}.{namespace}.svc.cluster.local:{serverPort}.

  • Constructor Details

    • InClusterConnectionConfig

      public InClusterConnectionConfig()
    • InClusterConnectionConfig

      public InClusterConnectionConfig(int serverPort)
  • Method Details