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

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

Open
@graal-michaeld

Description

@graal-michaeld

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions