-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@ #28 | add docs how to install kubectl helm #78
@ #28 | add docs how to install kubectl helm #78
Conversation
…s into tasks/teracyhq-incubator#28-add-docs-how-to-install-kubectl-helm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hieptranquoc please check my comments
docs/how-to-install-kubectl-helm.md
Outdated
$ brew link --overwrite kubernetes-cli # to ensure override new kubectl version to path | ||
``` | ||
|
||
+ Install latest version with `kubectl` binary using `curl`(please install `curl` if you don't have it). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we don;t need to mention the installation with curl. Just installation with brew is enough.
docs/how-to-install-kubectl-helm.md
Outdated
|
||
- Specific version: | ||
|
||
+ If you have ever installed the desired version with `homebrew`, you can downgrade to that version. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you can switch to that version.
(we use the "switch" word, because we can switch from an old version to the newer version)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hieptranquoc I mean, we should use the word "switch", not "downgrade".
docs/how-to-install-kubectl-helm.md
Outdated
@@ -0,0 +1,448 @@ | |||
This page shows you how to install kubectl and helm on macOS, Linux (Ubuntu) and Windows |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Assume:
Assume:
homebrew available on macOS
chocolatey available on Windows
Ubuntu is preferred Linux distro
@hieptranquoc so we should show this, moreover, teracy-dev users have had them.
- I don;t see the section how to upgrade the version.
docs/how-to-install-kubectl-helm.md
Outdated
|
||
If you installed `kubectl` using the Homebrew instructions then `kubectl` completion should start working immediately. | ||
|
||
> If bash-completion in Homebrew not work, please add to `~/.bash_profile`: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does not work
Reply to all @hoavt comments: we can't switch version if we haven't installed it yet. So we need |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hieptranquoc@cae56c9#diff-5bda4a488e3bf7ddca37c694c0c16c92L115
why don;t show how to upgrade a newer version @hieptranquoc?
docs/how-to-install-kubectl-helm.md
Outdated
|
||
### Install | ||
|
||
- Latest version: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we mention 2 ways to install, the structure should be
- Install Kubectl with brew
- Install Kubectl with curl
And remove the unnecessary lines.
cae56c9
to
5888a0a
Compare
I've updated! Please check this PR again! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please check my changes @hieptranquoc.
a96e50d
to
23bd1e1
Compare
@hoavt I've updated! Please check this PR again! |
@hoatle Please check! All done! |
need @hoavt to approve this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hieptranquoc please check my comments.
docs/how-to-install-kubectl-helm.md
Outdated
# Requirements: | ||
- Homebrew available on macOS | ||
- Chocolatey available on Windows | ||
- At least ubuntu 16.04 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ubuntu
docs/how-to-install-kubectl-helm.md
Outdated
|
||
This guide consists of two main sections: | ||
- [Kubectl](#kubectl) | ||
+ [Installing / Uninstalling kubeclt on macOS](#kubectl_mac_os) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
kubectl
docs/how-to-install-kubectl-helm.md
Outdated
This guide consists of two main sections: | ||
- [Kubectl](#kubectl) | ||
+ [Installing / Uninstalling kubeclt on macOS](#kubectl_mac_os) | ||
+ [Installing / Uninstalling kubeclt on Linux(Ubuntu)](#kubectl_linux) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
kubectl
docs/how-to-install-kubectl-helm.md
Outdated
- [Kubectl](#kubectl) | ||
+ [Installing / Uninstalling kubeclt on macOS](#kubectl_mac_os) | ||
+ [Installing / Uninstalling kubeclt on Linux(Ubuntu)](#kubectl_linux) | ||
+ [Installing / Uninstalling kubeclt on Windows](#kubectl_windows) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
kubectl
docs/how-to-install-kubectl-helm.md
Outdated
|
||
- Install a specific version [from the binary release](https://docs.helm.sh/using_helm/#from-the-binary-releases). | ||
|
||
- Test `kubectl` version you installed: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
helm
docs/how-to-install-kubectl-helm.md
Outdated
|
||
### Installing kubeclt on macOS | ||
|
||
- Install kubeclt with `homebrew`: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
kubectl
docs/how-to-install-kubectl-helm.md
Outdated
$ brew info kubernetes-cli | ||
$ brew switch kubernetes-cli 1.12.0 # example downgrade to version 1.12.0 | ||
``` | ||
- Downgrade kubeclt with `homebrew`: See the details at https://www.benpickles.com/articles/72-downgrading-kubectl-with-homebrew to downgrade with `homebrew`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
kubectl
docs/how-to-install-kubectl-helm.md
Outdated
``` | ||
- Downgrade kubeclt with `homebrew`: See the details at https://www.benpickles.com/articles/72-downgrading-kubectl-with-homebrew to downgrade with `homebrew`. | ||
|
||
- Install a kubeclt specific version with `curl`: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
kubectl
docs/how-to-install-kubectl-helm.md
Outdated
$ kubectl version | ||
``` | ||
|
||
### Uninstalling kubeclt on macOS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
kubectl
docs/how-to-install-kubectl-helm.md
Outdated
|
||
> Note: **kubectl autocompletion will only work with `kubectl`, not `kubectl.exe`**. | ||
|
||
# <a name="helm">Helm[Helm] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Helm[Helm] => Helm
Fix some spelling errors
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Applied comments @hoatle
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
connect #28
please check this PR! Thank you.