Files
my-rook-config/deploy/examples/rgw-external.yaml
T

22 lines
525 B
YAML
Raw Normal View History

2017-04-14 17:09:18 -07:00
apiVersion: v1
kind: Service
metadata:
2017-09-29 09:27:12 -07:00
name: rook-ceph-rgw-my-store-external
namespace: rook-ceph # namespace:cluster
2017-04-14 17:09:18 -07:00
labels:
app: rook-ceph-rgw
rook_cluster: rook-ceph # namespace:cluster
2017-09-29 09:27:12 -07:00
rook_object_store: my-store
2017-04-14 17:09:18 -07:00
spec:
ports:
2021-03-08 12:18:21 +05:30
- name: rgw
port: 80 # service port mentioned in object store crd
protocol: TCP
targetPort: 8080
2017-04-14 17:09:18 -07:00
selector:
app: rook-ceph-rgw
rook_cluster: rook-ceph # namespace:cluster
2017-09-29 09:27:12 -07:00
rook_object_store: my-store
2017-04-14 17:09:18 -07:00
sessionAffinity: None
type: NodePort