Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

[cetic/nifi] sysctl annotation no longer works #305

Open
emrge-michaeld opened this issue Jun 9, 2023 · 0 comments
Open

[cetic/nifi] sysctl annotation no longer works #305

emrge-michaeld opened this issue Jun 9, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@emrge-michaeld
Copy link
Contributor

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-pod

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

@banzo banzo added the enhancement New feature or request label Jun 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants