kamaji icon indicating copy to clipboard operation
kamaji copied to clipboard

Specify scheduling constraints for TenantControlPlane pods

Open bsctl opened this issue 3 years ago • 0 comments

It would be useful to set scheduling constraints for TenantControlPlane pods in order to have a more fine control where pods are scheduled.

As just for an example:

apiVersion: kamaji.clastix.io/v1alpha1
kind: TenantControlPlane
metadata:
  name: test
spec:
  controlPlane:
    deployment:
      replicas: 1
      nodeSelector: {}
      tolerations: []
      affinity: {}
    service:
      serviceType: LoadBalancer
  kubernetes:
    version: "v1.23.1"
    kubelet:
      cgroupfs: cgroupfs
    admissionControllers:
      - ResourceQuota
      - LimitRanger
  networkProfile:
    port: 6443
  addons:
    coreDNS: {}
    kubeProxy: {}

bsctl avatar Oct 14 '22 06:10 bsctl