forked from zalando-incubator/es-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
es-operator.yaml
43 lines (43 loc) · 847 Bytes
/
es-operator.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
apiVersion: v1
kind: Namespace
metadata:
name: es-operator-demo
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: es-operator
namespace: es-operator-demo
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: es-operator
namespace: es-operator-demo
labels:
application: es-operator
version: latest
spec:
replicas: 1
strategy:
type: Recreate
selector:
matchLabels:
application: es-operator
template:
metadata:
labels:
application: es-operator
version: latest
spec:
serviceAccountName: es-operator
containers:
- name: es-operator
image: registry.opensource.zalan.do/poirot/es-operator:latest
resources:
limits:
cpu: 20m
memory: 100Mi
requests:
cpu: 20m
memory: 100Mi