add service ip
This commit is contained in:
parent
e4447074ad
commit
447fb3232b
@ -19,3 +19,15 @@ spec:
|
|||||||
image: flyimg/flyimg
|
image: flyimg/flyimg
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 80
|
- containerPort: 80
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: flyimg-service
|
||||||
|
spec:
|
||||||
|
type: ClusterIP
|
||||||
|
ports:
|
||||||
|
- port: 80
|
||||||
|
targetPort: 80
|
||||||
|
selector:
|
||||||
|
app: flyimg
|
||||||
|
@ -15,7 +15,7 @@ spec:
|
|||||||
- name: default-headers
|
- name: default-headers
|
||||||
namespace: traefik
|
namespace: traefik
|
||||||
services:
|
services:
|
||||||
- name: flyimg
|
- name: flyimg-service
|
||||||
port: 80
|
port: 80
|
||||||
tls:
|
tls:
|
||||||
secretName: fascinated-cc
|
secretName: fascinated-cc
|
||||||
|
Reference in New Issue
Block a user