Commit Graph

61 Commits

Author SHA1 Message Date
Jordan Liggitt
188844c3db
Make prerelease tag optional in CI versions 2023-03-21 09:23:45 -04:00
Jordan Liggitt
2010eaac52
Annotate CI version regexes 2023-03-21 09:08:05 -04:00
Jordan Liggitt
9ba4df15f8
Drop unused regex grouping 2023-03-21 09:08:05 -04:00
Jordan Liggitt
bff737d328
Update comments 2023-03-21 09:08:04 -04:00
Benjamin Elder
64ed5964d5 permit self-assignment line for clarity and also fear of touching get-kube.sh 2022-10-20 16:22:11 -07:00
Geon-Ju Kim
181485212b Remove unnecessary quotes from get-kube scripts 2021-05-15 13:27:09 +09:00
Eddie Zaneski
cebb1b3393
Use gsutil to download kube binaries and release
Default to using gsutil to download kube artifacts to avoid network
interruptions.

Signed-off-by: Eddie Zaneski <eddiezane@gmail.com>
2020-10-16 09:56:25 -06:00
Manjunath A Kumatagi
f48cdfb9b9 Add missing ppc64le architecture in the get-kube* scripts 2020-08-07 11:14:09 +05:30
Carlos Panato
715aa8b733
get-kube.sh: fix order to get the binaries from the right bucket 2020-06-01 17:59:33 +02:00
Benjamin Elder
f90726a6a6 fix get-kube authorization headers 2020-02-20 14:07:14 -08:00
Sen Lu
e3fdebbe62 auth/cloud-platform is a superset of devstorage.
Also fix the curl in get-kube.sh
2019-09-23 14:14:03 -07:00
Benjamin Elder
09f48a78e1 fix get-kube.sh 2019-01-16 14:29:17 -08:00
Yu-Ju Hong
62db510fe0 Allow setting KUBERNETES_NODE_ARCH to download node binaries 2018-12-19 10:25:34 -08:00
Yu-Ju Hong
f87fcf6ce8 GCE: enable downloading and staging of the node binaries
Currently, only kubernetes-server-linux-<arch>.tar.gz will be downloaded
and staged for tests. It is not possible to test a cluster where the
platform/arch of the nodes differs from that of the master
control-plane. This changes allows downloading and staging node
binaries, in addition to the existing server binaries.
2018-12-10 16:58:44 -08:00
Robert Bailey
7064f4856a Remove salt support for providers that no longer exist. 2018-01-12 15:51:23 -08:00
Robert Bailey
e29a450038 Remove comments in get-kube.sh that imply support for environments
that were removed long ago.
2018-01-03 22:07:32 -08:00
NickrenREN
39c48d3605 remove rackspace related code 2017-09-22 18:06:50 +08:00
Jacob Beacham
e77830c71d New get-kube.sh option: KUBERNETES_SKIP_RELEASE_VALIDATION 2017-08-09 11:42:24 -07:00
Kubernetes Submit Queue
03c9c48c81 Merge pull request #44062 from ixdy/semver-regexes
Automatic merge from submit-queue

Support arbitrary alphanumeric strings as prerelease identifiers

**What this PR does / why we need it**: this is basically an extension of #43642, but supports more general prerelease identifiers, per the spec at http://semver.org/#spec-item-9.

These regular expressions are still a bit more restrictive than the SemVer spec allows (we disallow hyphens, and we require the format `-foo.N` instead of arbitrary `-foo.X.bar.Y.bazZ`), but this should support our needs without changing too much more logic or breaking other assumptions.

**Release note**:

