You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The created service name should be configurable by some setting like serviceName in the database CRD. Leaving that settings empty / out should prevent the controller from creating a service. The serive should be deployed to the same namespace the database CRD is saved to.
kind: EndpointsapiVersion: v1metadata:
name: mongo # has to be the same name use by the servicesubsets:
- addresses:
- ip: 10.240.0.4 # ip of the cluster-external mongo databaseports:
- port: 27017
The created service name should be configurable by some setting like
serviceName
in thedatabase
CRD. Leaving that settings empty / out should prevent the controller from creating a service. The serive should be deployed to the same namespace thedatabase
CRD is saved to.Service creation
Looks like there are two ways:
ExternalName
(DNS hostname)SOURCE: https://cloud.google.com/blog/products/gcp/kubernetes-best-practices-mapping-external-services
The text was updated successfully, but these errors were encountered: