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

Cluster Propotional Autoscaler - ReplicaSet Ekler/Siler

Giriş Açıklaması şöyle CPA aims to horizontally scale the number of Pod replicas based on the cluster’s scale. A common example is DNS ser...