```release-note
NONE
```
2017-05-01 12:54:44 -07:00
Ryan Hitchman
65cd30dbbe Retry in get-kube.sh to avoid download flakes. 2017-04-19 15:30:28 -07:00
Jeff Grafton
b0ae0d074e Make get-kube.sh work properly the "ci/latest" pointer 2017-04-05 15:02:10 -07:00
Jeff Grafton
37b07dfe62 Support arbitrary alphanumeric strings as prerelease identifiers 2017-04-04 16:30:54 -07:00
Jeff Grafton
e39978e6bf Update a few regex patterns to support release candidates 2017-03-24 14:38:04 -07:00
Erick Fejta
cb9452f84c Export KUBE_VERSION for consumption by get-kube-binaries.sh 2017-03-17 21:16:31 -07:00
Ritesh H Shukla
35a750ac21 Remove kube-up for vsphere 2016-12-22 20:15:37 +00:00
Lukasz Zajaczkowski
0ea13c6495 Translate a published version like 'release/stable' to version number 2016-12-08 09:11:56 +01:00
Jeff Grafton
7436b315c4 Use curl -f in cluster/get-kube.sh 2016-11-04 11:48:15 -07:00
Jeff Grafton
db3fd62f1d Make get-kube.sh smarter when choosing if it should download 2016-10-26 11:17:56 -07:00
Jeff Grafton
2e503c1a54 Add option to get-kube-binaries.sh to download and extract tests
Also fix an unset variable
2016-10-18 16:13:38 -07:00
Jeff Grafton
74991aa81d Create a get-kube-binaries script to download client/server tarballs
Also fix some errors in get-kube.sh, and remove client architectures we
don't officially support.
2016-10-07 16:01:27 -07:00
k8s-merge-robot
5e7c309b29 Merge pull request #25473 from andreykurilin/get_kube
Automatic merge from submit-queue

Check existence of kubernetes dir for get-kube.sh

