Giter Site home page Giter Site logo

Comments (4)

mloiseleur avatar mloiseleur commented on June 15, 2024

Did you upgrade your values following upgrade notes ?

from traefik-helm-chart.

donnaran avatar donnaran commented on June 15, 2024

Did you upgrade your values following upgrade notes ?

Thank you for pointing out the release notes. I have updated the values as per release notes but now i am getting below error when trying to do the upgrade.

Error: UPGRADE FAILED: cannot patch "traefik" with kind Service: Service "traefik" is invalid: spec.ports[0].port: Invalid value: 0: must be between 1 and 65535, inclusive && cannot patch "traefik" with kind Deployment: Deployment.apps "traefik" is invalid: spec.template.spec.containers[0].ports[1].containerPort: Required value

Following is in my config values yaml

deployment:
  # -- Enable deployment
  enabled: true
  # -- Deployment or DaemonSet
  kind: Deployment
  # -- Number of pods of the deployment (only applies when kind == Deployment)
  replicas: 2
# Enable access log
logs:
  #general:
  # level: WARN
  access:
    enabled: true
    format: json
    filePath: "/var/log/traefik/access.log"
# Print access log to file instead of stdout
additionalArguments:
  - "--accesslog.filepath=/data/access.log"
  - "--serversTransport.insecureSkipVerify=true"
ports:
  tcp-dns:
    expose:
      default: true
      port: 53
      exposePort: 53
      protocol: TCP
  udp-dns:
    expose:
      default: true
      port: 53
      exposePort:  53
      protocol: UDP
  smtp:
    expose:
      default: true
      port: 25
      exposePort: 25
      protocol: TCP
  postgres:
    expose:
      default: true
      port: 5432
      exposePort: 5432
      protocol: TCP
  mqtt:
    expose:
      default: true
      port: 1883
      exposePort: 1883
      protocol: TCP
service:
  single: false
  annotations:
    metallb.universe.tf/allow-shared-ip: traefik-external-service
  spec:
    # Set load balancer external IP
    loadBalancerIP: 10.10.10.10
    externalTrafficPolicy: Local
providers:
  # Enable cross namespace references
  kubernetesCRD:
    enabled: true
    allowCrossNamespace: true
    allowExternalNameServices: true
  # Enable published service
  kubernetesIngress:
    publishedService:
      enabled: true
    allowExternalNameServices: true
nodeSelector:
  node-type: worker


from traefik-helm-chart.

mloiseleur avatar mloiseleur commented on June 15, 2024

One can check what yaml is generated with helm template command.

The format of pattern like this is invalid:

ports:
  tcp-dns:
    expose:
      default: true
      port: 53
      exposePort: 53
      protocol: TCP

With v27+, it should be

ports:
  tcp-dns:
    expose:
      default: true
    port: 53
    exposedPort: 53
    protocol: TCP

As formatted in default values.

from traefik-helm-chart.

donnaran avatar donnaran commented on June 15, 2024

One can check what yaml is generated with helm template command.

The format of pattern like this is invalid:

ports:
  tcp-dns:
    expose:
      default: true
      port: 53
      exposePort: 53
      protocol: TCP

With v27+, it should be

ports:
  tcp-dns:
    expose:
      default: true
    port: 53
    exposedPort: 53
    protocol: TCP

As formatted in default values.

Thank for providing correct format pattern, i have updated the config yaml and successfully upgraded using helm chart. Thank you for all your helps.

NAME: traefik
LAST DEPLOYED: Thu Apr 18 15:04:16 2024
NAMESPACE: traefik
STATUS: deployed
REVISION: 13
TEST SUITE: None
NOTES:
Traefik Proxy v2.11.2 has been deployed successfully on traefik namespace !

from traefik-helm-chart.

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.