ReplicaSet
+--------------+
| ReplicaSet |
+--------------+
|
_______________|_________________
| | |
| | |
+----|-----+ +-----|----+ +------|----+
| pod | | pod | | pod |
+----------+ +----------+ +-----------+
{ app=hola app=hola app=hola }== lablelapiVersion: apps/v1
kind: ReplicaSet
metadata:
name: hola
spec:
replicas: 3
selector:
matchLabels: # RC တွင် အသုံပြု၍မရပါ။
app: hola
template:
metadata:
labels:
app: hola
spec:
containers:
- name: hola
image: quay.io/dther/holaLast updated
Was this helpful?