Skip to content

Commit 73d020c

Browse files
committed
Updated manifest to 0.2.0
1 parent c5a3a5b commit 73d020c

File tree

4 files changed

+31
-10
lines changed

4 files changed

+31
-10
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.1.0/manifests/crd.yaml
27-
kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/0.1.0/manifests/arango-deployment.yaml
26+
kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/0.2.0/manifests/crd.yaml
27+
kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/0.2.0/manifests/arango-deployment.yaml
2828
# To use `ArangoLocalStorage`, also run
29-
kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/0.1.0/manifests/arango-storage.yaml
29+
kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/0.2.0/manifests/arango-storage.yaml
3030
```
3131

3232
## Building

manifests/arango-deployment.yaml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ rules:
2626
- apiGroups: [""]
2727
resources: ["pods", "services", "endpoints", "persistentvolumeclaims", "events", "secrets"]
2828
verbs: ["*"]
29+
- apiGroups: [""]
30+
resources: ["nodes"]
31+
verbs: ["get"]
2932
- apiGroups: ["apps"]
3033
resources: ["deployments"]
3134
verbs: ["*"]
@@ -35,7 +38,7 @@ rules:
3538

3639
---
3740

38-
## Bind the cluster role granting access to ArangoLocalStorage resources
41+
## Bind the cluster role granting access to ArangoDeployment resources
3942
## to the default service account of the configured namespace.
4043
apiVersion: rbac.authorization.k8s.io/v1beta1
4144
kind: RoleBinding
@@ -79,7 +82,7 @@ metadata:
7982
name: arango-deployment-operator
8083
namespace: default
8184
spec:
82-
replicas: 1
85+
replicas: 2
8386
strategy:
8487
type: Recreate
8588
template:
@@ -91,7 +94,7 @@ spec:
9194
containers:
9295
- name: operator
9396
imagePullPolicy: IfNotPresent
94-
image: arangodb/kube-arangodb@sha256:4b58b71c0a53b7652ca6e9b518bdb1393bf3a0c79d3c666a0914dd079f8f018e
97+
image: arangodb/kube-arangodb@sha256:43bdc14d072fb1912d885536c189a631076e13e5c3e8a87b06e5ddbe60c66a6d
9598
args:
9699
- --operator.deployment
97100
- --chaos.allowed=false
@@ -125,4 +128,13 @@ spec:
125128
scheme: HTTPS
126129
initialDelaySeconds: 5
127130
periodSeconds: 10
131+
tolerations:
132+
- key: "node.kubernetes.io/unreachable"
133+
operator: "Exists"
134+
effect: "NoExecute"
135+
tolerationSeconds: 5
136+
- key: "node.kubernetes.io/not-ready"
137+
operator: "Exists"
138+
effect: "NoExecute"
139+
tolerationSeconds: 5
128140

manifests/arango-storage.yaml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ metadata:
9090
name: arango-storage-operator
9191
namespace: kube-system
9292
spec:
93-
replicas: 1
93+
replicas: 2
9494
strategy:
9595
type: Recreate
9696
template:
@@ -103,7 +103,7 @@ spec:
103103
containers:
104104
- name: operator
105105
imagePullPolicy: IfNotPresent
106-
image: arangodb/kube-arangodb@sha256:4b58b71c0a53b7652ca6e9b518bdb1393bf3a0c79d3c666a0914dd079f8f018e
106+
image: arangodb/kube-arangodb@sha256:43bdc14d072fb1912d885536c189a631076e13e5c3e8a87b06e5ddbe60c66a6d
107107
args:
108108
- --operator.storage
109109
env:
@@ -136,4 +136,13 @@ spec:
136136
scheme: HTTPS
137137
initialDelaySeconds: 5
138138
periodSeconds: 10
139-
139+
tolerations:
140+
- key: "node.kubernetes.io/unreachable"
141+
operator: "Exists"
142+
effect: "NoExecute"
143+
tolerationSeconds: 5
144+
- key: "node.kubernetes.io/not-ready"
145+
operator: "Exists"
146+
effect: "NoExecute"
147+
tolerationSeconds: 5
148+

manifests/arango-test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ rules:
99
resources: ["nodes"]
1010
verbs: ["list"]
1111
- apiGroups: [""]
12-
resources: ["pods", "services", "persistentvolumes", "persistentvolumeclaims", "secrets"]
12+
resources: ["pods", "services", "persistentvolumes", "persistentvolumeclaims", "secrets", "serviceaccounts"]
1313
verbs: ["*"]
1414
- apiGroups: ["apps"]
1515
resources: ["daemonsets"]

0 commit comments

Comments
 (0)