Difference between revisions of "Kubectl create service externalname"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
 
https://kubernetes.io/docs/concepts/services-networking/service/#externalname
 
https://kubernetes.io/docs/concepts/services-networking/service/#externalname
 +
map a Service to a DNS name.
  
 
  [[kubectl create service]] externalname
 
  [[kubectl create service]] externalname
  
[[kind: ExternalName]]
 
  
  
Line 14: Line 14:
 
  [[spec:]]
 
  [[spec:]]
 
   type: ExternalName
 
   type: ExternalName
   externalName: my.database.example.com
+
   [[externalName]]: my.database.example.com
  
 
== Related ==
 
== Related ==
 
* <code>[[kubectl describe services]]</code>
 
* <code>[[kubectl describe services]]</code>
* [[Ingress]]
+
* [[Kubernetes: Ingress controllers]]: <code>[[helm install nginx]]</code>
 
* [[Kubernetes DNS]]
 
* [[Kubernetes DNS]]
  

Latest revision as of 20:18, 8 November 2023

Advertising: