Comments (4)
Did you upgrade your values following upgrade notes ?
from traefik-helm-chart.
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.
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.
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: TCPWith v27+, it should be
ports: tcp-dns: expose: default: true port: 53 exposedPort: 53 protocol: TCPAs 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)
- Restrict access to secrets in K8S cluster HOT 7
- missing referencegrants.gateway.networking.k8s.io from ClusterRoleBinding
- helm traefik does not watch all namespaces when rbac namespaced HOT 3
- Allow setting value of 'automountServiceAccountToken' in pod helm template traefik v2 HOT 3
- Annotation with null value causes ArgoCD permanent out of sync HOT 5
- Enable passthrough HOT 1
- Error indexing on bool value HOT 4
- Not able to upgrade to 28.0.0-rc.1 with status code config value HOT 1
- No obvious option in chart to set encodeQuerySemicolons HOT 2
- Ingressroutes based on old and new CRDs not working in traefik-28.0.0, only regular kubernetes ingress resources are fine HOT 4
- serverstransporttcps.traefik.io not being created by the Helm chart on upgrade to 28.0.0? HOT 17
- Traefik 3.0 no middleware found in the cluster HOT 6
- nodes rbac HOT 3
- Traefik perpetually out of sync in Argo CD due to missing divisor spec for GOMEMLIMIT and GOMAXPROCS HOT 3
- k3s v1.28/Rancher 2.8.3 : chart requires kubeVersion: >=1.22.0-0 which is incompatible with Kubernetes v1.20.0 HOT 7
- Default values doesn't work on Azure due to missing podSecurityContext.fsGroup HOT 3
- podtemplate not passing ports.X.redirectTo.permanent parameter HOT 1
- Default Values on Traefik Proxy dashboard
- Problem with persistence with certificates, pod in pending
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from traefik-helm-chart.