Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add optional Gateway API resource definition to expose endpoints #280

Merged
merged 44 commits into from
Aug 25, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
029df12
feat: add helper scripts to manage prometheus deployment
leninmehedy Aug 13, 2023
07fe722
fix: use network-node-svc label selector
leninmehedy Aug 13, 2023
cc4eac2
fix: install prometheus operator only if crds are not installed yet
leninmehedy Aug 14, 2023
36c9145
feat: deploy prometheus service monitor conditionally along with hede…
leninmehedy Aug 14, 2023
a59ab4b
style: add missing new lines
leninmehedy Aug 14, 2023
3fa482d
fix: allow prometheus service monitor endpoints to be set by user
leninmehedy Aug 14, 2023
29a7b8a
Merge branch 'main' into 227-prometheus-servicemonitor
leninmehedy Aug 14, 2023
77e427d
ci: setup prometheus operator in CI/CD pipeline
leninmehedy Aug 14, 2023
4a68fa2
fix: update dev script to deploy prometheus operator locally if not i…
leninmehedy Aug 14, 2023
3664f81
style: fix spotless lint issue
leninmehedy Aug 14, 2023
cfcd596
fix: function definition in bash script for consistency
leninmehedy Aug 14, 2023
ee18328
Merge branch 'main' into 227-prometheus-servicemonitor
leninmehedy Aug 16, 2023
54e5cb3
Update charts/hedera-network/templates/services/network-node-svc.yaml
leninmehedy Aug 21, 2023
f5d5fc9
fix: remove otel ports from value file
leninmehedy Aug 21, 2023
e68165a
Merge branch 'main' into 227-prometheus-servicemonitor
leninmehedy Aug 21, 2023
9cb82c2
fix: port name and updated README for manual tests
leninmehedy Aug 21, 2023
59248e6
fix: port name
leninmehedy Aug 21, 2023
bff50ba
fix: install minio operator if not installed already during network d…
leninmehedy Aug 21, 2023
00d9b9c
fix: increase timeout during example app deployment
leninmehedy Aug 21, 2023
2072ad3
fix: only expose OTel metrics port from node svc
leninmehedy Aug 22, 2023
5e57f43
fix: update health-check port name for otel collector
leninmehedy Aug 22, 2023
9ddc4b2
feat: initial gateway setup files
leninmehedy Aug 16, 2023
28df314
feat: add setup files for haproxy ingress controller
leninmehedy Aug 16, 2023
a000bae
feat: working copy of gateway with http-debug svc
leninmehedy Aug 16, 2023
0c6353c
feat: setup routes conditionally for envoy-proxy, haproxy and network…
leninmehedy Aug 17, 2023
088f6ba
feat: support templated hostname for routes
leninmehedy Aug 17, 2023
bd768ea
fix: envoy cluster name
leninmehedy Aug 17, 2023
5b0aabe
fix: working http route using envoy-gateway
leninmehedy Aug 21, 2023
f82e63a
fix: enable haproxy ingress controller
leninmehedy Aug 22, 2023
9af10e9
test: add http and grpc route test scripts
leninmehedy Aug 22, 2023
38a8849
feat: add tcp-route example
leninmehedy Aug 22, 2023
baf0cee
feat: add test scripts for tcp route
leninmehedy Aug 22, 2023
d33d9af
fix: fst-gateway template
leninmehedy Aug 22, 2023
ca8b78e
fix: working copy for gateway-api demo with helper scripts
leninmehedy Aug 23, 2023
fe304cb
fix check for tcp route test success
leninmehedy Aug 24, 2023
0a8aa3d
add tcp grpc route to node-svc
leninmehedy Aug 24, 2023
4b25584
add haproxy tcp route to port 50211
leninmehedy Aug 24, 2023
3a9eb7d
fix: add envoy-proxy httproute and remap ports
leninmehedy Aug 25, 2023
5342416
feat: add support for rendering an optional PrometheusOperator Servic…
leninmehedy Aug 22, 2023
f0f0b5f
feat: mirror node as a conditional subchart (#272)
deepak-swirlds Aug 22, 2023
c256e63
style: add missing newlines
leninmehedy Aug 25, 2023
ffa0cb5
Merge branch 'main' into gateway-api
leninmehedy Aug 25, 2023
c08e809
fix: cleanup
leninmehedy Aug 25, 2023
33c8f5e
style: add missing newline
leninmehedy Aug 25, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat: add tcp-route example
Signed-off-by: Lenin Mehedy <lenin.mehedy@swirldslabs.com>
  • Loading branch information
leninmehedy committed Aug 22, 2023
commit 38a88490dd24d7931736e4b4d081e1b0f7be1bd3
10 changes: 8 additions & 2 deletions dev/files/fst-gateway.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ kind: GatewayClass
metadata:
name: fst
spec:
# controllerName: gateway.envoyproxy.io/gatewayclass-controller
controllerName: haproxy-ingress.github.io/controller
controllerName: gateway.envoyproxy.io/gatewayclass-controller
# controllerName: haproxy-ingress.github.io/controller
---
apiVersion: gateway.networking.k8s.io/v1beta1
kind: Gateway
Expand All @@ -16,4 +16,10 @@ spec:
- name: http
protocol: HTTP
port: 80
- name: grpc-non-tls
protocol: TCP
port: 50211
allowedRoutes:
kinds:
- kind: TCPRoute
---
65 changes: 65 additions & 0 deletions dev/files/tcp-debug.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
apiVersion: v1
kind: ServiceAccount
metadata:
name: tcp-debug
---
apiVersion: v1
kind: Service
metadata:
name: tcp-debug
labels:
app: tcp-debug
service: tcp-debug
spec:
ports:
- name: http
port: 3000
targetPort: 3000
selector:
app: tcp-debug
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: tcp-debug
spec:
replicas: 1
selector:
matchLabels:
app: tcp-debug
version: v1
template:
metadata:
labels:
app: tcp-debug
version: v1
spec:
serviceAccountName: tcp-debug
containers:
- image: gcr.io/k8s-staging-ingressconformance/echoserver:v20221109-7ee2f3e
imagePullPolicy: IfNotPresent
name: tcp-debug
ports:
- containerPort: 3000
env:
- name: POD_NAME
valueFrom:
fieldRef:
fieldPath: metadata.name
- name: NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
---
apiVersion: gateway.networking.k8s.io/v1alpha2
kind: TCPRoute
metadata:
name: tcp-debug
spec:
parentRefs:
- name: fst
sectionName: grpc-non-tls
rules:
- backendRefs:
- name: tcp-debug
port: 3000