mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-14 10:20:20 +00:00
17 lines
345 B
YAML
17 lines
345 B
YAML
|
apiVersion: v1
|
||
|
kind: Service
|
||
|
metadata:
|
||
|
name: frontend
|
||
|
labels:
|
||
|
app: guestbook
|
||
|
tier: frontend
|
||
|
spec:
|
||
|
# if your cluster supports it, uncomment the following to automatically create
|
||
|
# an external load-balanced IP for the frontend service.
|
||
|
# type: LoadBalancer
|
||
|
ports:
|
||
|
- port: 80
|
||
|
selector:
|
||
|
app: guestbook
|
||
|
tier: frontend
|