Skip to content

Commit 58d4ede

Browse files
committed
Updated manifest to 0.1.0
1 parent bd8feab commit 58d4ede

File tree

3 files changed

+55
-6
lines changed

3 files changed

+55
-6
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ support. That is still completely missing.
2323
## Installation of latest release
2424

2525
```bash
26-
kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/0.0.1/manifests/crd.yaml
27-
kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/0.0.1/manifests/arango-deployment.yaml
26+
kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/0.1.0/manifests/crd.yaml
27+
kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/0.1.0/manifests/arango-deployment.yaml
2828
# To use `ArangoLocalStorage`, also run
29-
kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/0.0.1/manifests/arango-storage.yaml
29+
kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/0.1.0/manifests/arango-storage.yaml
3030
```
3131

3232
## Building

manifests/arango-deployment.yaml

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,17 +80,21 @@ metadata:
8080
namespace: default
8181
spec:
8282
replicas: 1
83+
strategy:
84+
type: Recreate
8385
template:
8486
metadata:
8587
labels:
8688
name: arango-deployment-operator
89+
app: arango-deployment-operator
8790
spec:
8891
containers:
8992
- name: operator
9093
imagePullPolicy: IfNotPresent
91-
image: arangodb/kube-arangodb@sha256:88d2ef08c9e96f1f98a0d108acf51b09bccd1506105e8c2e3790815d27a984ae
94+
image: arangodb/kube-arangodb@sha256:2a91efa8b567c9bcd23a16e091329a9c9894959a4719aabc95e37eed17a9767b
9295
args:
9396
- --operator.deployment
97+
- --chaos.allowed=false
9498
env:
9599
- name: MY_POD_NAMESPACE
96100
valueFrom:
@@ -100,4 +104,25 @@ spec:
100104
valueFrom:
101105
fieldRef:
102106
fieldPath: metadata.name
107+
- name: MY_POD_IP
108+
valueFrom:
109+
fieldRef:
110+
fieldPath: status.podIP
111+
ports:
112+
- name: metrics
113+
containerPort: 8528
114+
livenessProbe:
115+
httpGet:
116+
path: /health
117+
port: 8528
118+
scheme: HTTPS
119+
initialDelaySeconds: 5
120+
periodSeconds: 10
121+
readinessProbe:
122+
httpGet:
123+
path: /ready/deployment
124+
port: 8528
125+
scheme: HTTPS
126+
initialDelaySeconds: 5
127+
periodSeconds: 10
103128

manifests/arango-storage.yaml

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,16 +91,19 @@ metadata:
9191
namespace: kube-system
9292
spec:
9393
replicas: 1
94+
strategy:
95+
type: Recreate
9496
template:
9597
metadata:
9698
labels:
9799
name: arango-storage-operator
100+
app: arango-storage-operator
98101
spec:
99102
serviceAccountName: arango-storage-operator
100103
containers:
101104
- name: operator
102105
imagePullPolicy: IfNotPresent
103-
image: arangodb/kube-arangodb@sha256:88d2ef08c9e96f1f98a0d108acf51b09bccd1506105e8c2e3790815d27a984ae
106+
image: arangodb/kube-arangodb@sha256:2a91efa8b567c9bcd23a16e091329a9c9894959a4719aabc95e37eed17a9767b
104107
args:
105108
- --operator.storage
106109
env:
@@ -112,4 +115,25 @@ spec:
112115
valueFrom:
113116
fieldRef:
114117
fieldPath: metadata.name
115-
118+
- name: MY_POD_IP
119+
valueFrom:
120+
fieldRef:
121+
fieldPath: status.podIP
122+
ports:
123+
- name: metrics
124+
containerPort: 8528
125+
livenessProbe:
126+
httpGet:
127+
path: /health
128+
port: 8528
129+
scheme: HTTPS
130+
initialDelaySeconds: 5
131+
periodSeconds: 10
132+
readinessProbe:
133+
httpGet:
134+
path: /ready/storage
135+
port: 8528
136+
scheme: HTTPS
137+
initialDelaySeconds: 5
138+
periodSeconds: 10
139+

0 commit comments

Comments
 (0)