Example Kubernetes PetSet
manifest for an etcd
PetSet
.
PetSet
s are still very early types in Kubernetes, but we can get etcd
up and
running with one, with a few particulars.
Of note:
Service
discovers this Pod (chicken-and-egg problem)Service
because if we do, the PetSet
unit names (e.g. etcd-0.etcd.default.svc.cluster.local) do not get created,
though the service does.PetSet
unit names
don't get defined, either.