Version of Helm, Kubernetes and the Nifi chart:
Chart 1.1.4
What happened:
kubectl highlighted the issue:
$kubectl scale statefulset -n prd nifi --replicas=0
Warning: spec.template.metadata.annotations[security.alpha.kubernetes.io/sysctls]: non-functional in v1.11+; use the "sysctls" field instead
What you expected to happen:
No warnings when using kubectl
How to reproduce it (as minimally and precisely as possible):
kubectl scale statefulset -n prd nifi --replicas=0
Describe the bug The statefulset template uses outdated sysctl annotation.
security.alpha.kubernetes.io/sysctls: net.ipv4.ip_local_port_range=10000 65000
This is non-functional in kubernetes v1.11+; use the "sysctls" field instead. See https://kubernetes.io/docs/tasks/administer-cluster/sysctl-cluster/#setting-sysctls-for-a-podVersion of Helm, Kubernetes and the Nifi chart: Chart 1.1.4
What happened: kubectl highlighted the issue:
What you expected to happen: No warnings when using kubectl
How to reproduce it (as minimally and precisely as possible): kubectl scale statefulset -n prd nifi --replicas=0