Created
January 6, 2022 10:33
-
-
Save incfly/8753a63ed0b86d29c96873ee97338782 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 2022-01-06T09:32:48.168864Z info status jianfeih debug, config: | |
# fqn gateway.xcp.tetrate.io/v2/IngressGateway:xcp-edge/test-ingress-gateway, | |
# status {gateway.xcp.tetrate.io/v2/IngressGateway:xcp-edge/test-ingress-gateway READY | |
# [name:"test-ingress-gateway" namespace:"echo-7-93217" result:READY | |
# name:"test-ingress-gateway-httpbin-mesh-internal" namespace:"echo-7-93217" result:READY | |
# name:"test-ingress-gateway-mesh-external" namespace:"echo-7-93217" result:READY | |
# name:"vs-app2-tetrate-io" namespace:"echo-7-93217" result:READY ] {} [] 0} | |
# Apply this in xcp-edge works, but in xcp-system not works (not propagating to the xcp-edge namespace.) | |
apiVersion: xcp.tetrate.io/v2 | |
kind: Workspace | |
metadata: | |
name: test-workspace | |
namespace: xcp-edge | |
spec: | |
namespaceSelector: | |
names: | |
- "*/echo-7-93217" | |
--- | |
apiVersion: gateway.xcp.tetrate.io/v2 | |
kind: GatewayGroup | |
metadata: | |
name: test-gateway-group | |
namespace: xcp-edge | |
labels: | |
xcp.tetrate.io/workspace: test-workspace | |
spec: | |
configMode: BRIDGED | |
namespaceSelector: | |
names: | |
- "*/echo-7-93217" | |
--- | |
apiVersion: gateway.xcp.tetrate.io/v2 | |
kind: IngressGateway | |
metadata: | |
name: test-ingress-gateway | |
namespace: xcp-edge | |
labels: | |
xcp.tetrate.io/workspace: test-workspace | |
xcp.tetrate.io/gatewayGroup: test-gateway-group | |
spec: | |
workloadSelector: | |
namespace: echo-7-93217 | |
labels: | |
app: echo-gateway | |
http: | |
- name: "httpbin" | |
port: 8080 | |
hostname: "app2.tetrate.io" | |
routing: | |
rules: | |
- route: | |
host: "echo-7-93217/httpbin.echo-7-93217.svc.cluster.local" | |
port: 8000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment