add service ip
This commit is contained in:
parent
e4447074ad
commit
447fb3232b
@ -19,3 +19,15 @@ spec:
|
||||
image: flyimg/flyimg
|
||||
ports:
|
||||
- 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
|
||||
namespace: traefik
|
||||
services:
|
||||
- name: flyimg
|
||||
- name: flyimg-service
|
||||
port: 80
|
||||
tls:
|
||||
secretName: fascinated-cc
|
||||
|
Reference in New Issue
Block a user