Data Plane
Tetrate Service Express (TSE) utilizes many of the same components as the Tetrate Service Bridge(TSB) product but has the several distinctions. Go to Comparing TSE and TSB for more details.
A minimal resource should have an empty spec.
apiVersion: install.tetrate.io/v1alpha1
kind: IngressGateway
metadata:
name: bookinfo
namespace: bookinfo
spec: \{\}
To configure infrastructure specific settings such as the service type, set the relevant field in kubeSpec. Remember that the installation API is an override API so if these fields are unset the operator will use sensible defaults. Only a subset of Kubernetes configuration is available.
When utilizing the service type 'NodePort', you must include the 'traffic.istio.io/nodeSelector' annotation. This annotation specifies which nodes the gateway should be scheduled on.
apiVersion: install.tetrate.io/v1alpha1
kind: IngressGateway
metadata:
name: bookinfo
namespace: bookinfo
spec:
kubeSpec:
service:
type: NodePort
annotations:
traffic.istio.io/nodeSelector: '\{"beta.kubernetes.io/os": "linux"\}'
EgressGateway
and Tier1Gateway
are configured in the same manner.
EgressGatewaySpec
EgressGatewaySpec defines the desired installed state of a single egress gateway for a given namespace in Service Express . Specifying a minimal EgressGatewaySpec with a hub will create a default gateway with sensible values.
Field | Description | Validation Rule |
---|---|---|
connectionDrainDuration | google.protobuf.Duration | – |
kubeSpec | tetrateio.api.install.kubernetes.KubernetesComponentSpec | – |
revision | string | – |
IngressGatewaySpec
IngressGatewaySpec defines the desired installed state of a single ingress gateway for a given namespace in Service Express . Specifying a minimal IngressGatewaySpec with a hub will create a default gateway with sensible values.
Field | Description | Validation Rule |
---|---|---|
connectionDrainDuration | google.protobuf.Duration | – |
kubeSpec | tetrateio.api.install.kubernetes.KubernetesComponentSpec | – |
revision | string | – |
eastWestOnly | bool | – |
Tier1GatewaySpec
Tier1GatewaySpec defines the desired installed state of a single tier 1 gateway for a given namespace in Service Express . Specifying a minimal Tier1GatewaySpec with a hub will create a default gateway with sensible values.
Field | Description | Validation Rule |
---|---|---|
connectionDrainDuration | google.protobuf.Duration | – |
kubeSpec | tetrateio.api.install.kubernetes.KubernetesComponentSpec | – |
revision | string | – |