Difference between revisions of "Kubectl create service externalname"
Jump to navigation
Jump to search
Line 16: | Line 16: | ||
externalName: my.database.example.com | externalName: my.database.example.com | ||
+ | |||
+ | [[kubectl describe services]] | ||
== See also == | == See also == |
Revision as of 06:46, 14 September 2022
https://kubernetes.io/docs/concepts/services-networking/service/#externalname
kubectl create service externalname
kind: ExternalName
apiVersion: v1 kind: Service metadata: name: my-service namespace: prod spec: type: ExternalName externalName: my.database.example.com
kubectl describe services
See also
Advertising: