1
0
Fork 0

Merge current branch v2.4 into master

This commit is contained in:
Tom Moulard 2021-04-21 11:32:14 +02:00
commit ac486d3d1d
8 changed files with 97 additions and 4 deletions

View file

@ -0,0 +1,21 @@
apiVersion: v1
kind: Endpoints
metadata:
name: service1
namespace: testing
subsets:
- addresses:
- ip: 10.0.0.1
nodeName: admin.whoami.service1
ports:
- name: http-admin
port: 8079
protocol: TCP
- addresses:
- ip: 10.0.0.1
nodeName: whoami.service1
# targetRef:
ports:
- name: http
port: 8080
protocol: TCP

View file

@ -0,0 +1,15 @@
kind: Ingress
apiVersion: networking.k8s.io/v1beta1
metadata:
name: ""
namespace: testing
spec:
rules:
- host: traefik.port
http:
paths:
- path: /port
backend:
serviceName: service1
servicePort: 8080

View file

@ -0,0 +1,20 @@
apiVersion: v1
kind: Service
metadata:
name: service1
namespace: testing
spec:
ports:
- name: http
port: 8080
protocol: TCP
targetPort: http-api
- name: http-admin
port: 8079
protocol: TCP
targetPort: http-admin
selector:
app: foo
sessionAffinity: None
type: ClusterIP