Difference between revisions of "Kubectl create service externalname"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
|||
Line 4: | Line 4: | ||
[[kubectl create service]] externalname | [[kubectl create service]] externalname | ||
− | |||
Line 14: | Line 13: | ||
[[spec:]] | [[spec:]] | ||
type: ExternalName | type: ExternalName | ||
− | externalName: my.database.example.com | + | [[externalName]]: my.database.example.com |
== Related == | == Related == |
Revision as of 19:33, 8 November 2023
https://kubernetes.io/docs/concepts/services-networking/service/#externalname
kubectl create service externalname
apiVersion: v1 kind: Service metadata: name: my-service namespace: prod spec: type: ExternalName externalName: my.database.example.com
Related
See also
Advertising: