diff --git a/examples/arango-local-storage.yaml b/examples/arango-local-storage.yaml index 6c986ecd0..f6771914b 100644 --- a/examples/arango-local-storage.yaml +++ b/examples/arango-local-storage.yaml @@ -1,4 +1,4 @@ -apiVersion: "storage.arangodb.com/v1alpha" +apiVersion: "storage.arangodb.com/v1" kind: "ArangoLocalStorage" metadata: name: "arangodb-local-storage" diff --git a/examples/cluster1-with-sync.yaml b/examples/cluster1-with-sync.yaml index 0386e309c..fb767405d 100644 --- a/examples/cluster1-with-sync.yaml +++ b/examples/cluster1-with-sync.yaml @@ -1,10 +1,10 @@ -apiVersion: "database.arangodb.com/v1alpha" +apiVersion: "database.arangodb.com/v1" kind: "ArangoDeployment" metadata: name: "cluster1-with-sync" spec: mode: Cluster - image: arangodb/arangodb:3.6.1 + image: 'arangodb/arangodb:3.7.10' tls: altNames: ["kube-01", "kube-02", "kube-03"] sync: diff --git a/examples/cluster2-with-sync.yaml b/examples/cluster2-with-sync.yaml index 8deb8e721..9ec5bbca3 100644 --- a/examples/cluster2-with-sync.yaml +++ b/examples/cluster2-with-sync.yaml @@ -1,10 +1,10 @@ -apiVersion: "database.arangodb.com/v1alpha" +apiVersion: "database.arangodb.com/v1" kind: "ArangoDeployment" metadata: name: "cluster2-with-sync" spec: mode: Cluster - image: arangodb/arangodb:3.6.1 + image: 'arangodb/arangodb:3.7.10' tls: altNames: ["kube-01", "kube-02", "kube-03"] sync: diff --git a/examples/production-cluster-with-metrics.yaml b/examples/production-cluster-with-metrics.yaml new file mode 100644 index 000000000..5bda11e4e --- /dev/null +++ b/examples/production-cluster-with-metrics.yaml @@ -0,0 +1,17 @@ +apiVersion: "database.arangodb.com/v1" +kind: "ArangoDeployment" +metadata: + name: "production-cluster" +spec: + metrics: + mode: sidecar + enabled: true + image: 'arangodb/arangodb-exporter:0.1.7' + tls: false + annotations: + prometheus.io/scrape: 'true' + prometheus.io/port: '9101' + prometheus.io/scrape_interval: '5s' + mode: Cluster + image: arangodb/arangodb:3.7.10' + environment: Production diff --git a/examples/production-cluster.yaml b/examples/production-cluster.yaml index 9abacf37b..2fef864b4 100644 --- a/examples/production-cluster.yaml +++ b/examples/production-cluster.yaml @@ -1,8 +1,8 @@ -apiVersion: "database.arangodb.com/v1alpha" +apiVersion: "database.arangodb.com/v1" kind: "ArangoDeployment" metadata: name: "production-cluster" spec: mode: Cluster - image: arangodb/arangodb:3.6.1 + image: 'arangodb/arangodb:3.7.10' environment: Production diff --git a/examples/reboot-pod.yaml b/examples/reboot-pod.yaml index 12b923f7f..df7505366 100644 --- a/examples/reboot-pod.yaml +++ b/examples/reboot-pod.yaml @@ -11,7 +11,7 @@ spec: command: ["arangodb_operator", "reboot"] args: - --deployment-name=my-arangodb-cluster - - --image-name=arangodb/enterprise:3.6.1 + - --image-name=arangodb/enterprise:3.7.10 - --license-secret-name=arangodb-license-key - --coordinators=3 - pvc-9aa241f7-df94-11e9-b74c-42010aac0044 diff --git a/examples/simple-cluster-no-tls.yaml b/examples/simple-cluster-no-tls.yaml index 8d21dadc1..aa991c3af 100644 --- a/examples/simple-cluster-no-tls.yaml +++ b/examples/simple-cluster-no-tls.yaml @@ -1,4 +1,4 @@ -apiVersion: "database.arangodb.com/v1alpha" +apiVersion: "database.arangodb.com/v1" kind: "ArangoDeployment" metadata: name: "example-simple-cluster-no-tls" diff --git a/examples/simple-cluster-with-metrics.yaml b/examples/simple-cluster-with-metrics.yaml new file mode 100644 index 000000000..742b0a73e --- /dev/null +++ b/examples/simple-cluster-with-metrics.yaml @@ -0,0 +1,16 @@ +apiVersion: "database.arangodb.com/v1" +kind: "ArangoDeployment" +metadata: + name: "example-simple-cluster" +spec: + metrics: + mode: sidecar + enabled: true + image: 'arangodb/arangodb-exporter:0.1.7' + tls: false + annotations: + prometheus.io/scrape: 'true' + prometheus.io/port: '9101' + prometheus.io/scrape_interval: '5s' + mode: Cluster + image: 'arangodb/arangodb:3.7.10' diff --git a/examples/simple-cluster.yaml b/examples/simple-cluster.yaml index 4494f94a8..fb62ef2ab 100644 --- a/examples/simple-cluster.yaml +++ b/examples/simple-cluster.yaml @@ -1,7 +1,7 @@ -apiVersion: "database.arangodb.com/v1alpha" +apiVersion: "database.arangodb.com/v1" kind: "ArangoDeployment" metadata: name: "example-simple-cluster" spec: mode: Cluster - image: arangodb/arangodb:3.6.1 + image: 'arangodb/arangodb:3.7.10' diff --git a/examples/single-server-no-auth.yaml b/examples/single-server-no-auth.yaml index b2153f674..2dbeddc06 100644 --- a/examples/single-server-no-auth.yaml +++ b/examples/single-server-no-auth.yaml @@ -1,4 +1,4 @@ -apiVersion: "database.arangodb.com/v1alpha" +apiVersion: "database.arangodb.com/v1" kind: "ArangoDeployment" metadata: name: "example-simple-single-no-auth" diff --git a/examples/single-server.yaml b/examples/single-server.yaml index d1d8acbf3..b1f881779 100644 --- a/examples/single-server.yaml +++ b/examples/single-server.yaml @@ -1,7 +1,7 @@ -apiVersion: "database.arangodb.com/v1alpha" +apiVersion: "database.arangodb.com/v1" kind: "ArangoDeployment" metadata: name: "example-simple-single" spec: mode: Single - image: arangodb/arangodb:3.6.1 + image: 'arangodb/arangodb:3.7.10'