1
0
Fork 0
mirror of https://github.com/arangodb/kube-arangodb.git synced 2024-12-15 17:51:03 +00:00
kube-arangodb/manifests/arango-storage.yaml

482 lines
12 KiB
YAML
Raw Normal View History

# Source: kube-arangodb/templates/service-account.yaml
apiVersion: v1
kind: ServiceAccount
metadata:
name: arango-storage-operator
namespace: default
labels:
2023-04-24 10:05:02 +00:00
app.kubernetes.io/name: kube-arangodb
2024-10-14 14:35:16 +00:00
helm.sh/chart: kube-arangodb-1.2.43
2023-04-24 10:05:02 +00:00
app.kubernetes.io/managed-by: Tiller
app.kubernetes.io/instance: storage
release: storage
---
# Source: kube-arangodb/templates/storage-operator/crd.yaml
2022-03-30 14:04:43 +00:00
apiVersion: apiextensions.k8s.io/v1
2018-09-25 14:00:43 +00:00
kind: CustomResourceDefinition
metadata:
2023-04-24 10:05:02 +00:00
name: arangolocalstorages.storage.arangodb.com
labels:
app.kubernetes.io/name: kube-arangodb
2024-10-14 14:35:16 +00:00
helm.sh/chart: kube-arangodb-1.2.43
2023-04-24 10:05:02 +00:00
app.kubernetes.io/managed-by: Tiller
app.kubernetes.io/instance: storage
release: storage
2018-09-25 14:00:43 +00:00
spec:
2023-04-24 10:05:02 +00:00
group: storage.arangodb.com
names:
kind: ArangoLocalStorage
listKind: ArangoLocalStorageList
plural: arangolocalstorages
shortNames:
- arangostorage
singular: arangolocalstorage
scope: Cluster
versions:
- name: v1alpha
served: true
storage: true
schema:
openAPIV3Schema:
type: object
x-kubernetes-preserve-unknown-fields: true
2022-03-30 14:04:43 +00:00
---
# Source: kube-arangodb/templates/crd/cluster-role.yaml
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
2023-04-24 10:05:02 +00:00
name: arango-storage-operator-rbac-crd
labels:
app.kubernetes.io/name: kube-arangodb
2024-10-14 14:35:16 +00:00
helm.sh/chart: kube-arangodb-1.2.43
2023-04-24 10:05:02 +00:00
app.kubernetes.io/managed-by: Tiller
app.kubernetes.io/instance: storage
release: storage
2022-03-30 14:04:43 +00:00
rules:
2018-09-25 14:00:43 +00:00
---
# Source: kube-arangodb/templates/storage-operator/cluster-role.yaml
apiVersion: rbac.authorization.k8s.io/v1
2018-03-20 07:04:22 +00:00
kind: ClusterRole
metadata:
2023-04-24 10:05:02 +00:00
name: arango-storage-operator-rbac-storage
labels:
app.kubernetes.io/name: kube-arangodb
2024-10-14 14:35:16 +00:00
helm.sh/chart: kube-arangodb-1.2.43
2023-04-24 10:05:02 +00:00
app.kubernetes.io/managed-by: Tiller
app.kubernetes.io/instance: storage
release: storage
2018-03-20 07:04:22 +00:00
rules:
2023-04-24 10:05:02 +00:00
- apiGroups: [""]
resources: ["persistentvolumes", "persistentvolumeclaims", "endpoints", "events", "services"]
verbs: ["*"]
- apiGroups: ["apiextensions.k8s.io"]
resources: ["customresourcedefinitions"]
verbs: ["get", "list", "watch"]
- apiGroups: [""]
resources: ["namespaces", "nodes"]
verbs: ["get", "list", "watch"]
- apiGroups: ["storage.k8s.io"]
resources: ["storageclasses"]
verbs: ["*"]
- apiGroups: ["storage.arangodb.com"]
resources: ["arangolocalstorages"]
verbs: ["*"]
2018-03-20 07:04:22 +00:00
---
2022-03-30 14:04:43 +00:00
# Source: kube-arangodb/templates/crd/cluster-role-binding.yaml
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
2023-04-24 10:05:02 +00:00
name: arango-storage-operator-rbac-crd
labels:
app.kubernetes.io/name: kube-arangodb
2024-10-14 14:35:16 +00:00
helm.sh/chart: kube-arangodb-1.2.43
2023-04-24 10:05:02 +00:00
app.kubernetes.io/managed-by: Tiller
app.kubernetes.io/instance: storage
release: storage
2022-03-30 14:04:43 +00:00
roleRef:
2023-04-24 10:05:02 +00:00
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: arango-storage-operator-rbac-crd
2022-03-30 14:04:43 +00:00
subjects:
2023-04-24 10:05:02 +00:00
- kind: ServiceAccount
name: arango-storage-operator
namespace: default
2022-03-30 14:04:43 +00:00
---
# Source: kube-arangodb/templates/storage-operator/cluster-role-binding.yaml
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
2018-03-20 07:04:22 +00:00
metadata:
2023-04-24 10:05:02 +00:00
name: arango-storage-operator-rbac-storage
labels:
app.kubernetes.io/name: kube-arangodb
2024-10-14 14:35:16 +00:00
helm.sh/chart: kube-arangodb-1.2.43
2023-04-24 10:05:02 +00:00
app.kubernetes.io/managed-by: Tiller
app.kubernetes.io/instance: storage
release: storage
2018-03-20 07:04:22 +00:00
roleRef:
2023-04-24 10:05:02 +00:00
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: arango-storage-operator-rbac-storage
2018-03-20 07:04:22 +00:00
subjects:
2023-04-24 10:05:02 +00:00
- kind: ServiceAccount
name: arango-storage-operator
namespace: default
2018-03-20 07:04:22 +00:00
---
# Source: kube-arangodb/templates/storage-operator/role.yaml
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
2018-03-20 07:04:22 +00:00
metadata:
2023-04-24 10:05:02 +00:00
name: arango-storage-operator-rbac-storage
namespace: default
labels:
app.kubernetes.io/name: kube-arangodb
2024-10-14 14:35:16 +00:00
helm.sh/chart: kube-arangodb-1.2.43
2023-04-24 10:05:02 +00:00
app.kubernetes.io/managed-by: Tiller
app.kubernetes.io/instance: storage
release: storage
rules:
2023-04-24 10:05:02 +00:00
- apiGroups: [""]
resources: ["pods"]
verbs: ["get", "update", "watch", "list"]
- apiGroups: [""]
resources: ["secrets"]
verbs: ["get"]
- apiGroups: ["apps"]
resources: ["daemonsets"]
verbs: ["*"]
- apiGroups: ["apps"]
resources: ["deployments", "replicasets"]
verbs: ["get"]
---
# Source: kube-arangodb/templates/storage-operator/role-binding.yaml
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
2023-04-24 10:05:02 +00:00
name: arango-storage-operator-rbac-storage
namespace: default
labels:
app.kubernetes.io/name: kube-arangodb
2024-10-14 14:35:16 +00:00
helm.sh/chart: kube-arangodb-1.2.43
2023-04-24 10:05:02 +00:00
app.kubernetes.io/managed-by: Tiller
app.kubernetes.io/instance: storage
release: storage
2018-03-20 07:04:22 +00:00
roleRef:
2023-04-24 10:05:02 +00:00
apiGroup: rbac.authorization.k8s.io
kind: Role
name: arango-storage-operator-rbac-storage
2018-03-20 07:04:22 +00:00
subjects:
2023-04-24 10:05:02 +00:00
- kind: ServiceAccount
name: arango-storage-operator
namespace: default
2018-03-20 07:04:22 +00:00
---
# Source: kube-arangodb/templates/service.yaml
2018-03-20 07:04:22 +00:00
apiVersion: v1
kind: Service
2018-03-20 07:04:22 +00:00
metadata:
name: arango-storage-operator
namespace: default
labels:
app.kubernetes.io/name: kube-arangodb
2024-10-14 14:35:16 +00:00
helm.sh/chart: kube-arangodb-1.2.43
app.kubernetes.io/managed-by: Tiller
app.kubernetes.io/instance: storage
release: storage
spec:
ports:
- name: server
port: 8528
protocol: TCP
targetPort: 8528
2022-09-14 08:43:05 +00:00
- name: http-api
port: 8628
protocol: TCP
targetPort: 8628
- name: grpc-api
port: 8728
protocol: TCP
targetPort: 8728
selector:
app.kubernetes.io/name: kube-arangodb
app.kubernetes.io/managed-by: Tiller
app.kubernetes.io/instance: storage
release: storage
role: leader
type: ClusterIP
2018-03-20 07:04:22 +00:00
---
# Source: kube-arangodb/templates/deployment.yaml
2020-07-28 06:29:07 +00:00
# Scope "legacy" selected
apiVersion: apps/v1
2018-03-20 07:04:22 +00:00
kind: Deployment
metadata:
2023-04-24 10:05:02 +00:00
name: arango-storage-operator
namespace: default
labels:
app.kubernetes.io/name: kube-arangodb
2024-10-14 14:35:16 +00:00
helm.sh/chart: kube-arangodb-1.2.43
2023-04-24 10:05:02 +00:00
app.kubernetes.io/managed-by: Tiller
app.kubernetes.io/instance: storage
release: storage
spec:
replicas: 1
strategy:
type: Recreate
selector:
matchLabels:
app.kubernetes.io/name: kube-arangodb
app.kubernetes.io/managed-by: Tiller
app.kubernetes.io/instance: storage
release: storage
template:
metadata:
labels:
app.kubernetes.io/name: kube-arangodb
2024-10-14 14:35:16 +00:00
helm.sh/chart: kube-arangodb-1.2.43
app.kubernetes.io/managed-by: Tiller
app.kubernetes.io/instance: storage
release: storage
2023-04-24 10:05:02 +00:00
spec:
serviceAccountName: arango-storage-operator
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: kubernetes.io/arch
operator: In
values:
- "amd64"
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
podAffinityTerm:
topologyKey: "kubernetes.io/hostname"
labelSelector:
matchExpressions:
- key: app.kubernetes.io/name
operator: In
values:
- kube-arangodb
- key: app.kubernetes.io/instance
operator: In
values:
- storage
hostNetwork: false
hostPID: false
hostIPC: false
securityContext:
runAsNonRoot: true
runAsUser: 1000
containers:
- name: operator
imagePullPolicy: Always
2024-10-14 14:35:16 +00:00
image: arangodb/kube-arangodb:1.2.43
2023-04-24 10:05:02 +00:00
args:
- --scope=legacy
- --operator.storage
- --mode.single
- --chaos.allowed=false
env:
- name: MY_POD_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: MY_POD_NAME
valueFrom:
fieldRef:
fieldPath: metadata.name
2024-03-11 17:13:49 +00:00
- name: MY_CONTAINER_NAME
value: "operator"
2023-04-24 10:05:02 +00:00
- name: MY_POD_IP
valueFrom:
fieldRef:
fieldPath: status.podIP
ports:
- name: metrics
containerPort: 8528
securityContext:
privileged: false
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
capabilities:
drop:
- 'ALL'
livenessProbe:
httpGet:
path: /health
port: 8528
scheme: HTTPS
initialDelaySeconds: 5
periodSeconds: 10
readinessProbe:
httpGet:
path: /ready
port: 8528
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
2018-09-07 12:57:32 +00:00
2024-05-24 12:47:53 +00:00
# Source: kube-arangodb/templates/analytics-operator/cluster-role-binding.yaml
---
# Source: kube-arangodb/templates/analytics-operator/cluster-role.yaml
---
# Source: kube-arangodb/templates/analytics-operator/role-binding.yaml
---
# Source: kube-arangodb/templates/analytics-operator/role.yaml
---
2023-04-07 08:39:14 +00:00
# Source: kube-arangodb/templates/apps-operator/cluster-role-binding.yaml
2022-01-17 10:34:34 +00:00
---
2023-04-24 10:05:02 +00:00
# Source: kube-arangodb/templates/apps-operator/cluster-role.yaml
2022-01-17 10:34:34 +00:00
---
2023-04-24 10:05:02 +00:00
# Source: kube-arangodb/templates/apps-operator/role-binding.yaml
2022-01-17 10:34:34 +00:00
---
2023-04-24 10:05:02 +00:00
# Source: kube-arangodb/templates/apps-operator/role.yaml
---
2023-04-24 10:05:02 +00:00
# Source: kube-arangodb/templates/apps-operator/service-account-job.yaml
---
2023-04-24 10:05:02 +00:00
# Source: kube-arangodb/templates/backup-operator/cluster-role-binding.yaml
---
2023-04-24 10:05:02 +00:00
# Source: kube-arangodb/templates/backup-operator/cluster-role.yaml
---
2023-04-24 10:05:02 +00:00
# Source: kube-arangodb/templates/backup-operator/role-binding.yaml
---
2018-09-07 12:57:32 +00:00
2023-04-24 10:05:02 +00:00
# Source: kube-arangodb/templates/backup-operator/role.yaml
---
2018-09-07 12:57:32 +00:00
2023-04-24 10:05:02 +00:00
# Source: kube-arangodb/templates/deployment-operator/cluster-role-binding.yaml
2019-09-25 08:51:38 +00:00
---
2023-04-24 10:05:02 +00:00
# Source: kube-arangodb/templates/deployment-operator/cluster-role.yaml
2019-09-25 08:51:38 +00:00
---
2023-04-24 10:05:02 +00:00
# Source: kube-arangodb/templates/deployment-operator/default-role-binding.yaml
2018-09-07 12:57:32 +00:00
---
2023-04-24 10:05:02 +00:00
# Source: kube-arangodb/templates/deployment-operator/default-role.yaml
---
2018-09-07 12:57:32 +00:00
2023-04-24 10:05:02 +00:00
# Source: kube-arangodb/templates/deployment-operator/role-binding.yaml
---
2018-09-07 12:57:32 +00:00
2023-04-24 10:05:02 +00:00
# Source: kube-arangodb/templates/deployment-operator/role.yaml
---
2018-09-07 12:57:32 +00:00
2023-04-24 10:05:02 +00:00
# Source: kube-arangodb/templates/deployment-replications-operator/cluster-role-binding.yaml
---
2018-09-07 12:57:32 +00:00
2023-04-24 10:05:02 +00:00
# Source: kube-arangodb/templates/deployment-replications-operator/cluster-role.yaml
---
2018-09-07 12:57:32 +00:00
2023-04-24 10:05:02 +00:00
# Source: kube-arangodb/templates/deployment-replications-operator/role-binding.yaml
2022-01-17 10:34:34 +00:00
---
2023-04-24 10:05:02 +00:00
# Source: kube-arangodb/templates/deployment-replications-operator/role.yaml
2022-01-17 10:34:34 +00:00
---
2023-04-24 10:05:02 +00:00
# Source: kube-arangodb/templates/k2k-cluster-sync-operator/cluster-role-binding.yaml
2022-01-17 10:34:34 +00:00
---
2023-04-24 10:05:02 +00:00
# Source: kube-arangodb/templates/k2k-cluster-sync-operator/cluster-role.yaml
2022-01-17 10:34:34 +00:00
---
2023-04-24 10:05:02 +00:00
# Source: kube-arangodb/templates/k2k-cluster-sync-operator/role-binding.yaml
---
2023-04-07 08:39:14 +00:00
2023-04-24 10:05:02 +00:00
# Source: kube-arangodb/templates/k2k-cluster-sync-operator/role.yaml
---
2024-01-08 09:57:40 +00:00
# Source: kube-arangodb/templates/ml-operator/cluster-role-binding.yaml
---
# Source: kube-arangodb/templates/ml-operator/cluster-role.yaml
---
# Source: kube-arangodb/templates/ml-operator/role-binding.yaml
---
# Source: kube-arangodb/templates/ml-operator/role.yaml
---
2024-10-14 14:35:16 +00:00
# Source: kube-arangodb/templates/networking-operator/cluster-role-binding.yaml
---
# Source: kube-arangodb/templates/networking-operator/cluster-role.yaml
---
# Source: kube-arangodb/templates/networking-operator/role-binding.yaml
---
# Source: kube-arangodb/templates/networking-operator/role.yaml
---
# Source: kube-arangodb/templates/scheduler-operator/cluster-role-binding.yaml
---
# Source: kube-arangodb/templates/scheduler-operator/cluster-role.yaml
---
# Source: kube-arangodb/templates/scheduler-operator/role-binding.yaml
---
# Source: kube-arangodb/templates/scheduler-operator/role.yaml
---