[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()

There are a lot of references to https://get.k8s.io/ over the internet.
Most of such references do not describe KUBERNETES_SKIP_DOWNLOAD env variable
and newbies can get into a situation described below:

- execute `wget -q -O - https://get.k8s.io | bash`
- receive a failure due too missed packages or some configs
- fix the issue
- try again `wget -q -O - https://get.k8s.io | bash`

In this case, get-kube.sh will not check that kubernetes directory already
exist and repeat download again.
Lets make get-kube.sh more user-friendly and check existence of kubernetes dir
2016-07-05 11:27:47 -07:00
David McMahon
ef0c9f0c5b Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
Weixu Zhuang
e35c1ccba2 Implement Azure cloud provider scripts
Implement basic cloud provider functionality to deploy Kubernetes on
Azure.  SaltStack is used to deploy Kubernetes on top of Ubuntu
virtual machines.  OpenVpn provides network connectivity.  For
kubelet authentication, we use basic authentication (username and
password).  The scripts use the legacy Azure Service Management APIs.

We have set up a nightly test job in our Jenkins server for federated
testing to run the e2e test suite on Azure.  With the cloud provider
scripts in this commit, 14 e2e test cases pass in this environment.
We plan to implement additional Azure functionality to support more
test cases.
2016-06-17 23:46:03 -07:00
Weixu Zhuang
4523429b20 Azure/ubuntu/saltstack support re-instated
This first reverts commit 8e8437dad8.
Also resolves conflicts with docs on f334fc41
And resolves conflicts with https://github.com/kubernetes/kubernetes/pull/22231/commits
to make people switching between two different methods of setting up by
setting env variables.

Conflicts:
	cluster/get-kube.sh
	cluster/saltbase/salt/README.md
	cluster/saltbase/salt/kube-proxy/default
	cluster/saltbase/salt/top.sls
2016-06-17 23:41:41 -07:00
k8s-merge-robot
11cd07ef22 Merge pull request #25366 from Jollyturns/ubuntu-download-latest
Automatic merge from submit-queue

Automatically download the latest stable release version of Kubernetes.

The ubuntu version of download-release.sh included in the binary release downloads the released .tar.gz file again. Right now the version of the downloaded file is manually encoded within the script. This change fetches the released version automatically, similar to the shell script available on the main Kubernetes site below:

https://get.k8s.io/

Ideally the installation on bare metal ubuntu should work with the files available in the already downloaded package.

@mikedanese
2016-05-16 16:59:37 -07:00
Ovidiu Predescu
dd203087ef Automatically download the latest stable release version of
Kubernetes. Echo error to stderr. Simplify expression for
KUBE_VERSION. Explicitly match beginning of string.
2016-05-16 13:52:10 -07:00
Andrey Kurilin
9899af6ca2 Check existence of kubernetes dir for get-kube.sh
There are a lot of references to https://get.k8s.io/ over the internet.
Most of such references do not describe KUBERNETES_SKIP_DOWNLOAD env variable
and newbies can get into a situation described below:

- execute `wget -q -O - https://get.k8s.io | bash`
- receive a failure due too missed packages or some configs
- fix the issue
- try again `wget -q -O - https://get.k8s.io | bash`

In this case, get-kube.sh will not check that kubernetes directory already
exist and repeat download again.
Lets make get-kube.sh more user-friednly and check existence if kubernetes dir
2016-05-11 16:19:18 +03:00
Lukasz Zajaczkowski
892c2abaf5 Name adjustment to OpenStack-Heat in cluster/get-kube.sh 2016-05-10 07:25:29 +02:00
Elson O Rodriguez
c5ca66b2e1 Changing openstack to openstack-heat in get-kube.sh 2016-04-28 14:06:30 +02:00
Elson O Rodriguez
8315734bab Adding openstack example to get-kube.sh 2016-04-28 14:06:29 +02:00
Alain Roy
fa9d79df75 Initial kube-up support for VMware's Photon Controller
This is for: https://github.com/kubernetes/kubernetes/issues/24121

Photon Controller is an open-source cloud management platform. More
information is available at:
http://vmware.github.io/photon-controller/

This commit provides initial support for Photon Controller. The
following features are tested and working:
- kube-up and kube-down
- Basic pod and service management
- Networking within the Kubernetes cluster
- UI and DNS addons

It has been tested with a Kubernetes cluster of up to 10
nodes. Further work on scaling is planned for the near future.

Internally we have implemented continuous integration testing and will
run it multiple times per day against the Kubernetes master branch
once this is integrated so we can quickly react to problems.

A few things have not yet been implemented, but are planned:
- Support for kube-push
- Support for test-build-release, test-setup, test-teardown

Assuming this is accepted for inclusion, we will write documentation
for the kubernetes.io site.

We have included a script to help users configure Photon Controller
for use with Kubernetes. While not required, it will help some
users get started more quickly. It will be documented.

We are aware of the kube-deploy efforts and will track them and
support them as appropriate.
2016-04-25 13:24:16 -07:00
Ross Kukulinski
0cf0bb00cd Add KUBERNETES_RELEASE option to get-kube.sh 2016-03-31 12:41:55 -04:00
Nagarjun
fc9cac1594 Update get-kube.sh to not re-download the kubernetes archive 2016-01-11 12:03:54 +05:30
Peeyush Gupta
4774e7146e Add support for ppc64le architecture. 2015-12-09 12:12:13 +05:30
k8s-merge-robot
794f162ef0 Merge pull request #16662 from linux-on-ibm-z/master
Auto commit by PR queue bot
2015-11-30 17:54:41 -08:00
gajju26
94093d9cbc Added support for IBM z Systems architecture (s390x) 2015-11-26 11:25:04 +05:30
Ihor Dvoretskyi
1f54866e8a Update get-kube.sh with libvirt provider
Update get-kube.sh with libvirt provider (with CoreOS as a guest operating system) - https://github.com/kubernetes/kubernetes/blob/master/docs/getting-started-guides/libvirt-coreos.md
2015-11-16 18:14:11 +02:00
Mike Danese
8e8437dad8 declare azure/ubuntu/saltstack bankruptcy 2015-10-16 18:21:21 -07:00
gmarek
584496d2c4 Small fixes to get-kube.sh 2015-05-26 14:29:07 +02:00
Eric Paris
6b3a6e6b98 Make copyright ownership statement generic
Instead of saying "Google Inc." (which is not always correct) say "The
Kubernetes Authors", which is generic.
2015-05-01 17:49:56 -04:00