Skip to content

Feat: Add ability to label pods when creating a deployment using kubectl #1763

@HoustonBoston

Description

@HoustonBoston

What would you like to be added?

When creating deployments using kubectl, I would like the ability to add labels to pods within those deployments. Ex: kubectl create deployment deployment-1 --image=nginx --pod-labels=app=frontend,version=v1

Why is this needed?

QOL Improvement.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureCategorizes issue or PR as related to a new feature.needs-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.sig/cliCategorizes an issue or PR as relevant to SIG CLI.

    Type

    No type

    Projects

    Status

    Needs Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions