12 Ağustos 2022 Cuma

Kubernetes kind: Service İle ExternalName Service

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: v1
kind: Service
metadata:
  name: my-service
spec:
  type: ExternalName
  externalName: my.database.example.com

Hiç yorum yok:

Yorum Gönder

Kubernetes vs NoHashicorp Nomad

Bir yazı burada