Commit Graph

51 Commits (e5eb6a21b13217d35878003b18bc5c25c8adbda8)

Author SHA1 Message Date
Kubernetes Prow Robot 1cf8001e53
Merge pull request #74449 from xichengliudui/fix190223
make more of the shell pass lints
2019-02-23 12:52:34 -08:00
Xiang Dai 36065c6dd7 delete all duplicate empty blanks
Signed-off-by: Xiang Dai <764524258@qq.com>
2019-02-23 10:28:04 +08:00
xichengliudui b83b83f8e3 aaa 2019-02-18 17:50:55 -05:00
Matthias Bertschy 9b15af19b2 Update all script to use /usr/bin/env bash in shebang 2018-04-19 13:20:13 +02:00
Fabiano Franz 335217dddd Fix failing kubectl skew tests 2017-03-08 16:08:47 -03:00
Madhusudan.C.S baab2e37a9 Refactor the common parts of cluster/kube{ctl,adm}.sh into a util script. 2017-01-26 21:29:49 -08:00
Jeff Grafton b9e060a630 Update scripts to look for binary artifacts in bazel-bin/ 2017-01-13 16:17:48 -08:00
Jeff Grafton 27d096d27d Rename build-tools/ back to build/ 2016-12-14 13:42:15 -08:00
Mike Danese 27116c6818 rename build/ to build-tools/ 2016-10-24 14:41:56 -07:00
Tim Hockin 9613e15801 Make releases work 2016-07-12 21:52:54 -07:00
Tim Hockin 881e21c2d5 Link _output/bin/ to real binaries for this arch
This makes followup commits easier wrt finding binaries during build.
2016-07-12 21:52:00 -07:00
David McMahon ef0c9f0c5b Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
Paolo Di Tommaso b4704c9a32 Update kubectl.sh 2016-04-19 13:47:05 +02:00
Paolo Di Tommaso 19f3500c9a Allow KUBE_ROOT to be defined externally 2016-04-15 18:34:09 +02:00
Charles Butler ba113ea30b Rework `cluster/juju` to reflect current work
This commit imports the latest development focus from the Charmer team
working to deliver Kubernetes charms with Juju.

Notable Changes:

- The charm is now assembled from layers in $JUJU_ROOT/layers
- Prior, the juju provider would compile and fat-pack the charms, this
  new approach delivers the entirety of Kubernetes via hyperkube.
- Adds Kubedns as part of `cluster/kube-up.sh` and verification
- Removes the hard-coded port 8080 for the Kubernetes Master
- Includes TLS validation
- Validates kubernetes config from leader charm
- Targets Juju 2.0 commands
2016-03-16 14:25:26 -04:00
Joe Finney 401985bf6c Move KUBERNETES_PROVIDER setting into cluster/kube-util.sh. 2016-03-08 16:51:20 -08:00
Peeyush Gupta 4774e7146e Add support for ppc64le architecture. 2015-12-09 12:12:13 +05:30
gajju26 94093d9cbc Added support for IBM z Systems architecture (s390x) 2015-11-26 11:25:04 +05:30
Karl Isenberg 0229cb01fc Move sourcing of provider-specific util.sh into kube-util.sh
- kube-util.sh defines default implementations
- provider util.sh overrides the default implementations as desired
- default kube-util functions now print to stderr to avoid affecting
  captured output
2015-07-02 12:50:18 -07:00
Brendan Burns 1d7e85b477 Pull out a deprecation message. 2015-06-09 18:19:56 -07:00
Brendan Burns 9e198a6ed9 Purge cluster/kubectl.sh from nearly all docs.
Mark cluster/kubectl.sh as deprecated.
2015-06-09 13:35:52 -07:00
CJ Cullen 1ae8801387 Fix transport creation logic.
Refactor loadTunnels to allow one path for load, another for refresh.
Make SSHTunnelList.Close sleep for a minute before actually closing each tunnel.
2015-06-05 14:55:16 -07:00
orangain dec143600a kubectl's dir should be 386 not x86 in x86 enviroment
Before applying this patch, `cluster/kubectl.sh` failed to find
`kubectl` binary in x86 environment.

e.g. The latest release v0.17.1 contains following binaries:
https://github.com/GoogleCloudPlatform/kubernetes/releases/tag/v0.17.1

