Giter Site home page Giter Site logo

Comments (5)

timoreimann avatar timoreimann commented on June 5, 2024 2

Hi @joeldeteves 👋

While we don't have UI / control panel integration yet, it is possible to specify so-called persistent node pool taints through the API that have the very behavior you are describing. See also the taints field on the DOKS API reference.

Does that help you, or were you asking for UI integration in particular?

from doks.

joeldeteves avatar joeldeteves commented on June 5, 2024 1

Hi @joeldeteves 👋

While we don't have UI / control panel integration yet, it is possible to specify so-called persistent node pool taints through the API that have the very behavior you are describing. See also the taints field on the DOKS API reference.

Does that help you, or were you asking for UI integration in particular?

UI integration would definitely make things easier.

But regarding the option you showed me, is it possible to apply a persistent node pool taint to an existing node pool?

Currently I only see it under the add section of that document.

Nevermind, I see it under the update section as well!

Thank you,

from doks.

timoreimann avatar timoreimann commented on June 5, 2024 1

Great! I'm happy to keep the issue open to publicly track UI integration.

from doks.

joeldeteves avatar joeldeteves commented on June 5, 2024 1

Here's how I did it in case anyone else is searching for a quick solution:

  1. export $DIGITALOCEAN_TOKEN=my-access-token
  2. doctl -t $DIGITALOCEAN_TOKEN kubernetes cluster node-pool update mycluster mynodepool --taint "key=false:NoExecute"

Using doctl is a bit easier than using cURL or other methods to access the API.

Docs on how to use doctl here: https://docs.digitalocean.com/reference/doctl/reference/kubernetes/cluster/node-pool/update/

Thanks again @timoreimann

from doks.

timoreimann avatar timoreimann commented on June 5, 2024

Related: #3

from doks.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.