Skip to content

CKS: allow setting kube-apiserver arguments, kubelet configuration and an audit policy at create time #14782

Open

Description

@bhouse-nexthop

Problem

createKubernetesCluster has no way to set kube-apiserver flags or kubelet settings. Common needs that currently mean editing every node by hand after creation, and redoing it on every scale or upgrade:

Need Setting
OIDC login kube-apiserver --oidc-*
Audit logging kube-apiserver --audit-policy-file and --audit-log-*
Node resource reservations KubeletConfiguration systemReserved, kubeReserved, evictionHard

Expected

Optional parameters on createKubernetesCluster for kube-apiserver arguments, kubelet configuration and an audit policy. They are applied at kubeadm init and carried to nodes added later. Settings CloudStack itself depends on cannot be overridden.

Activity

  1. github-actions commented on Nov 26, 2026

    @github-actions

    Warning

    threat detection engine error
    The threat detection engine encountered an error and could not complete analysis. This is a tooling failure, not a security finding.

    What happened

    The threat detection engine failed to produce results.

    Review the workflow run logs for details.

    🎯 Triage report

    The request is for optional parameters on createKubernetesCluster to set kube-apiserver arguments (for example OIDC), kubelet configuration (for example system and kube reserved resources and eviction thresholds) and an audit policy. These would be applied at kubeadm init and carried to nodes added later, and settings that CKS itself depends on would not be overridable. PR #14783 is already open for this.

    📊 Assessment

    Dimension Value Reasoning
    Type type:new-feature New create-time options and their storage
    Component component:cks CKS create cluster options and kubeadm configuration
    Severity n/a Not a bug report
    Labels type:new-feature, component:cks
    Coding agent Needs more info Which arguments may be overridden, and how they are validated, are design decisions; PR #14783 exists

    🔗 Similar issues

    💡 Notes and suggestions

    Generated by Daily Issue Triage · copilot · haiku55 · ~7 AIC · ⊞ 3.8K · ◷

    Add this agentic workflow to your repo

    To install this agentic workflow, run

    gh aw add githubnext/agentics/workflows/daily-issue-triage.md@139fa09ef17cde4135e696ff8e7af09bc5ddfa6e
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions