kubectl create service externalname
Jump to navigation
Jump to search
https://kubernetes.io/docs/concepts/services-networking/service/#externalname
map a Service to a DNS name.
kubectl create service externalname
apiVersion: v1 kind: Service metadata: name: my-service namespace: prod spec: type: ExternalName externalName: my.database.example.com
Related[edit]
See also[edit]
Advertising: