deployment changes
This commit is contained in:
@@ -9,10 +9,11 @@ metadata:
|
||||
namespace: docker-ingress
|
||||
spec:
|
||||
ports:
|
||||
- port: 80
|
||||
- name: http
|
||||
protocol: TCP
|
||||
port: 80
|
||||
targetPort: 5001
|
||||
---
|
||||
# Endpoints
|
||||
apiVersion: v1
|
||||
kind: Endpoints
|
||||
metadata:
|
||||
@@ -20,9 +21,11 @@ metadata:
|
||||
namespace: docker-ingress
|
||||
subsets:
|
||||
- addresses:
|
||||
- ip: 192.168.15.101
|
||||
- ip: 192.168.20.100
|
||||
ports:
|
||||
- port: 5001
|
||||
- name: http
|
||||
protocol: TCP
|
||||
port: 5001
|
||||
---
|
||||
# Ingress
|
||||
apiVersion: networking.k8s.io/v1
|
||||
|
||||
Reference in New Issue
Block a user