Skip to content

Commit

Permalink
add missing node-selector label (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
harshavardhana authored May 26, 2020
1 parent 9494a15 commit c4a6a1b
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 8 deletions.
7 changes: 5 additions & 2 deletions examples/minioinstance-kes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ spec:
- port: 9000
targetPort: 9000
protocol: TCP
# Optional field
# By default and for convenience, the Kubernetes control plane will allocate a port from a range (default: 30000-32767)
# nodePort: 30007
selector:
app: minio
---
Expand Down Expand Up @@ -64,9 +67,9 @@ spec:
## Number of MinIO servers/pods in this zone.
## 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: 16
servers: 4
## Supply number of volumes to be mounted per MinIO server instance.
volumesPerServer: 1
volumesPerServer: 4
## Mount path where PV will be mounted inside container(s). Defaults to "/export".
mountPath: /export
## Sub path inside Mount path where MinIO starts. Defaults to "".
Expand Down
7 changes: 5 additions & 2 deletions examples/minioinstance-mcs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ spec:
- port: 9000
targetPort: 9000
protocol: TCP
# Optional field
# By default and for convenience, the Kubernetes control plane will allocate a port from a range (default: 30000-32767)
# nodePort: 30007
selector:
app: minio
---
Expand Down Expand Up @@ -64,9 +67,9 @@ spec:
## Number of MinIO servers/pods in this zone.
## 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: 16
servers: 4
## Supply number of volumes to be mounted per MinIO server instance.
volumesPerServer: 1
volumesPerServer: 4
## Mount path where PV will be mounted inside container(s). Defaults to "/export".
mountPath: /export
## Sub path inside Mount path where MinIO starts. Defaults to "".
Expand Down
8 changes: 4 additions & 4 deletions examples/minioinstance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ spec:
## Add metadata to the all pods created by the StatefulSet
metadata:
## Optionally pass labels to be applied to the statefulset pods
#labels:
# app: minio
labels:
app: minio
annotations:
prometheus.io/path: /minio/prometheus/metrics
prometheus.io/port: "9000"
Expand All @@ -50,9 +50,9 @@ spec:
## Number of MinIO servers/pods in this zone.
## 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: 16
servers: 4
## Supply number of volumes to be mounted per MinIO server instance.
volumesPerServer: 1
volumesPerServer: 4
## Mount path where PV will be mounted inside container(s). Defaults to "/export".
mountPath: /export
## Sub path inside Mount path where MinIO starts. Defaults to "".
Expand Down

0 comments on commit c4a6a1b

Please sign in to comment.