Master · Management Services
kubectl:Manage Kubernetes resources
Syntax
kubectl get pods | logs NameExamples
kubectl get podsUsage and sandbox support
For review only: practice in a real Linux environment, this sandbox does not execute this command.
This command is for reference and review, and the simulation terminal does not provide corresponding exercises yet.
Related commands
systemctlQuery and Management systemd ServicesjournalctlView service logsaptManage Debian/Ubuntu packagescrontabSchedule periodic tasksdockerManage containersserviceManage traditional serviceshostnamectlQuery or set hostnametimedatectlQuery time and time zoneloginctlQuery login sessionatSchedule one-time tasksdpkgQuery Debian packageapt-cacheQuery APT package metadataapt-getManage APT package in scriptdnfManage Fedora packagesyumManagement RPM series software packagesrpmQuery RPM packagepacmanManage Arch packagesapkManage Alpine packagespodmanManage containers and imagesnginxCheck Web service configurationlogrotateRotate log files