mirror of
https://github.com/jpetazzo/container.training.git
synced 2026-02-14 17:49:59 +00:00
⬆️ Update Traefik to v2.5 to support Ingress v1
Ingress v1beta1 is no longer served in Kubernetes 1.22, so we need a version of Traefik that uses Ingress v1. Traefik supports Ingress v1 in Traefik v2.5 and above. Right now (August 2021) the traefik image is v2.4, so let's pin the image version to v2.5 (which is currently in rc) so that the Ingress labs work correctly with Kubernetes 1.22.
This commit is contained in:
@@ -29,7 +29,7 @@ spec:
|
||||
serviceAccountName: traefik-ingress-controller
|
||||
terminationGracePeriodSeconds: 60
|
||||
containers:
|
||||
- image: traefik
|
||||
- image: traefik:v2.5
|
||||
name: traefik-ingress-lb
|
||||
ports:
|
||||
- name: http
|
||||
|
||||
Reference in New Issue
Block a user