-
Notifications
You must be signed in to change notification settings - Fork 173
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add backups to postgres-operator example (#52)
- Loading branch information
1 parent
dd10038
commit 4e46478
Showing
10 changed files
with
400 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
apiVersion: helm.cattle.io/v1 | ||
kind: HelmChart | ||
metadata: | ||
name: minio-instance | ||
namespace: minio-operator | ||
spec: | ||
chart: https://%{KUBERNETES_API}%/static/charts/minio-instance-4.2.3-bb.1.tgz | ||
targetNamespace: minio-operator | ||
# https://repo1.dso.mil/platform-one/big-bang/apps/application-utilities/minio/-/blob/4.2.3-bb.1/chart/values.yaml | ||
valuesContent: |- | ||
hostname: minio.localhost | ||
tenants: | ||
pools: | ||
## Servers specifies the number of MinIO Tenant Pods / Servers in this pool. | ||
## For standalone mode, supply 1. For distributed mode, supply 4 or more. | ||
## Note that the operator does not support upgrading from standalone to distributed mode. | ||
- servers: 1 | ||
## volumesPerServer specifies the number of volumes attached per MinIO Tenant Pod / Server. | ||
volumesPerServer: 4 | ||
## size specifies the capacity per volume | ||
size: 1Gi | ||
## storageClass specifies the storage class name to be used for this pool | ||
storageClassName: local-path | ||
## Used to specify a toleration for a pod | ||
tolerations: {} | ||
## nodeSelector parameters for MinIO Pods. It specifies a map of key-value pairs. For the pod to be | ||
## eligible to run on a node, the node must have each of the | ||
## indicated key-value pairs as labels. | ||
## Read more here: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/ | ||
nodeSelector: {} | ||
## Affinity settings for MinIO pods. Read more about affinity | ||
## here: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity. | ||
affinity: {} | ||
## Configure resource requests and limits for MinIO containers | ||
resources: | ||
requests: | ||
cpu: "250m" | ||
memory: "1Gi" | ||
limits: | ||
cpu: "500m" | ||
memory: "1Gi" | ||
## Configure security context | ||
## BB Note: Defaults for Ironbank image are 1001 for user, group, and fsGroup | ||
securityContext: | ||
runAsUser: 1001 | ||
runAsGroup: 1001 | ||
fsGroup: 1001 | ||
console: | ||
enabled: true | ||
--- | ||
apiVersion: traefik.containo.us/v1alpha1 | ||
kind: IngressRoute | ||
metadata: | ||
name: minio-console-ingressroute | ||
namespace: minio-operator | ||
spec: | ||
entryPoints: | ||
- websecure | ||
routes: | ||
- match: Host(`minio-console.localhost`) | ||
kind: Rule | ||
services: | ||
- name: minio-instance-console | ||
port: 9090 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
apiVersion: helm.cattle.io/v1 | ||
kind: HelmChart | ||
metadata: | ||
name: minio-operator | ||
namespace: minio-operator | ||
spec: | ||
chart: https://%{KUBERNETES_API}%/static/charts/minio-operator-4.2.3-bb.1.tgz | ||
targetNamespace: minio-operator | ||
# https://repo1.dso.mil/platform-one/big-bang/apps/application-utilities/minio-operator/-/blob/2.0.9-bb.3/chart/values.yaml | ||
valuesContent: |- | ||
operator: | ||
image: | ||
repository: registry1.dso.mil/ironbank/opensource/minio/operator | ||
tag: v4.2.3 | ||
resources: | ||
requests: | ||
cpu: 200m | ||
memory: 256Mi | ||
ephemeral-storage: 500Mi | ||
limits: | ||
cpu: 200m | ||
memory: 256Mi | ||
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
apiVersion: v1 | ||
kind: Namespace | ||
metadata: | ||
name: postgres-operator | ||
--- | ||
apiVersion: v1 | ||
kind: Namespace | ||
metadata: | ||
name: minio-operator |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.