Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame^] | 1 | apiVersion: extensions/v1beta1 |
2 | kind: Deployment | ||||
3 | metadata: | ||||
4 | name: hbase | ||||
5 | spec: | ||||
6 | selector: | ||||
7 | matchLabels: | ||||
8 | app: hbase | ||||
9 | template: | ||||
10 | metadata: | ||||
11 | labels: | ||||
12 | app: hbase | ||||
13 | name: hbase | ||||
14 | spec: | ||||
15 | hostname: hbase | ||||
16 | containers: | ||||
17 | - name: hbase | ||||
18 | image: aaidocker/aai-hbase-1.2.3:latest | ||||
19 | ports: | ||||
20 | - containerPort: 8020 | ||||
21 | readinessProbe: | ||||
22 | tcpSocket: | ||||
23 | port: 8020 | ||||
24 | initialDelaySeconds: 5 | ||||
25 | periodSeconds: 10 |