kubernetes-yaml/learn/learn-kubernetes-master/kiamol/ch14/lab/elasticsearch.yml

16 lines
292 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: elasticsearch
spec:
selector:
matchLabels:
app: elasticsearch
template:
metadata:
labels:
app: elasticsearch
spec:
containers:
- image: kiamol/ch13-elasticsearch
name: elasticsearch