Sign in
cue
/
cue
/
f5fa0099b92875abfddc82e831f6efc34bb7abaa
/
.
/
doc
/
tutorial
/
kubernetes
/
original
/
services
/
infra
/
tasks
/
service.yaml
blob: d7bc0c5b6d7b95ab411c49690960db2bff7e0e96 [
file
] [
log
] [
blame
]
apiVersion:
v1
kind:
Service
metadata:
name:
tasks
labels:
app:
tasks
component:
infra
spec:
type:
LoadBalancer
loadBalancerIP:
1.2.3.4
# static ip
ports:
-
port:
443
targetPort:
7443
protocol:
TCP
name:
http
selector:
app:
tasks