mirror of
https://github.com/alibaba/higress.git
synced 2026-06-05 10:37:28 +08:00
release 0.6.1 (#158)
This commit is contained in:
@@ -50,6 +50,7 @@ kind: Ingress
|
||||
metadata:
|
||||
name: hello-world
|
||||
spec:
|
||||
ingressClassName: higress
|
||||
rules:
|
||||
- http:
|
||||
paths:
|
||||
|
||||
@@ -9,6 +9,7 @@ metadata:
|
||||
name: echo-gray
|
||||
namespace: default
|
||||
spec:
|
||||
ingressClassName: higress
|
||||
rules:
|
||||
- http:
|
||||
paths:
|
||||
|
||||
@@ -9,6 +9,7 @@ metadata:
|
||||
name: echo
|
||||
namespace: default
|
||||
spec:
|
||||
ingressClassName: higress
|
||||
rules:
|
||||
- http:
|
||||
paths:
|
||||
|
||||
@@ -29,6 +29,7 @@ metadata:
|
||||
name: echo
|
||||
namespace: default
|
||||
spec:
|
||||
ingressClassName: higress
|
||||
rules:
|
||||
- http:
|
||||
paths:
|
||||
|
||||
82
samples/quickstart.yaml
Normal file
82
samples/quickstart.yaml
Normal file
@@ -0,0 +1,82 @@
|
||||
kind: Pod
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: foo-app
|
||||
labels:
|
||||
app: foo
|
||||
spec:
|
||||
containers:
|
||||
- name: foo-app
|
||||
image: higress-registry.cn-hangzhou.cr.aliyuncs.com/higress/http-echo:0.2.4-alpine
|
||||
args:
|
||||
- "-text=foo"
|
||||
---
|
||||
kind: Service
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: foo-service
|
||||
spec:
|
||||
selector:
|
||||
app: foo
|
||||
ports:
|
||||
# Default port used by the image
|
||||
- port: 5678
|
||||
---
|
||||
kind: Pod
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: bar-app
|
||||
labels:
|
||||
app: bar
|
||||
spec:
|
||||
containers:
|
||||
- name: bar-app
|
||||
image: higress-registry.cn-hangzhou.cr.aliyuncs.com/higress/http-echo:0.2.4-alpine
|
||||
args:
|
||||
- "-text=bar"
|
||||
---
|
||||
kind: Service
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: bar-service
|
||||
spec:
|
||||
selector:
|
||||
app: bar
|
||||
ports:
|
||||
# Default port used by the image
|
||||
- port: 5678
|
||||
---
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: foo
|
||||
spec:
|
||||
ingressClassName: higress
|
||||
rules:
|
||||
- http:
|
||||
paths:
|
||||
- pathType: Prefix
|
||||
path: "/foo"
|
||||
backend:
|
||||
service:
|
||||
name: foo-service
|
||||
port:
|
||||
number: 5678
|
||||
---
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: bar
|
||||
spec:
|
||||
ingressClassName: higress
|
||||
rules:
|
||||
- http:
|
||||
paths:
|
||||
- pathType: Prefix
|
||||
path: "/bar"
|
||||
backend:
|
||||
service:
|
||||
name: bar-service
|
||||
port:
|
||||
number: 5678
|
||||
---
|
||||
Reference in New Issue
Block a user