You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2022/08/01 03:21:56 UTC
[GitHub] [rocketmq-operator] se7vet opened a new issue, #122: How to use tolerations , nodeSelector and nodeAffinity features
se7vet opened a new issue, #122:
URL: https://github.com/apache/rocketmq-operator/issues/122
In our scenario, rocketmq needs to use a unique node,How to use tolerations , nodeSelector and nodeAffinity features , like this is invalid.
`apiVersion: rocketmq.apache.org/v1alpha1
kind: Broker
metadata:
name: broker
spec:
size: 1
nameServers: ""
replicaPerGroup: 1
brokerImage: registry-jkt.akusre.com/base/rocketmq-broker:4.5.0-alpine-operator-0.3.0
imagePullPolicy: Always
tolerations:
- key: "key"
value: "value"
operator: "Equal"
effect: "NoSchedule"
nodeSelector:
key: "value"
...
`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@rocketmq.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [rocketmq-operator] caigy commented on issue #122: How to use tolerations , nodeSelector and nodeAffinity features
Posted by GitBox <gi...@apache.org>.
caigy commented on issue #122:
URL: https://github.com/apache/rocketmq-operator/issues/122#issuecomment-1217385098
I'll close this issue, if problem still exists, please feel free to reopen it. Thank you.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [rocketmq-operator] caigy commented on issue #122: How to use tolerations , nodeSelector and nodeAffinity features
Posted by GitBox <gi...@apache.org>.
caigy commented on issue #122:
URL: https://github.com/apache/rocketmq-operator/issues/122#issuecomment-1201938360
@se7vet Pls provide detailed error messages.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [rocketmq-operator] caigy closed issue #122: How to use tolerations , nodeSelector and nodeAffinity features
Posted by GitBox <gi...@apache.org>.
caigy closed issue #122: How to use tolerations , nodeSelector and nodeAffinity features
URL: https://github.com/apache/rocketmq-operator/issues/122
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [rocketmq-operator] se7vet commented on issue #122: How to use tolerations , nodeSelector and nodeAffinity features
Posted by "se7vet (via GitHub)" <gi...@apache.org>.
se7vet commented on issue #122:
URL: https://github.com/apache/rocketmq-operator/issues/122#issuecomment-1457682947
@caigy These affinity nodes have taint ,how to toleration ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [rocketmq-operator] caigy commented on issue #122: How to use tolerations , nodeSelector and nodeAffinity features
Posted by GitBox <gi...@apache.org>.
caigy commented on issue #122:
URL: https://github.com/apache/rocketmq-operator/issues/122#issuecomment-1214349798
@se7vet Has your question been resolved?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [rocketmq-operator] caigy commented on issue #122: How to use tolerations , nodeSelector and nodeAffinity features
Posted by GitBox <gi...@apache.org>.
caigy commented on issue #122:
URL: https://github.com/apache/rocketmq-operator/issues/122#issuecomment-1201941464
@se7vet If you want to deploy only one broker in one host, you may define podAntiAffinity policy like this:
```yaml
affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchLabels:
app: broker
topologyKey: kubernetes.io/hostname
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [rocketmq-operator] se7vet commented on issue #122: How to use tolerations , nodeSelector and nodeAffinity features
Posted by "se7vet (via GitHub)" <gi...@apache.org>.
se7vet commented on issue #122:
URL: https://github.com/apache/rocketmq-operator/issues/122#issuecomment-1457686191
>
when I use these configurations, they are not passed to statefulset ,
`
apiVersion: rocketmq.apache.org/v1alpha1
kind: Broker
metadata:
name: broker
spec:
size: 1
nameServers: ""
replicaPerGroup: 1
brokerImage: rocketmq-broker:4.5.0-alpine-operator-0.3.0
imagePullPolicy: Always
affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchLabels:
app: broker
topologyKey: kubernetes.io/hostname
`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org