mirror of
https://github.com/ChristianLempa/boilerplates.git
synced 2024-12-02 05:04:44 +01:00
19 lines
300 B
YAML
19 lines
300 B
YAML
|
apiVersion: v1
|
||
|
kind: Service
|
||
|
metadata:
|
||
|
name: nginx-https-svc
|
||
|
labels:
|
||
|
app: nginx-https
|
||
|
spec:
|
||
|
type: LoadBalancer
|
||
|
ports:
|
||
|
- port: 31080
|
||
|
targetPort: 80
|
||
|
protocol: TCP
|
||
|
name: http
|
||
|
- port: 31443
|
||
|
targetPort: 443
|
||
|
protocol: TCP
|
||
|
name: https
|
||
|
selector:
|
||
|
app: nginx-https
|