Difference between revisions of "Kubectl version"

From wikieduonline
Jump to navigation Jump to search
(Created page with "<pre> kubectl version Client Version: version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.0", GitCommit:"641856db18352033a0d96dbc99153fa3b27298e5", GitTreeState:"clean", Bui...")
Tags: Mobile web edit, Mobile edit
 
 
(30 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 +
{{lowercase}}
 +
  kubectl version
 +
  kubectl version --short=true
 +
 +
 +
Client Version: v1.27.4
 +
[[Kustomize]] Version: v5.0.1
 +
[[Unable to connect to the server: dial tcp ::1:8080: connectex: No connection could be made because the target machine actively refused it.]]
 +
 +
[[EKS]]
 +
 +
[[kubectl]] version
 +
Client Version: [[v1.25.0]]
 +
[[Kustomize]] Version: v4.5.7
 +
Unable to connect to the server: getting credentials: exec: executable aws failed with exit code 255
 +
 +
[[kubectl]] version
 +
Client Version: v1.24.1
 +
[[Kustomize]] Version: v4.5.4
 +
Server Version: [[v1.22]].9-eks-a64ea69
 +
 +
  kubectl version --short
 +
Client Version: v1.25.0
 +
[[Kustomize]] Version: v4.5.7
 +
Server Version: v[[1.22]].11-eks-18ef993
 +
WARNING: version difference between client (1.25) and server (1.22) exceeds the supported minor version skew of +/-1
 +
 +
kubectl version --short
 +
Client Version: v1.24.1
 +
[[Kustomize]] Version: v4.5.4
 +
Server Version: [[v1.20]].15-eks-a64ea69
 +
WARNING: version difference between client (1.24) and server (1.20) exceeds the supported minor version skew of +/-1
 +
 +
 +
 +
kubectl version
 +
Client Version: version.Info{Major:"1", Minor:"22", GitVersion:"v1.22.3", GitCommit:"c92036820499fedefec0f847e2054d824aea6cd1", GitTreeState:"clean", BuildDate:"2021-10-27T18:34:20Z", GoVersion:"go1.16.10",
 +
Compiler:"gc", Platform:"darwin/arm64"}
 +
Server Version: version.Info{Major:"1", Minor:"21+", GitVersion:"v1.21.2-eks-06eac09", GitCommit:"5f6d83fe4cb7febb5f4f4e39b3b2b64ebbbe3e97", GitTreeState:"clean", BuildDate:"2021-09-13T14:20:15Z",
 +
GoVersion:"go1.16.5", Compiler:"gc", Platform:"linux/amd64"}
 +
 +
kubectl version --short
 +
Client Version: v1.22.3
 +
Server Version: v1.21.2-eks-06eac09
 +
 +
 +
kubectl version
 +
Client Version: version.Info{Major:"1", Minor:"15", GitVersion:"[[Kubernetes changelog|v1.15.5]]", GitCommit:"20c265fef0741dd71a66480e35bd69f18351daea",
 +
GitTreeState:"clean", BuildDate:"2019-10-15T19:16:51Z", GoVersion:"go1.12.10", Compiler:"gc", Platform:"linux/amd64"}
 +
Server Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.5", GitCommit:"20c265fef0741dd71a66480e35bd69f18351daea",
 +
GitTreeState:"clean", BuildDate:"2019-10-15T19:07:57Z", GoVersion:"go1.12.10", Compiler:"gc", Platform:"linux/amd64"}
 +
 +
 +
<pre>
 +
kubectl version
 +
Client Version: version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.8", GitCommit:"211047e9a1922595eaa3a1127ed365e9299a6c23", GitTreeState:"clean", BuildDate:"2019-10-15T12:11:03Z", GoVersion:"go1.12.10", Compiler:"gc", Platform:"linux/amd64"}
 +
Server Version: version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.8", GitCommit:"211047e9a1922595eaa3a1127ed365e9299a6c23", GitTreeState:"clean", BuildDate:"2019-10-15T12:02:12Z", GoVersion:"go1.12.10", Compiler:"gc", Platform:"linux/amd64"}
 +
</pre>
 +
 +
 +
 +
kubectl version
 +
Client Version: version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.0", GitCommit:"641856db18352033a0d96dbc99153fa3b27298e5",
 +
GitTreeState:"clean", BuildDate:"2019-03-25T15:53:57Z", GoVersion:"go1.12.1", Compiler:"gc", Platform:"linux/amd64"}
 +
[[The connection to the server localhost:8080 was refused - did you specify the right host or port?]]
 +
 
<pre>
 
<pre>
 
kubectl version
 
kubectl version
Client Version: version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.0", GitCommit:"641856db18352033a0d96dbc99153fa3b27298e5", GitTreeState:"clean", BuildDate:"2019-03-25T15:53:57Z", GoVersion:"go1.12.1", Compiler:"gc", Platform:"linux/amd64"}
+
Client Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.6", GitCommit:"dff82dc0de47299ab66c83c626e08b245ab19037", GitTreeState:"clean", BuildDate:"2020-07-16T14:19:25Z", GoVersion:"go1.13.13", Compiler:"gc", Platform:"linux/amd64"}
 
The connection to the server localhost:8080 was refused - did you specify the right host or port?
 
The connection to the server localhost:8080 was refused - did you specify the right host or port?
 
</pre>
 
</pre>
 +
 +
 +
== Related commands ==
 +
* <code>[[aws eks update-cluster-version]]</code>
 +
* [[Kubernetes changelog]]
 +
* <code>[[kubeadm version]]</code>
 +
* <code>[[eksctl version]]</code>
 +
* <code>[[kubectl api-versions]]</code>
  
 
== See also ==
 
== See also ==
 +
* {{kubectl info}}
 
* {{kubectl}}
 
* {{kubectl}}
* {{K8s}}
 
  
 
[[Category:Kubernetes]]
 
[[Category:Kubernetes]]

Latest revision as of 15:05, 8 August 2023

 kubectl version
 kubectl version --short=true


Client Version: v1.27.4
Kustomize Version: v5.0.1
Unable to connect to the server: dial tcp ::1:8080: connectex: No connection could be made because the target machine actively refused it.

EKS

kubectl version 
Client Version: v1.25.0
Kustomize Version: v4.5.7
Unable to connect to the server: getting credentials: exec: executable aws failed with exit code 255
kubectl version 
Client Version: v1.24.1
Kustomize Version: v4.5.4
Server Version: v1.22.9-eks-a64ea69
 kubectl version --short
Client Version: v1.25.0
Kustomize Version: v4.5.7
Server Version: v1.22.11-eks-18ef993
WARNING: version difference between client (1.25) and server (1.22) exceeds the supported minor version skew of +/-1
kubectl version --short
Client Version: v1.24.1
Kustomize Version: v4.5.4
Server Version: v1.20.15-eks-a64ea69
WARNING: version difference between client (1.24) and server (1.20) exceeds the supported minor version skew of +/-1


kubectl version
Client Version: version.Info{Major:"1", Minor:"22", GitVersion:"v1.22.3", GitCommit:"c92036820499fedefec0f847e2054d824aea6cd1", GitTreeState:"clean", BuildDate:"2021-10-27T18:34:20Z", GoVersion:"go1.16.10", 
Compiler:"gc", Platform:"darwin/arm64"}
Server Version: version.Info{Major:"1", Minor:"21+", GitVersion:"v1.21.2-eks-06eac09", GitCommit:"5f6d83fe4cb7febb5f4f4e39b3b2b64ebbbe3e97", GitTreeState:"clean", BuildDate:"2021-09-13T14:20:15Z", 
GoVersion:"go1.16.5", Compiler:"gc", Platform:"linux/amd64"}
kubectl version --short
Client Version: v1.22.3
Server Version: v1.21.2-eks-06eac09


kubectl version
Client Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.5", GitCommit:"20c265fef0741dd71a66480e35bd69f18351daea", 
GitTreeState:"clean", BuildDate:"2019-10-15T19:16:51Z", GoVersion:"go1.12.10", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.5", GitCommit:"20c265fef0741dd71a66480e35bd69f18351daea", 
GitTreeState:"clean", BuildDate:"2019-10-15T19:07:57Z", GoVersion:"go1.12.10", Compiler:"gc", Platform:"linux/amd64"}


kubectl version
Client Version: version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.8", GitCommit:"211047e9a1922595eaa3a1127ed365e9299a6c23", GitTreeState:"clean", BuildDate:"2019-10-15T12:11:03Z", GoVersion:"go1.12.10", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.8", GitCommit:"211047e9a1922595eaa3a1127ed365e9299a6c23", GitTreeState:"clean", BuildDate:"2019-10-15T12:02:12Z", GoVersion:"go1.12.10", Compiler:"gc", Platform:"linux/amd64"}


kubectl version
Client Version: version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.0", GitCommit:"641856db18352033a0d96dbc99153fa3b27298e5", 
GitTreeState:"clean", BuildDate:"2019-03-25T15:53:57Z", GoVersion:"go1.12.1", Compiler:"gc", Platform:"linux/amd64"}
The connection to the server localhost:8080 was refused - did you specify the right host or port?
kubectl version
Client Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.6", GitCommit:"dff82dc0de47299ab66c83c626e08b245ab19037", GitTreeState:"clean", BuildDate:"2020-07-16T14:19:25Z", GoVersion:"go1.13.13", Compiler:"gc", Platform:"linux/amd64"}
The connection to the server localhost:8080 was refused - did you specify the right host or port?


Related commands[edit]

See also[edit]

Advertising: