adding before converting to daemonset
This commit is contained in:
@@ -158,3 +158,29 @@ spec:
|
|||||||
type: NodePort
|
type: NodePort
|
||||||
selector:
|
selector:
|
||||||
app: reverse-proxy
|
app: reverse-proxy
|
||||||
|
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: reverse-proxy-load
|
||||||
|
namespace: reverse-proxy
|
||||||
|
annotations:
|
||||||
|
spec:
|
||||||
|
ipFamilyPolicy: PreferDualStack
|
||||||
|
ports:
|
||||||
|
- name: http
|
||||||
|
port: 80
|
||||||
|
targetPort: rp-port-http
|
||||||
|
protocol: TCP
|
||||||
|
|
||||||
|
- name: https
|
||||||
|
port: 443
|
||||||
|
targetPort: rp-port-https
|
||||||
|
protocol: TCP
|
||||||
|
|
||||||
|
|
||||||
|
type: LoadBalancer
|
||||||
|
externalTrafficPolicy: Local
|
||||||
|
selector:
|
||||||
|
app: reverse-proxy
|
||||||
|
|||||||
Reference in New Issue
Block a user