You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
learn_k8s/manifests/external-postgres-service.yaml

12 lines
351 B
YAML

# Demonstates using external service name to host a DNS entry pointing to an external resource.
# Does not create an endpoint
# Example DSN: "host=dev-postgres user=toor password=<YOUR PASSWORD> dbname=testdb"
apiVersion: v1
kind: Service
metadata:
name: dev-postgres
namespace: runcible
spec:
type: ExternalName
externalName: db2.runcible.io