15 lines
193 B
YAML
15 lines
193 B
YAML
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: nginx
|
|
spec:
|
|
ports:
|
|
- port: 80
|
|
protocol: TCP
|
|
targetPort: 80
|
|
selector:
|
|
app: nginx
|
|
type: ClusterIP
|
|
|
|
# vim: set ts=2 sw=2 et:
|