Merge pull request #2232 from Fish-pro/add-etcd-nodeselector

charts: add nodeSelector for etcd in charts
This commit is contained in:
karmada-bot 2022-07-25 17:40:50 +08:00 committed by GitHub
commit 0ab14028f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 4 deletions

View File

@ -189,10 +189,11 @@ helm install karmada-scheduler-estimator -n karmada-system ./charts/karmada
| `etcd.internal.replicaCount` | Target replicas of the etcd | `1` |
| `etcd.internal.image.repository` | Image of the etcd | `"k8s.gcr.io/etcd"` |
| `etcd.internal.image.pullPolicy` | Image pull policy of the etcd | `"IfNotPresent"` |
| `etcd.internal.image.tag` | Image tag of the etcd | `"3.5.3-0"` |
| `etcd.internal.image.tag` | Image tag of the etcd | `"3.5.3-0"` |
| `etcd.internal.storageType` | StorageType of the etcd, accepts "hostPath", "pvc" | `"hostPath"` |
| `etcd.internal.pvc.storageClass` | StorageClass of the etcd, takes effect when `etcd.internal.storageType` is "pvc" | `""` |
| `etcd.internal.pvc.size` | Storage size of the etcd, takes effect when `etcd.internal.storageType` is "pvc" | `""` |
| `etcd.internal.nodeSelector` | Node selector of the karmada-apiserver | `{}` |
| `etcd.internal.resources` | Resource quota of the etcd | `{}` |
| `agent.clusterName` | Name of the member cluster | `""` |
| `agent.kubeconfig.caCrt` | CA CRT of the karmada certificate | `""` |
@ -279,7 +280,7 @@ helm install karmada-scheduler-estimator -n karmada-system ./charts/karmada
| `aggregatedApiServer.nodeSelector` | Node selector of the karmada-aggregated-apiserver | `{}` |
| `aggregatedApiServer.affinity` | Affinity of the karmada-aggregated-apiserver | `{}` |
| `aggregatedApiServer.tolerations` | Tolerations of the karmada-aggregated-apiserver | `[]` |
| `aggregatedApiServer.strategy` | Strategy of the karmada-aggregated-apiserver | `{"type": "RollingUpdate", "rollingUpdate": {"maxUnavailable": "0", "maxSurge": "50%"} }` |
| `aggregatedApiServer.strategy` | Strategy of the karmada-aggregated-apiserver | `{"type": "RollingUpdate", "rollingUpdate": {"maxUnavailable": "0", "maxSurge": "50%"} }` |
| `kubeControllerManager.labels` | Labels of the kube-controller-manager deployment | `{"app": "kube-controller-manager"}` |
| `kubeControllerManager.replicaCount` | Target replicas of the kube-controller-manager | `1` |
| `kubeControllerManager.podLabels` | Labels of the kube-controller-manager pods | `{}` |
@ -292,7 +293,7 @@ helm install karmada-scheduler-estimator -n karmada-system ./charts/karmada
| `kubeControllerManager.nodeSelector` | Node selector of the kube-controller-manager | `{}` |
| `kubeControllerManager.affinity` | Affinity of the kube-controller-manager | `{}` |
| `kubeControllerManager.tolerations` | Tolerations of the kube-controller-manager | `[]` |
| `kubeControllerManager.strategy` | Strategy of the kube-controller-manager | `{"type": "RollingUpdate", "rollingUpdate": {"maxUnavailable": "0", "maxSurge": "50%"} }` |
| `kubeControllerManager.strategy` | Strategy of the kube-controller-manager | `{"type": "RollingUpdate", "rollingUpdate": {"maxUnavailable": "0", "maxSurge": "50%"} }` |
| `schedulerEstimator.clusterName` | Name of the member cluster | `""` |
| `schedulerEstimator.kubeconfig.caCrt` | CA CRT of the certificate | `""` |
| `schedulerEstimator.kubeconfig.crt` | CRT of the certificate | `""` |
@ -310,7 +311,7 @@ helm install karmada-scheduler-estimator -n karmada-system ./charts/karmada
| `schedulerEstimator.nodeSelector` | Node selector of the scheduler-estimator | `{}` |
| `schedulerEstimator.affinity` | Affinity of the scheduler-estimator | `{}` |
| `schedulerEstimator.tolerations` | Tolerations of the scheduler-estimator | `[]` |
| `search.strategy` | Strategy of the scheduler-estimator | `{"type": "RollingUpdate", "rollingUpdate": {"maxUnavailable": "0", "maxSurge": "50%"} }` |
| `search.strategy` | Strategy of the scheduler-estimator | `{"type": "RollingUpdate", "rollingUpdate": {"maxUnavailable": "0", "maxSurge": "50%"} }` |
| `descheduler.labels` | Labels of the descheduler deployment | `karmada-descheduler` |
| `descheduler.replicaCount` | Target replicas of the descheduler | `2` |
| `descheduler.podAnnotations` | Annotaions of the descheduler pods | `{}` |

View File

@ -39,6 +39,10 @@ spec:
values:
- etcd
topologyKey: kubernetes.io/hostname
{{- with .Values.etcd.internal.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
tolerations:
- operator: Exists
containers:

View File

@ -516,6 +516,8 @@ etcd:
storageClass: ""
## @param etcd.internal.pvc.size size of PVC
size: ""
## @param etcd.internal.nodeSelector node selector of the etcd
nodeSelector: {}
## @param etcd.internal.resources
resources: {}
# If you do want to specify resources, uncomment the following