Skip to main content
logoTetrate Service BridgeVersion: 1.13.x

Migrating from other Gateway solutions

Learn how to easily migrate from other Gateway solutions to Tetrate Hosted Agent

From Kubernetes Ingress

If migrating from Kubernetes Ingress:

Old Ingress configuration
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: my-ingress
spec:
rules:
- host: api.example.com
http:
paths:
- path: /api
pathType: Prefix
backend:
service:
name: api-service
port:
number: 8080

... you can instead use Tetrate Hosted Agent:

Tetrate Hosted Agent annotation-based configuration
apiVersion: v1
kind: Service
metadata:
name: api-service
namespace: default
annotations:
gateway.tetrate.io/host: "api.example.com"
gateway.tetrate.io/path: "/api"
spec:
selector:
app: api-service
ports:
- port: 8080
targetPort: 8080
name: http

From Istio VirtualService

If migrating from Istio VirtualService:

Old VirtualService configuration
apiVersion: networking.istio.io/v1beta1
kind: VirtualService
metadata:
name: my-vs
spec:
hosts:
- api.example.com
http:
- match:
- uri:
prefix: /api
route:
- destination:
host: api-service
port:
number: 8080

... you can instead use Tetrate Hosted Agent:

Tetrate Hosted Agent annotation-based configuration
apiVersion: v1
kind: Service
metadata:
name: api-service
namespace: default
annotations:
gateway.tetrate.io/host: "api.example.com"
gateway.tetrate.io/path: "/api"
spec:
selector:
app: api-service
ports:
- port: 8080
targetPort: 8080
name: http