autocommit
This commit is contained in:
parent
4b0543b1c0
commit
69e9dab1b1
15
helm/demo/templates/service.yaml
Normal file
15
helm/demo/templates/service.yaml
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: demo-service
|
||||||
|
namespace: demo
|
||||||
|
spec:
|
||||||
|
ports:
|
||||||
|
- name: http
|
||||||
|
port: 80
|
||||||
|
protocol: TCP
|
||||||
|
targetPort: 80
|
||||||
|
selector:
|
||||||
|
app.kubernetes.io/instance: demo
|
||||||
|
app.kubernetes.io/name: demo
|
||||||
|
type: ClusterIP
|
||||||
17
helm/demo/templates/virtualservice.yaml
Normal file
17
helm/demo/templates/virtualservice.yaml
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
apiVersion: networking.istio.io/v1
|
||||||
|
kind: VirtualService
|
||||||
|
metadata:
|
||||||
|
name: demo
|
||||||
|
namespace: demo
|
||||||
|
spec:
|
||||||
|
hosts:
|
||||||
|
- "demo.apps.linvogel.internal"
|
||||||
|
gateways:
|
||||||
|
- istio-ingress/istio-gateway
|
||||||
|
http:
|
||||||
|
- name: "demo-route"
|
||||||
|
route:
|
||||||
|
- destination:
|
||||||
|
host: demo.demo.svc.cluster.local
|
||||||
|
port:
|
||||||
|
number: 80
|
||||||
Loading…
x
Reference in New Issue
Block a user