Git Product home page Git Product logo

Comments (5)

busyboy77 avatar busyboy77 commented on July 29, 2024

anyone?

from helm-charts.

davehorton avatar davehorton commented on July 29, 2024

I have not tried running on K3S, and lack familiarity with it. However, you have reviewed this video where I show a step by step deploy on K8S on GCP? https://youtu.be/Rim812-p8mo

from helm-charts.

davehorton avatar davehorton commented on July 29, 2024

Here is an example of how I assigned taints and labels on a digital ocean cluster, in case it helps

MacBook-Pro-2:~ dhorton$ doctl kubernetes cluster list
ID                                      Name                                  Region    Version        Auto Upgrade    Status     Node Pools
411930a2-122e-467c-817b-e3abdf9ab118    k8s-1-22-7-do-0-nyc3-1648555963360    nyc3      1.22.7-do.0    false           running    pool-5bz50cx8o pool-sip pool-rtp


MacBook-Pro-2:~ dhorton$ doctl kubernetes cluster node-pool update k8s-1-22-7-do-0-nyc3-1648555963360 pool-sip --label "voip-environment=sip"
ID                                      Name        Size           Count    Tags                                                       Labels                       Taints    Nodes
3c5f6acf-3266-4f35-8086-9aa3cea56224    pool-sip    s-2vcpu-4gb    1        k8s,k8s:411930a2-122e-467c-817b-e3abdf9ab118,k8s:worker    map[voip-environment:sip]    []        [pool-sip-cul4g]

MacBook-Pro-2:~ dhorton$ doctl kubernetes cluster node-pool update k8s-1-22-7-do-0-nyc3-1648555963360 pool-rtp --label "voip-environment=rtp"
ID                                      Name        Size           Count    Tags                                                       Labels                       Taints    Nodes
6304ea56-7644-42a9-b9d4-182a17ea5db7    pool-rtp    s-2vcpu-4gb    1        k8s,k8s:411930a2-122e-467c-817b-e3abdf9ab118,k8s:worker    map[voip-environment:rtp]    []        [pool-rtp-cul4e]

MacBook-Pro-2:~ dhorton$ doctl kubernetes cluster node-pool update k8s-1-22-7-do-0-nyc3-1648555963360 pool-sip --taint "sip=true:NoSchedule"
ID                                      Name        Size           Count    Tags                                                       Labels                       Taints                   Nodes
3c5f6acf-3266-4f35-8086-9aa3cea56224    pool-sip    s-2vcpu-4gb    1        k8s,k8s:411930a2-122e-467c-817b-e3abdf9ab118,k8s:worker    map[voip-environment:sip]    [sip=true:NoSchedule]    [pool-sip-cul4g]

MacBook-Pro-2:~ dhorton$ doctl kubernetes cluster node-pool update k8s-1-22-7-do-0-nyc3-1648555963360 pool-rtp --taint "rtp=true:NoSchedule"
ID                                      Name        Size           Count    Tags                                                       Labels                       Taints                   Nodes
6304ea56-7644-42a9-b9d4-182a17ea5db7    pool-rtp    s-2vcpu-4gb    1        k8s,k8s:411930a2-122e-467c-817b-e3abdf9ab118,k8s:worker    map[voip-environment:rtp]    [rtp=true:NoSchedule]    [pool-rtp-cul4e]

from helm-charts.

davehorton avatar davehorton commented on July 29, 2024

You have this in your values.yaml, right?

sbc: 
  sip: 
    nodeSelector: 
      label: voip-environment 
      value: sip
    toleration: sip
  rtp: 
    nodeSelector: 
      label: voip-environment 
      value: rtp
    toleration: rtp

because the error message 1 node(s) had taint {rtp: true}, that the pod didn't tolerate would seem to indicate that the sbc-rtp-daemonset did not have the toleration set.

That is set here, in sbc-rtp-daemonset.yaml

  template:
    metadata:
      labels:
        app: jambonz-sbc-rtp
    spec:
      nodeSelector:
        {{ .Values.sbc.rtp.nodeSelector.label }}: {{.Values.sbc.rtp.nodeSelector.value | quote }}
      hostNetwork: true
      dnsPolicy: ClusterFirstWithHostNet
      tolerations:
        - key: {{ .Values.sbc.rtp.toleration | quote }}
          operator: "Exists"
          effect: "NoSchedule"

from helm-charts.

sammachin avatar sammachin commented on July 29, 2024

@busyboy77 did you get a solution to this, I'm seeing similar problems with k3s
I've changed the label and tolleration to be the same for sip & rtp but getting the no free ports error for the sbc-sip pod

from helm-charts.

Related Issues (5)

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.