Giriş
Açıklaması şöyle
- This is commonly used to create a service within Kubernetes to represent an external datastore like a database that runs externally to Kubernetes.
- You can use that ExternalName service (as a local service) when Pods from one namespace to talk to a service in another namespace.
Örnek
Şöyle yaparız
apiVersion: v1kind: Servicemetadata:name: my-servicespec:type: ExternalNameexternalName: my.database.example.com
Hiç yorum yok:
Yorum Gönder