kubectlcommunity-imagesis akubectlplugin that displays images running in a Kubernetes cluster that were pulled from community owned repositories and warn the user to switch repositories if needed How it Works The plugin will iterate through readable namespaces, and look for pods. For every pod it ...
Adds kubectl logo images Jun 22, 2019 pkg Resolved latest review comments Dec 17, 2024 testdata deprecate EnforceMountableSecretsAnnotation in 1.32 Oct 28, 2024 CONTRIBUTING.md Adds staging directory for kubectl code May 30, 2019 LICENSE
kubectl-images 可以展示集群中正在使用的镜像,并对 namespace 进行一个简单的统计。使用这个插件可以非常方面的查看 namespace 中使用了哪些镜像,尤其在排查问题需要查看镜像版本时非常有用。 项目地址:https://github.com/chenjiandongx/kubectl-images 安装 代码语言:javascript 复制 $ kubectl krew install images $...
# 获取Pod下面的所有容器镜像 ➜~kubectlgetpods-o custom-columns='IMAGES:spec.containers[*].image'IMAGEScnych/nfs-subdir-external-provisioner:v4.0.2nginx:latest 选择一个列表的指定元素 代码语言:javascript 复制 # 获取Pod下面第一个容器的镜像 ➜~kubectlgetpods-o custom-columns='IMAGE:spec.containers...
https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status 在pod内部,执行shell命令 kubectlexecpodnameprintenv| ps aux |cat、ls某个文件(如果pod不在默认空间,用-n 指定相应空间) 如:kubectlexecapp-demo-68b4bd9759-sfpcf -n test-shopprintenv或者在kubectlexecpodname -- 再...
Ubuntu is an open source software operating system that runs from the desktop, to the cloud, to all your internet connected things.
NAME READY UP-TO-DATE AVAILABLE AGE CONTAINERS IMAGES SELECTOR mysql-myshop 0/1 1 0 79m mysql-myshop mysql name=mysql-myshop tomcat-app 2/2 2 2 7d2h tomcat tomcat name=tomcat eric@server1:/usr/local/kubernetes/cluster$ kubectl get pod ...
cluster, such asgetGet the resource objects in the cluster,proxycreate proxy and so on , in addition to these built-in self-commands,kubectlalso provides extensible capabilities, allowing us to install plugins written by ourselves or provided by the community to enhance our productivity using...
images123/httpd:v0.1 //修改镜像名称 [root@master web]# docker tag httpd:v2.0 dockerimages123/httpd:v2.0 [root@master web]# docker push dockerimages123/httpd:v0.1 [root@master web]# docker push dockerimages123/httpd:v2.0 [root@master web]# kubectl create deploy httpd --image dockerimages...
kubectl是Kubernetes集群的命令行工具,通过kubectl能够对集群本身进行管理,并能够在集群上进行容器化应用的安装部署。 (2).语法说明 语法:kubectl [操作命令] [资源类型] [资源名称] [可选参数] 操作命令:指对一个或多个资源执行的操作。 资源类型:资源类型不区分大小写,可指定单数、复数或缩写形式。