mirror of
https://github.com/arangodb/kube-arangodb.git
synced 2024-12-14 11:57:37 +00:00
Updated manifest to 0.2.0
This commit is contained in:
parent
c5a3a5ba27
commit
73d020c0c9
4 changed files with 31 additions and 10 deletions
|
@ -23,10 +23,10 @@ support. That is still completely missing.
|
|||
## Installation of latest release
|
||||
|
||||
```bash
|
||||
kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/0.1.0/manifests/crd.yaml
|
||||
kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/0.1.0/manifests/arango-deployment.yaml
|
||||
kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/0.2.0/manifests/crd.yaml
|
||||
kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/0.2.0/manifests/arango-deployment.yaml
|
||||
# To use `ArangoLocalStorage`, also run
|
||||
kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/0.1.0/manifests/arango-storage.yaml
|
||||
kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/0.2.0/manifests/arango-storage.yaml
|
||||
```
|
||||
|
||||
## Building
|
||||
|
|
|
@ -26,6 +26,9 @@ rules:
|
|||
- apiGroups: [""]
|
||||
resources: ["pods", "services", "endpoints", "persistentvolumeclaims", "events", "secrets"]
|
||||
verbs: ["*"]
|
||||
- apiGroups: [""]
|
||||
resources: ["nodes"]
|
||||
verbs: ["get"]
|
||||
- apiGroups: ["apps"]
|
||||
resources: ["deployments"]
|
||||
verbs: ["*"]
|
||||
|
@ -35,7 +38,7 @@ rules:
|
|||
|
||||
---
|
||||
|
||||
## Bind the cluster role granting access to ArangoLocalStorage resources
|
||||
## Bind the cluster role granting access to ArangoDeployment resources
|
||||
## to the default service account of the configured namespace.
|
||||
apiVersion: rbac.authorization.k8s.io/v1beta1
|
||||
kind: RoleBinding
|
||||
|
@ -79,7 +82,7 @@ metadata:
|
|||
name: arango-deployment-operator
|
||||
namespace: default
|
||||
spec:
|
||||
replicas: 1
|
||||
replicas: 2
|
||||
strategy:
|
||||
type: Recreate
|
||||
template:
|
||||
|
@ -91,7 +94,7 @@ spec:
|
|||
containers:
|
||||
- name: operator
|
||||
imagePullPolicy: IfNotPresent
|
||||
image: arangodb/kube-arangodb@sha256:4b58b71c0a53b7652ca6e9b518bdb1393bf3a0c79d3c666a0914dd079f8f018e
|
||||
image: arangodb/kube-arangodb@sha256:43bdc14d072fb1912d885536c189a631076e13e5c3e8a87b06e5ddbe60c66a6d
|
||||
args:
|
||||
- --operator.deployment
|
||||
- --chaos.allowed=false
|
||||
|
@ -125,4 +128,13 @@ spec:
|
|||
scheme: HTTPS
|
||||
initialDelaySeconds: 5
|
||||
periodSeconds: 10
|
||||
tolerations:
|
||||
- key: "node.kubernetes.io/unreachable"
|
||||
operator: "Exists"
|
||||
effect: "NoExecute"
|
||||
tolerationSeconds: 5
|
||||
- key: "node.kubernetes.io/not-ready"
|
||||
operator: "Exists"
|
||||
effect: "NoExecute"
|
||||
tolerationSeconds: 5
|
||||
|
||||
|
|
|
@ -90,7 +90,7 @@ metadata:
|
|||
name: arango-storage-operator
|
||||
namespace: kube-system
|
||||
spec:
|
||||
replicas: 1
|
||||
replicas: 2
|
||||
strategy:
|
||||
type: Recreate
|
||||
template:
|
||||
|
@ -103,7 +103,7 @@ spec:
|
|||
containers:
|
||||
- name: operator
|
||||
imagePullPolicy: IfNotPresent
|
||||
image: arangodb/kube-arangodb@sha256:4b58b71c0a53b7652ca6e9b518bdb1393bf3a0c79d3c666a0914dd079f8f018e
|
||||
image: arangodb/kube-arangodb@sha256:43bdc14d072fb1912d885536c189a631076e13e5c3e8a87b06e5ddbe60c66a6d
|
||||
args:
|
||||
- --operator.storage
|
||||
env:
|
||||
|
@ -136,4 +136,13 @@ spec:
|
|||
scheme: HTTPS
|
||||
initialDelaySeconds: 5
|
||||
periodSeconds: 10
|
||||
|
||||
tolerations:
|
||||
- key: "node.kubernetes.io/unreachable"
|
||||
operator: "Exists"
|
||||
effect: "NoExecute"
|
||||
tolerationSeconds: 5
|
||||
- key: "node.kubernetes.io/not-ready"
|
||||
operator: "Exists"
|
||||
effect: "NoExecute"
|
||||
tolerationSeconds: 5
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ rules:
|
|||
resources: ["nodes"]
|
||||
verbs: ["list"]
|
||||
- apiGroups: [""]
|
||||
resources: ["pods", "services", "persistentvolumes", "persistentvolumeclaims", "secrets"]
|
||||
resources: ["pods", "services", "persistentvolumes", "persistentvolumeclaims", "secrets", "serviceaccounts"]
|
||||
verbs: ["*"]
|
||||
- apiGroups: ["apps"]
|
||||
resources: ["daemonsets"]
|
||||
|
|
Loading…
Reference in a new issue