16 lines
279 B
YAML
16 lines
279 B
YAML
|
apiVersion: v1
|
||
|
kind: Service
|
||
|
metadata:
|
||
|
name: homepage
|
||
|
labels:
|
||
|
app.kubernetes.io/name: homepage
|
||
|
annotations: {}
|
||
|
spec:
|
||
|
type: ClusterIP
|
||
|
ports:
|
||
|
- port: 3000
|
||
|
targetPort: http
|
||
|
protocol: TCP
|
||
|
name: http
|
||
|
selector:
|
||
|
app.kubernetes.io/name: homepage
|