12 lines
152 B
YAML
12 lines
152 B
YAML
|
apiVersion: v1
|
||
|
kind: Service
|
||
|
metadata:
|
||
|
name: nginx
|
||
|
spec:
|
||
|
selector:
|
||
|
app: nginx
|
||
|
ports:
|
||
|
- port: 80
|
||
|
targetPort: 80
|
||
|
type: LoadBalancer
|