-
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
UpdateI noticed there is something wrong with kubectl get pods -n ingress-nginx
NAME READY STATUS RESTARTS AGE
flagger-674b58f457-94vj4 1/1 Running 0 6d19h
flagger-prometheus-596d6965cb-xpf2f 1/1 Running 0 6d19h
ingress-nginx-admission-patch-knwsb 1/2 NotReady 1 2m36s
ingress-nginx-controller-5j2mt 1/1 Running 0 4m19s
ingress-nginx-controller-gcx6j 1/1 Running 0 3m56s
ingress-nginx-controller-wgccs 1/1 Running 0 3m22s I tried to remove the ingress apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: ingress-nginx
namespace: ingress-nginx
annotations:
fluxcd.io/ignore: "false"
spec:
interval: 5m
chart:
spec:
chart: ingress-nginx
version: '3.12.0'
sourceRef:
kind: HelmRepository
name: ingress-nginx
namespace: flux-system
interval: 1m
values:
controller:
metrics:
enabled: "true"
podAnnotations:
# linkerd.io/inject: ingress
prometheus.io/scrape: "true"
prometheus.io/port: "10254"
hostNetwork: "true"
kind: DaemonSet
service:
type: NodePort
When adding the PodAnnotation for the ingress, This is how it looks:
When I re-added the annotation it seems to be set on the ingress pods, but still traffic is not shifting correctly
|
Beta Was this translation helpful? Give feedback.
-
Seems that the issue is related to this: kubectl -n ingress-nginx get ds/ingress-nginx-controller -o yaml | linkerd inject - | kubectl apply -f -
This is the ingress config: (this is RKE cluster which runs on bare metal) |
Beta Was this translation helpful? Give feedback.
-
Fixed the issue by:
After re-deploying the daemonSet, the ingress pods have the correct annotations and Environment Variables of Lnkerd:
And I can see that the ingress is now Most important i'm now getting the canary app version when testing during canary release, according to the progress of the weight. |
Beta Was this translation helpful? Give feedback.
Fixed the issue by:
ingress-nginx
namespace (caused the patching issue of the ingress controller)controller.Service.Type: ""
After re-deploying the daemonSet, the ingress pods have the correct annotations and Environment Variables of Lnkerd: