Kubectl
بواسطة bCloud LLC
Version 1.37.0 + Free Support on Ubuntu 26.04
kubectl is the official command-line tool for Kubernetes that allows users to deploy, manage, and troubleshoot applications running on Kubernetes clusters. It communicates directly with the Kubernetes API server, enabling administrators and developers to create, update, inspect, and delete cluster resources efficiently from the command line.
Features of kubectl
- Official Kubernetes CLI maintained by the Kubernetes project.
- Deploy, update, and manage applications running on Kubernetes clusters.
- Create and manage Kubernetes resources such as Pods, Deployments, Services, ConfigMaps, and Namespaces.
- Supports declarative resource management using YAML and JSON manifest files.
- Provides cluster debugging and troubleshooting commands, including logs, exec, describe, and port-forward.
- View cluster information, node status, events, and resource utilization.
- Supports context and namespace switching for managing multiple Kubernetes clusters.
- Compatible with Linux, macOS, and Windows platforms.
kubectl Usage:
$ sudo su$ sudo apt update
$ kubectl version --client
Disclaimer: kubectl is the official open-source command-line interface for Kubernetes, maintained by the Kubernetes community under the Cloud Native Computing Foundation (CNCF). It is provided "as is" without warranties of any kind, express or implied. Users are responsible for securing Kubernetes clusters, managing authentication and authorization, maintaining compatible kubectl and Kubernetes versions, and complying with all applicable licenses, security policies, and regulatory requirements.