mirror of
https://gitlab.com/deepcypher/dc-kc.git
synced 2026-01-27 11:12:08 +00:00
This is just a util, this is not deployed into anyones cluster unless expressley created manually. This is for easy exposing of the experimental database for DL that is done outside of the cluster in an ad-hoc manner.
18 lines
367 B
YAML
18 lines
367 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: exp-mongodb-exposer
|
|
namespace: mongodb-experimental
|
|
spec:
|
|
selector:
|
|
app.kubernetes.io/name: mongodb
|
|
app.kubernetes.io/instance: exp-mongodb-helm
|
|
app.kubernetes.io/component: mongodb
|
|
ports:
|
|
- name: mongodb
|
|
protocol: TCP
|
|
port: 27017
|
|
targetPort: mongodb
|
|
nodePort: 32017
|
|
type: NodePort
|