```
$ tree platforms/
platforms/
├── darwin
│   ├── 386
│   │   └── kubectl
│   └── amd64
│       └── kubectl
├── linux
│   ├── 386
│   │   └── kubectl
│   ├── amd64
│   │   └── kubectl
│   └── arm
│       └── kubectl
└── windows
    └── amd64
            └── kubectl.exe
```
2015-05-25 22:06:14 +09:00
Whit Morriss 52112ad985 make ./kubectl.sh work with juju provider 2015-05-19 10:01:55 -05:00
Jeff Lowdermilk 3f3760a14a Cleanup some todos for gke + rip out dead AuthConfig code 2015-05-13 13:54:02 -07:00
Nikhil Jindal 72ac82eba9 Merge pull request #8005 from lavalamp/kubectlFix
Don't print debugging things on every run of kubectl.sh
2015-05-11 10:19:37 -07:00
Jeff Lowdermilk 6523d18130 Future proof GKE kubeconfig handling in e2e driver 2015-05-11 09:57:54 -07:00
Jeff Lowdermilk 78386e48ad fix #7921 2015-05-09 07:48:29 -07:00
Daniel Smith ccecb115ed Don't print debugging things on every run of kubectl.sh 2015-05-08 15:55:28 -07:00
Robert Bailey 9db0c68e3e For GKE, only use the special kubeconfig location if the file exists.
This will allow Jenkins to keep running after the next gcloud release
without needing to make immediate modifications to this file. We can
then remove the extra logic at our own convenience.
2015-05-08 14:53:49 -07:00
wizard 595345c6a6 Merge the old single-node and multi-node ubuntu deployment into one better approach and update the guidance 2015-05-07 21:01:29 +08: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
Jeff Lowdermilk 70a576e25a Use standalone kubectl for gke, remove special case for vagrant
also fix hack/local-up-cluster.sh kubeconfig instructions
2015-04-21 11:01:45 -07:00
Lénaïc Huard 08f17bfa70 Make libvirt-coreos cluster use create-kubeconfig 2015-04-20 11:07:35 -07:00
Dawn Chen 913dc4e490 Revert "Use a helper to find built binaries" 2015-04-14 11:24:49 -07:00
Eric Paris 6d4ab258f0 Use a helper to find built binaries
We should not be determining the arch/os and all the possible
directories binaries can live. Let a hack/lib/ helper do it for us.
2015-04-13 18:57:36 -04:00
Jeff Lowdermilk cfc04f41b8 Updates for gcloud changes (alpha, kubeconfig) 2015-04-01 09:27:06 -07:00
Lénaïc Huard ce7a993269 libvirt-coreos cluster provider
libvirt-coreos is a cluster provider for kubernetes that starts local VMs and
runs kubernetes on it.
Its goal is to provide a multi-machines environment to develop and test kubernetes.

The purpose is mostly the same as the vagrant provider but with a big focus on
efficiency. The vagrant cluster takes a long time to boot and consumes a huge
amount of disk space. libvirt-coreos aims at being cheaper. As a consequence,
libvirt-coreos allows to start bigger clusters with more minions than vagrant.
2015-02-19 12:44:35 +01:00
Prashanth Balasubramanian 6fb36dc0bc Teach kubectl to avoid local/util, since its gone. 2015-02-18 12:43:20 -08:00
derekwaynecarr a0cb252d40 Fix vagrant cluster/kube-up 2015-02-16 18:34:50 -05:00
Jeff Lowdermilk d528439ee5 Unbreak cluster/validate-cluster.sh 2015-02-13 10:48:32 -08:00
Jeff Lowdermilk 61cc821506 Make local clusters work painlessly with kubeconfig 2015-02-12 16:30:41 -08:00
Eric Tune 9e015fd216 Handle unset dollar-at.
When no args are passed to a script, "$@" is unset,
which causes a shell error in "nounset" mode.

This change passes an empty string to kubectl in that case
so it can print help.
2015-02-12 11:56:58 -08:00
Wojciech Tyczynski 9d9bca9958 kubectl doesn't fail silently with no k8s master 2015-02-05 19:37:20 +01:00
Andrew Seidl 6dee1d7fa4 Fix typos in user-facing strings 2015-01-18 01:32:34 -06:00
Zach Loafman e71798df3f Adjust the PATH to the right kubectl for gcloud, add KUBECTL_PATH override
Force kubectl to the git repo version if we detect a built version.
Add a KUBECTL_PATH override so that system/home directory versions of
kubectl can be used if desired. Remove existing $HOME inference.
2014-12-22 10:14:32 -08:00
Max Forbes c3efef86d0 Add GKE as a provider. 2014-12-19 11:47:06 -08:00
Joe Beda 5a0159ea00 Get Vagrant to start using TLS client certs.
Also fix up cert generation. It was failing during the first salt highstate when trying to chown the certs as the apiserver user didn't exist yet.  Fix this by creating a 'kube-cert' group and chgrping the files to that.  Then make the apiserver a member of that group.

Fixes #2365
Fixes #2368
2014-11-13 22:16:45 -08:00
Joe Beda 5d33ce46cc Rework hack/ and build/ directories.
* Rewrite a bunch of the hack/ directory with modular reusable bash libraries.
* Have 'build/*' build on 'hack/*'.  The stuff in build now just runs hack/* in a docker container.
* Use a docker data container to enable faster incremental builds.
* Standardize output to _output/{local,dockerized}/bin/OS/ARCH/*.  This regularized placement makes cross compilation work.
* Move travis specific scripts under hack/travis

With new dockerized incremental builds, I can do a no-op `make quick-release` in ~30s.  This is a significant improvement.
2014-11-01 17:56:41 -07:00
derekwaynecarr c929ec5a44 Fix kubectl flags for vagrant 2014-10-21 15:29:35 -04:00