How can I update my Kubernetes 'kubectl' client version in Docker For Mac?How can I override CMD when running...
"You are your self first supporter", a more proper way to say it
What is the word for reserving something for yourself before others do?
Can a Cauchy sequence converge for one metric while not converging for another?
Why can't I see bouncing of switch on oscilloscope screen?
High voltage LED indicator 40-1000 VDC without additional power supply
Languages that we cannot (dis)prove to be Context-Free
How do I deal with an unproductive colleague in a small company?
Can an x86 CPU running in real mode be considered to be basically an 8086 CPU?
Is it inappropriate for a student to attend their mentor's dissertation defense?
Which country benefited the most from UN Security Council vetoes?
What doth I be?
Horror movie about a virus at the prom; beginning and end are stylized as a cartoon
I'm flying to France today and my passport expires in less than 2 months
Can you really stack all of this on an Opportunity Attack?
RSA: Danger of using p to create q
What would happen to a modern skyscraper if it rains micro blackholes?
If human space travel is limited by the G force vulnerability, is there a way to counter G forces?
Why doesn't H₄O²⁺ exist?
Perform and show arithmetic with LuaLaTeX
Important Resources for Dark Age Civilizations?
Convert two switches to a dual stack, and add outlet - possible here?
Maximum likelihood parameters deviate from posterior distributions
Can a vampire attack twice with their claws using Multiattack?
Codimension of non-flat locus
How can I update my Kubernetes 'kubectl' client version in Docker For Mac?
How can I override CMD when running a docker image?How can I debug a docker container initialization?Can Mac OS X be run inside Docker?How to manually upgrade docker version on a docker-machine?How do I get Kubernetes to work without the “connection over port 8080” error?Kubernetes - how to map docker run command-line parameters to kubectl command lineConnect AWS route53 domain name with K8s LoadBalancer Service`kubectl logs` on Azure AKS yields error “Forbidden (user=system:anonymous ..)”How to configure Internal DNS for Kubernetescan I manually run Docker containers on a Kubernetes node?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}
I'm a Kubernetes newbie following along with a K8s intro video. The command kubectl api-resources
is referred to, but that command isn't recognized by my kubectl
. I went back to the start of the video, and the instructor did a kubectl version
. I do this and get:
Client Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.11", GitCommit:"637c7e288581ee40ab4ca210618a89a555b6e7e9", GitTreeState:"clean", BuildDate:"2018-11-26T14:38:32Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.0", GitCommit:"641856db18352033a0d96dbc99153fa3b27298e5", GitTreeState:"clean", BuildDate:"2019-03-25T15:45:25Z", GoVersion:"go1.12.1", Compiler:"gc", Platform:"linux/amd64"}
On the instructor's machine, both the Client and Server versions showed v1.14.0. As you can see, my Client Version shows 1.10.11. I'm guessing that this difference explains why I don't have the kubectl api-resources
subcommand.
I believe that my kubectl
came with the rest of Docker for Mac. Doing which kubectl
seems to verify this, as it gives:
/Applications/Docker.app/Contents/Resources/bin/kubectl
Can someone tell me how to update my version of kubectl
or do whatever else is appropriate so that I have "Client Version" 1.14.0 and/or so that I have the api-resources
subcommand? Even some insight into why this difference in versions exists would be helpful.
docker mac kubernetes
New contributor
add a comment |
I'm a Kubernetes newbie following along with a K8s intro video. The command kubectl api-resources
is referred to, but that command isn't recognized by my kubectl
. I went back to the start of the video, and the instructor did a kubectl version
. I do this and get:
Client Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.11", GitCommit:"637c7e288581ee40ab4ca210618a89a555b6e7e9", GitTreeState:"clean", BuildDate:"2018-11-26T14:38:32Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.0", GitCommit:"641856db18352033a0d96dbc99153fa3b27298e5", GitTreeState:"clean", BuildDate:"2019-03-25T15:45:25Z", GoVersion:"go1.12.1", Compiler:"gc", Platform:"linux/amd64"}
On the instructor's machine, both the Client and Server versions showed v1.14.0. As you can see, my Client Version shows 1.10.11. I'm guessing that this difference explains why I don't have the kubectl api-resources
subcommand.
I believe that my kubectl
came with the rest of Docker for Mac. Doing which kubectl
seems to verify this, as it gives:
/Applications/Docker.app/Contents/Resources/bin/kubectl
Can someone tell me how to update my version of kubectl
or do whatever else is appropriate so that I have "Client Version" 1.14.0 and/or so that I have the api-resources
subcommand? Even some insight into why this difference in versions exists would be helpful.
docker mac kubernetes
New contributor
add a comment |
I'm a Kubernetes newbie following along with a K8s intro video. The command kubectl api-resources
is referred to, but that command isn't recognized by my kubectl
. I went back to the start of the video, and the instructor did a kubectl version
. I do this and get:
Client Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.11", GitCommit:"637c7e288581ee40ab4ca210618a89a555b6e7e9", GitTreeState:"clean", BuildDate:"2018-11-26T14:38:32Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.0", GitCommit:"641856db18352033a0d96dbc99153fa3b27298e5", GitTreeState:"clean", BuildDate:"2019-03-25T15:45:25Z", GoVersion:"go1.12.1", Compiler:"gc", Platform:"linux/amd64"}
On the instructor's machine, both the Client and Server versions showed v1.14.0. As you can see, my Client Version shows 1.10.11. I'm guessing that this difference explains why I don't have the kubectl api-resources
subcommand.
I believe that my kubectl
came with the rest of Docker for Mac. Doing which kubectl
seems to verify this, as it gives:
/Applications/Docker.app/Contents/Resources/bin/kubectl
Can someone tell me how to update my version of kubectl
or do whatever else is appropriate so that I have "Client Version" 1.14.0 and/or so that I have the api-resources
subcommand? Even some insight into why this difference in versions exists would be helpful.
docker mac kubernetes
New contributor
I'm a Kubernetes newbie following along with a K8s intro video. The command kubectl api-resources
is referred to, but that command isn't recognized by my kubectl
. I went back to the start of the video, and the instructor did a kubectl version
. I do this and get:
Client Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.11", GitCommit:"637c7e288581ee40ab4ca210618a89a555b6e7e9", GitTreeState:"clean", BuildDate:"2018-11-26T14:38:32Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.0", GitCommit:"641856db18352033a0d96dbc99153fa3b27298e5", GitTreeState:"clean", BuildDate:"2019-03-25T15:45:25Z", GoVersion:"go1.12.1", Compiler:"gc", Platform:"linux/amd64"}
On the instructor's machine, both the Client and Server versions showed v1.14.0. As you can see, my Client Version shows 1.10.11. I'm guessing that this difference explains why I don't have the kubectl api-resources
subcommand.
I believe that my kubectl
came with the rest of Docker for Mac. Doing which kubectl
seems to verify this, as it gives:
/Applications/Docker.app/Contents/Resources/bin/kubectl
Can someone tell me how to update my version of kubectl
or do whatever else is appropriate so that I have "Client Version" 1.14.0 and/or so that I have the api-resources
subcommand? Even some insight into why this difference in versions exists would be helpful.
docker mac kubernetes
docker mac kubernetes
New contributor
New contributor
New contributor
asked 1 min ago
SteveSteve
1011
1011
New contributor
New contributor
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "2"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Steve is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f961785%2fhow-can-i-update-my-kubernetes-kubectl-client-version-in-docker-for-mac%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Steve is a new contributor. Be nice, and check out our Code of Conduct.
Steve is a new contributor. Be nice, and check out our Code of Conduct.
Steve is a new contributor. Be nice, and check out our Code of Conduct.
Steve is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Server Fault!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f961785%2fhow-can-i-update-my-kubernetes-kubectl-client-version-in-docker-for-mac%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown