SUSE Linux Enterprise Kubernetes CLI

Kubernetes CLI for communicating with a Kubernetes cluster's control plane using the Kubernetes API, based on the SUSE Linux Enterprise Base Container Image.

Get Image
Digest:
sha256:f756f4250c5c2418f2bbbd10d56973b6a24bc4ec5a686d2bc47d0fa34e1602b3
f756f4250
Repository:
registry.suse.com/suse/kubectl:latest

Description

kubectl Container Image

SLSA Provenance: Available

Kubectl is a command line tool for communicating with a Kubernetes cluster's control plane, using the Kubernetes API.

How to use this Container Image

To run commands inside the container for the current cluster for which the kubeconfig is available in /root/.kube.config:

podman run --rm --name kubectl \
      registry.suse.com/suse/kubectl:1.35 get nodes

To pass configuration of a remote cluster to the container:

podman run --rm --name kubectl \
      -v /localpath/to/kubeconfig:/root/.kube/config:Z
      registry.suse.com/suse/kubectl:1.35 get nodes

This container also includes Helm, the package manager for Kubernetes and Helm charts. You can use kubectl customize --enable-helm for charts:

podman run --rm --name kubectl \
      -v /localpath/to/customize:/home/user:Z
      registry.suse.com/suse/kubectl:1.35 kustomize --enable-helm

Running as a regular user

The container provides a preconfigured user called user which can be explicitly set to lower the permissions of kubectl within the container

podman run --rm --name kubectl \
      --user user \
      -v /localpath/to/kubeconfig:/home/user/.kube/config:Z \
      registry.suse.com/suse/kubectl:1.35 version

## Licensing

`SPDX-License-Identifier: Apache-2.0`

This documentation and the build recipe are licensed as Apache-2.0.
The container itself contains various software components under various open source licenses listed in the associated
Software Bill of Materials (SBOM).

This image is based on [SUSE Linux Enterprise Server](https://www.suse.com/products/server/), a reliable,
secure, and scalable server operating system built to power mission-critical workloads in physical and virtual environments.
  • Image Data

    Last Built: 18 Jun 07:37 UTC

    Compressed Size: 46.8 MB

    Uncompressed Size: 150.1 MB

    Support Level: L3

    Supported until: 31 Jul 2031


  • Health Index
    -

    Scan pending