Skip to content
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

added installation via Powershell Gallery #6086

Merged
merged 2 commits into from
Jan 26, 2018

Conversation

bottkars
Copy link
Contributor

@bottkars bottkars commented Oct 29, 2017

this is for Powershell Users, utilizing PSGallery as default Repo for installing kubectl on Windows

image
image


This change is Reviewable

kubectl Installation via PSGallery for Powershell Windows Package Manager
@k8s-ci-robot
Copy link
Contributor

Thanks for your pull request. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

📝 Please follow instructions at https://github.com/kubernetes/kubernetes/wiki/CLA-FAQ to sign the CLA.

It may take a couple minutes for the CLA signature to be fully registered; after that, please reply here with a new comment and we'll verify. Thanks.


Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@k8s-ci-robot k8s-ci-robot added cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Oct 29, 2017
@k8sio-netlify-preview-bot
Copy link
Collaborator

k8sio-netlify-preview-bot commented Oct 29, 2017

Deploy preview for kubernetes-io-master-staging ready!

Built with commit d57d0a8

https://deploy-preview-6086--kubernetes-io-master-staging.netlify.com

@bottkars
Copy link
Contributor Author

cla requested 11 Minutes Ago.

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. and removed cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. labels Oct 29, 2017
@steveperry-53
Copy link
Contributor

@bottkars Can you check the Allow edits from maintainers box. It should be in the right column. If it's already checked, uncheck and recheck it. Thanks.

@@ -112,6 +112,19 @@ kubectl is available as a [snap](https://snapcraft.io/) application.

2. Run `kubectl version` to verify that the version you've installed is sufficiently up-to-date.

## Install with Powershell from PSGallery

1. If you are on Windows and using [Powershell Gallery](https://https://www.powershellgallery.com/) package manager, you can install and update with:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you've got a duplicate https:// for the Powershell Gallery link...

install-kubectl.ps1 [-DownloadLocation <path>]

If no Downloadlocation is specified, kubectl will be installed in users temp Directory
2. The installer creates $HOME/.kube and instucts to create a config file
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Slightly better wording might be:

The installer creates $HOME/.kube and instucts you to create a config file


If no Downloadlocation is specified, kubectl will be installed in users temp Directory
2. The installer creates $HOME/.kube and instucts to create a config file
3. Updating
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you structure this like the example commands in 1. above - using some wording to explain is before it. For example:

You can update the version of kubectl by rerunning the same scripts again:

Install-Script -Name install-kubectl -Scope CurrentUser -Force     
install-kubectl.ps1 [-DownloadLocation <path>]

@heckj
Copy link
Contributor

heckj commented Jan 26, 2018

/hold

@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jan 26, 2018
@heckj
Copy link
Contributor

heckj commented Jan 26, 2018

/assign heckj

Copy link
Contributor Author

@bottkars bottkars left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

makes ysense !

@heckj
Copy link
Contributor

heckj commented Jan 26, 2018

Thanks @bottkars
/lgtm
/hold cancel

@k8s-ci-robot k8s-ci-robot added lgtm "Looks good to me", indicates that a PR is ready to be merged. and removed do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. labels Jan 26, 2018
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: bottkars, heckj

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these OWNERS Files:

You can indicate your approval by writing /approve in a comment
You can cancel your approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 26, 2018
@k8s-ci-robot k8s-ci-robot merged commit 7c25ef9 into kubernetes:master Jan 26, 2018
@darkvn79
Copy link

has problems with setting because , i think they in my system now , hackers

user-192
user-48
user-40
user-32
user
guest

chenopis added a commit that referenced this pull request Jan 29, 2018
…henopis-user-journeys

* 'master' of https://github.com/kubernetes/website: (102 commits)
  Change deployment group (#7112)
  fix typos in extending doc (#7110)
  added installation via Powershell Gallery (#6086)
  Update StatefulSet API version to 1.9 for the Cassandra example (#7096)
  Modify the terms by document style (#7026)
  now that phase out in k8s/cluster/ directory, so remove relative docs (#6951)
  Update mysql-wordpress-persistent-volume.md (#7080)
  Update high-availability.md (#7086)
  Feature gates reference documentation (#6364)
  Add link to autoscaler FAQ (#7045)
  Replace regular characters with HTML entities. (#7038)
  Remove unnecessary manual node object creation (#6765)
  upper case restriction doesn't exist (#7003)
  Add an API concepts document and describe terminology and API chunking (#6540)
  Add kube-apiserver, kube-controller-manager, kube-scheduler and etcd to glossary. (#6600)
  Update what-is-kubernetes.md (#6971)
  Fixed the interacting with cluster section for the ubuntu installation (#6905)
  Update weave-network-policy.md (#6960)
  Added AWS eks (#6568)
  Update eviction strategy to include priority (#6949)
  ...

# Conflicts:
#	_data/setup.yml
#	_data/tutorials.yml
#	docs/imported/release/notes.md
bitfield pushed a commit to bitfield/website that referenced this pull request Feb 19, 2018
* added kubectl installation via PSGallery 

kubectl Installation via PSGallery for Powershell Windows Package Manager

* Update install-kubectl.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants