Skip to content

Commit

Permalink
chore: move zipkin test resources out of the base (#3864)
Browse files Browse the repository at this point in the history
move zipkin test resources out of the base

Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>
  • Loading branch information
zhaohuabing committed Jul 16, 2024
1 parent 0ec17ab commit a6590bf
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 64 deletions.
64 changes: 0 additions & 64 deletions test/e2e/base/manifests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -934,67 +934,3 @@ spec:
protocol: TCP
port: 19001
targetPort: 19001
---
apiVersion: gateway.networking.k8s.io/v1
kind: Gateway
metadata:
name: eg-special-case
namespace: gateway-conformance-infra
spec:
gatewayClassName: "{GATEWAY_CLASS_NAME}"
listeners:
- name: http
port: 80
protocol: HTTP
allowedRoutes:
namespaces:
from: All
infrastructure:
parametersRef:
group: gateway.envoyproxy.io
kind: EnvoyProxy
name: zipkin-tracing
---
# This is a EnvoyProxy used for Zipkin tracing and will
# target to the eg-special-case Gateway
apiVersion: gateway.envoyproxy.io/v1alpha1
kind: EnvoyProxy
metadata:
name: zipkin-tracing
namespace: gateway-conformance-infra
spec:
logging:
level:
default: debug
telemetry:
tracing:
provider:
type: Zipkin
backendRefs:
- name: otel-collector
namespace: monitoring
port: 9411
zipkin:
enable128BitTraceId: true
customTags:
"provider":
type: Literal
literal:
value: "zipkin"
"k8s.cluster.name":
type: Literal
literal:
value: "envoy-gateway"
"k8s.pod.name":
type: Environment
environment:
name: ENVOY_POD_NAME
defaultValue: "-"
"k8s.namespace.name":
type: Environment
environment:
name: ENVOY_GATEWAY_NAMESPACE
defaultValue: "envoy-gateway-system"
shutdown:
drainTimeout: 5s
minDrainDuration: 1s
64 changes: 64 additions & 0 deletions test/e2e/testdata/tracing-zipkin.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,68 @@
apiVersion: gateway.networking.k8s.io/v1
kind: Gateway
metadata:
name: eg-special-case
namespace: gateway-conformance-infra
spec:
gatewayClassName: "{GATEWAY_CLASS_NAME}"
listeners:
- name: http
port: 80
protocol: HTTP
allowedRoutes:
namespaces:
from: All
infrastructure:
parametersRef:
group: gateway.envoyproxy.io
kind: EnvoyProxy
name: zipkin-tracing
---
# This is a EnvoyProxy used for Zipkin tracing and will
# target to the eg-special-case Gateway
apiVersion: gateway.envoyproxy.io/v1alpha1
kind: EnvoyProxy
metadata:
name: zipkin-tracing
namespace: gateway-conformance-infra
spec:
logging:
level:
default: debug
telemetry:
tracing:
provider:
type: Zipkin
backendRefs:
- name: otel-collector
namespace: monitoring
port: 9411
zipkin:
enable128BitTraceId: true
customTags:
"provider":
type: Literal
literal:
value: "zipkin"
"k8s.cluster.name":
type: Literal
literal:
value: "envoy-gateway"
"k8s.pod.name":
type: Environment
environment:
name: ENVOY_POD_NAME
defaultValue: "-"
"k8s.namespace.name":
type: Environment
environment:
name: ENVOY_GATEWAY_NAMESPACE
defaultValue: "envoy-gateway-system"
shutdown:
drainTimeout: 5s
minDrainDuration: 1s
---
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: tracing-zipkin
Expand Down

0 comments on commit a6590bf

Please sign in to comment.