Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Taints allow you to mark nodes with specific restrictions, so pods will only be scheduled on them if they have corresponding tolerations.

Shared Kubernetes and Dedicated pool

Adding taints and configuring tolerations is needed.

If using a shared Kubernetes cluster with a dedicated user node pool, ensure that the user node pool has dedicated taints.

After creating taints, you must configure tolerations for Kyvos worker pods through Kyvos Manager in the kyvos-compute-worker-job.yaml.template file. This is applicable for all clouds (AWS, Azure and GCP).

...

If you do not have taints created for GCP, perform the steps mentioned below in this section to run Kyvos worker pods on a specific node pool.

  1. You Ensure the user adding the taints must have the required IAM permissions to addtaints:

    • Editor or roles/container.admin or a custom role with sufficient permissions.

  2. A separate Node pool is required to run system poolspods. Create a Node pool with the ‘n2-highmem’ configuration with Autoscaling disabled and count as 1.

Panel
panelIconIdatlassian-note
panelIcon:note:
bgColor#DEEBFF

Note

The above-created node pool must be up and running before scheduling a semantic model process.

...

  1. Login to Kyvos Manager.

  2. Navigate to the Utilities > Manage Configuration Files.

  3. To configure taints as per your requirement, modify the kyvos-compute-worker-job.yaml.template file.

    image-20241230-071032.png
  4. Download the kyvos-compute-worker-job.yaml.template file. In the kyvos-compute-worker-job.yaml.template file, you will find add the below section at the bottom of the file.
    tolerations:
    key: "key1"
    operator: "Equal"
    value: "value1"
    effect: "NoSchedule"Copy the tolerations part and replace

    image-20241231-140531.pngImage Added
  5. Replace it in the kyvos-compute-worker-job.yaml.template file underthe KYVOSMANAGER_PATH/cloud/gcp/terraform/kyvos-k8s/ section.

...

Add taints to a node pool

Taints allow you to mark nodes with specific restrictions, so pods will only be scheduled on them if they have corresponding tolerations.

Adding Taints to an Existing Node Pool for GCP

Option 1: Using gcloud Command

...