22 lines
427 B
YAML
22 lines
427 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: elasticsearch
|
|
namespace: kiamol-ch13-logging
|
|
labels:
|
|
kiamol: ch13
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
app: elasticsearch
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: elasticsearch
|
|
spec:
|
|
containers:
|
|
- image: kiamol/ch13-elasticsearch
|
|
name: elasticsearch
|
|
ports:
|
|
- containerPort: 9200
|
|
name: elasticsearch |