Split manifests into infra/ and applications/
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
apiVersion: gateway.envoyproxy.io/v1alpha1
|
||||
kind: BackendTrafficPolicy
|
||||
metadata:
|
||||
name: minio-aistor-console-backend-traffic
|
||||
namespace: minio-aistor
|
||||
spec:
|
||||
targetRefs:
|
||||
- group: gateway.networking.k8s.io
|
||||
kind: HTTPRoute
|
||||
name: minio-aistor-console-route
|
||||
timeout:
|
||||
http:
|
||||
connectionIdleTimeout: 3600s
|
||||
requestTimeout: 0s
|
||||
---
|
||||
apiVersion: gateway.envoyproxy.io/v1alpha1
|
||||
kind: BackendTrafficPolicy
|
||||
metadata:
|
||||
name: minio-aistor-api-backend-traffic
|
||||
namespace: minio-aistor
|
||||
spec:
|
||||
targetRefs:
|
||||
- group: gateway.networking.k8s.io
|
||||
kind: HTTPRoute
|
||||
name: minio-aistor-api-route
|
||||
timeout:
|
||||
http:
|
||||
connectionIdleTimeout: 3600s
|
||||
requestTimeout: 0s
|
||||
22
applications/minio-aistor/minio-aistor-endpointslice.yaml
Normal file
22
applications/minio-aistor/minio-aistor-endpointslice.yaml
Normal file
@@ -0,0 +1,22 @@
|
||||
apiVersion: discovery.k8s.io/v1
|
||||
kind: EndpointSlice
|
||||
metadata:
|
||||
name: minio-aistor
|
||||
namespace: minio-aistor
|
||||
labels:
|
||||
kubernetes.io/service-name: minio-aistor
|
||||
addressType: IPv4
|
||||
ports:
|
||||
- name: api
|
||||
port: 9000
|
||||
protocol: TCP
|
||||
- name: console
|
||||
port: 9001
|
||||
protocol: TCP
|
||||
endpoints:
|
||||
- addresses:
|
||||
- "10.8.14.2"
|
||||
conditions:
|
||||
ready: true
|
||||
serving: true
|
||||
terminating: false
|
||||
67
applications/minio-aistor/minio-aistor-httproute.yaml
Normal file
67
applications/minio-aistor/minio-aistor-httproute.yaml
Normal file
@@ -0,0 +1,67 @@
|
||||
apiVersion: gateway.networking.k8s.io/v1
|
||||
kind: HTTPRoute
|
||||
metadata:
|
||||
name: minio-aistor-api-route
|
||||
namespace: minio-aistor
|
||||
spec:
|
||||
parentRefs:
|
||||
- group: gateway.networking.k8s.io
|
||||
kind: Gateway
|
||||
name: gateway-internal
|
||||
namespace: envoy-gateway
|
||||
sectionName: minio-aistor-api
|
||||
hostnames:
|
||||
- "s3.jsme.be"
|
||||
rules:
|
||||
- matches:
|
||||
- path:
|
||||
type: PathPrefix
|
||||
value: /
|
||||
filters:
|
||||
- type: RequestHeaderModifier
|
||||
requestHeaderModifier:
|
||||
set:
|
||||
- name: X-Forwarded-Host
|
||||
value: "s3.jsme.be"
|
||||
- name: X-Forwarded-Proto
|
||||
value: https
|
||||
backendRefs:
|
||||
- name: minio-aistor
|
||||
port: 9000
|
||||
kind: Service
|
||||
group: ""
|
||||
weight: 1
|
||||
---
|
||||
apiVersion: gateway.networking.k8s.io/v1
|
||||
kind: HTTPRoute
|
||||
metadata:
|
||||
name: minio-aistor-console-route
|
||||
namespace: minio-aistor
|
||||
spec:
|
||||
parentRefs:
|
||||
- group: gateway.networking.k8s.io
|
||||
kind: Gateway
|
||||
name: gateway-internal
|
||||
namespace: envoy-gateway
|
||||
sectionName: minio-aistor-console
|
||||
hostnames:
|
||||
- "s3-console.jsme.be"
|
||||
rules:
|
||||
- matches:
|
||||
- path:
|
||||
type: PathPrefix
|
||||
value: /
|
||||
filters:
|
||||
- type: RequestHeaderModifier
|
||||
requestHeaderModifier:
|
||||
set:
|
||||
- name: X-Forwarded-Host
|
||||
value: "s3-console.jsme.be"
|
||||
- name: X-Forwarded-Proto
|
||||
value: https
|
||||
backendRefs:
|
||||
- name: minio-aistor
|
||||
port: 9001
|
||||
kind: Service
|
||||
group: ""
|
||||
weight: 1
|
||||
14
applications/minio-aistor/minio-aistor-service.yaml
Normal file
14
applications/minio-aistor/minio-aistor-service.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: minio-aistor
|
||||
namespace: minio-aistor
|
||||
spec:
|
||||
type: ClusterIP
|
||||
ports:
|
||||
- port: 9000
|
||||
targetPort: 9000
|
||||
name: api
|
||||
- port: 9001
|
||||
targetPort: 9001
|
||||
name: console
|
||||
Reference in New Issue
Block a user