Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用中的两个问题,一个是亲和性 一个是volumeSource 是persistentVolumeClaim的情况 #28

Open
cx2c opened this issue Oct 25, 2024 · 2 comments

Comments

@cx2c
Copy link

cx2c commented Oct 25, 2024

有两个使用上的问题请教一下

  1. 我的pod的亲和性是按照下面配置的,我用konfig应该怎么写。
    spec:
      affinity:
        podAntiAffinity:
          requiredDuringSchedulingIgnoredDuringExecution:
          - labelSelector:
              matchExpressions:
              - key: app
                operator: In
                values:
                - release-rest-server
            topologyKey: kubernetes.io/hostname
  1. 对于 volume是persistentVolumeClaim的情况,volumeSource 选哪个
    image
@Peefy
Copy link
Contributor

Peefy commented Oct 25, 2024

cc @zong-zhe Could you help give an anwser?

@Peefy
Copy link
Contributor

Peefy commented Nov 4, 2024

cc @zong-zhe Could you help give more information or examples on volumeSource and persistentVolumeClaim?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants