13 lines
173 B
YAML
13 lines
173 B
YAML
|
apiVersion: v1
|
||
|
kind: Service
|
||
|
metadata:
|
||
|
name: pi-web
|
||
|
labels:
|
||
|
kiamol: ch06
|
||
|
spec:
|
||
|
ports:
|
||
|
- port: 80
|
||
|
name: http
|
||
|
selector:
|
||
|
app: pi-web
|
||
|
type: ClusterIP
|