Commit Graph

60 Commits (e1af0c5fb150ecabc82acf08fe3af85d89af4344)

Author SHA1 Message Date
Matthias Bertschy 9b15af19b2 Update all script to use /usr/bin/env bash in shebang 2018-04-19 13:20:13 +02:00
Tim Hockin a2f47f5b34 Don't require release tars on kube-down 2018-04-05 17:39:18 -04:00
Mike Danese 4a222b256c cluster: delete image staging 2018-02-01 07:23:50 -08:00
zoues 68eaf53671
remove provides which has been deleted 2018-01-11 21:52:47 +08:00
Shashwat shagun 06c84b9183
Update kube-up.sh 2017-12-06 23:23:19 +05:30
Mike Danese 89bf771e51 add some more deprecation warnings to cluster 2017-07-19 09:43:05 -07:00
Bowei Du 345c65847f Add KUBE_GCE_ENABLE_IP_ALIASES flag to the cluster turn up scripts.
KUBE_GCE_ENABLE_IP_ALIASES=true will enable allocation of PodCIDR ips
using the ip alias mechanism rather than using routes.

NODE_IP_RANGE will control the node instance IP cidr
KUBE_GCE_IP_ALIAS_SIZE controls the size of each podCIDR
IP_ALIAS_SUBNETWORK controls the name of the subnet created for the cluster
2017-04-11 14:07:50 -07:00
Jeff Grafton cbee65a6d2 Automatically download missing kube binaries in kube-up/kube-down. 2016-12-13 14:59:13 -08:00
David McMahon ef0c9f0c5b Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
Elson O Rodriguez 4773808767 Improved user experience for users of OpenStack provider behind a proxy. 2016-04-28 14:06:29 +02:00
gmarek db77843bf0 Remove EXIT_ON_WEAK_ERROR variable 2016-03-21 12:22:03 +01:00
Joe Finney 401985bf6c Move KUBERNETES_PROVIDER setting into cluster/kube-util.sh. 2016-03-08 16:51:20 -08:00
gmarek d959ccd87c Override errexit in kube-up for validate-cluster 2016-02-26 09:10:20 +01:00
k8s-merge-robot 3868bb433d Merge pull request #21253 from gmarek/enable
Auto commit by PR queue bot
2016-02-22 01:24:57 -08:00
gmarek 024322a651 Fix getting last command result in kube-up 2016-02-17 11:12:06 +01:00
gmarek 92f60159ec Default EXIT_ON_WEAK_ERROR 2016-02-15 11:09:58 +01:00
gmarek 2288b31b99 Fix kube-up 2016-02-15 08:34:00 +01:00
golvteppe 62292341ff Added ZONE variable to the info string which informs what provider is being used
Fixed unbound ZONE variable issue for kube-up.sh

Added curlys
2016-02-12 20:53:10 +01:00
gmarek efacc0435e Add a flag to allow non-fatal errors in validate-cluster 2016-02-01 14:26:31 +01:00
Mike Danese 4ace8280a0 add an option to push/pull component images from a registry using kube-up 2015-12-08 14:19:30 -08:00
Abhi Shah 04600aa5dd Merge pull request #11439 from jfchevrette/source-local-cluster-env
Allow a local /cluster/env.sh to be sourced if present
2015-09-03 16:35:42 -07:00
Dr. Stefan Schimanski 8a48a74103 Factor out validate-cluster.sh call from kube-up.sh
Not every cluster can be validated the same way. Factoring out the
validate-cluster call into a kube-util.sh function allows customization.

This allows to proceed with GoogleCloudPlatform/kubernetes#10049 before
the mid/long-term unified cluster validation in GoogleCloudPlatform/kubernetes#11908
is implemented. Otherwise, the later blocks the former.
2015-08-04 16:05:18 +02:00
Mike Danese bfd22a6974 Merge pull request #10686 from mesosphere/kube-util
Move sourcing of provider-specific util.sh into kube-util.sh
2015-07-24 10:31:48 -07:00
Jean-Francois Chevrette 91a05c0709 source cluster env.sh on kube-up/down/push 2015-07-17 08:31:16 -04:00
Max Forbes fcb4e5e204 Log Project (GKE) less and cleanup bash indentation 2015-07-15 15:49:28 -07:00
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
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
Sam Ghods ca18e86877 Make naming of kubectl subcommands consistent 2015-04-02 16:14:53 -07:00
Zach Loafman 407d1fec45 Both @satnam6502 and E2E tests confirm: This code is no longer needed
Deletion is wonderful. The only weird thing was where to put the
message about the proxy URLs. Satnam suggested kubectl clusterinfo,
which seemed like a good option to put at the end of cluster turn-up.
2015-03-19 22:23:11 -07:00
Vishnu Kannan 663bdb91c9 Remove monitoring firewall setup methods. Heapster anf Grafana are now accessible via the API server proxy. 2015-03-11 23:20:45 +00:00
Zach Loafman 0b456e40bf Fix jenkins/hack/e2e.sh, log errors better 2015-02-05 09:16:11 -08:00
Zach Loafman a305269e18 Deferred creation of SkyDNS, monitoring and logging objects
This implements phase 1 of the proposal in #3579, moving the creation
of the pods, RCs, and services to the master after the apiserver is
available.

This is such a wide commit because our existing initial config story
is special:

* Add kube-addons service and associated salt configuration:
** We configure /etc/kubernetes/addons to be a directory of objects
that are appropriately configured for the current cluster.
** "/etc/init.d/kube-addons start" slurps up everything in that dir.
(Most of the difficult is the business logic in salt around getting
that directory built at all.)
** We cheat and overlay cluster/addons into saltbase/salt/kube-addons
as config files for the kube-addons meta-service.
* Change .yaml.in files to salt templates
* Rename {setup,teardown}-{monitoring,logging} to
{setup,teardown}-{monitoring,logging}-firewall to properly reflect
their real purpose now (the purpose of these functions is now ONLY to
bring up the firewall rules, and possibly to relay the IP to the user).
* Rework GCE {setup,teardown}-{monitoring,logging}-firewall: Both
functions were improperly configuring global rules, yet used
lifecycles tied to the cluster. Use $NODE_INSTANCE_PREFIX with the
rule. The logging rule needed a $NETWORK specifier. The monitoring
rule tried gcloud describe first, but given the instancing, this feels
like a waste of time now.
* Plumb ENABLE_CLUSTER_MONITORING, ENABLE_CLUSTER_LOGGING,
ELASTICSEARCH_LOGGING_REPLICAS and DNS_REPLICAS down to the master,
since these are needed there now.

(Desperately want just a yaml or json file we can share between
providers that has all this crap. Maybe #3525 is an answer?)

Huge caveats: I've gone pretty firm testing on GCE, including
twiddling the env variables and making sure the objects I expect to
come up, come up. I've tested that it doesn't break GKE bringup
somehow. But I haven't had a chance to test the other providers.
2015-01-21 12:25:50 -08:00
Satnam Singh 295bd3768d Launch Elasticsearch and Kibana automatically 2015-01-09 13:41:46 -08:00
Joe Beda 6df6aab077 Move DNS from contrib to cluster/addons
This fixes #3190.
2015-01-05 12:32:35 -08:00
Tim Hockin 59164ca844 Make DNS an option for cluster turnup 2014-12-29 09:18:12 -08:00
Max Forbes c3efef86d0 Add GKE as a provider. 2014-12-19 11:47:06 -08:00
Vishnu Kannan edf6d8ee3f Use Heapster as an in-built monitoring solution for Kubernetes in GCE.
Users will have an option to enable it when they setup their cluster (kube-up).
2014-11-07 00:47:56 +00:00
Joe Beda 96c1bc17ca Set shell options for reliability.
Tweak a few other small things in our shell scripts.
2014-10-10 12:33:36 -07:00
Joe Beda d43a6ec5a3 Standardize how we refer to the kubernetes root.
Now use $KUBE_ROOT as the variable pretty much everywhere.
2014-10-10 12:33:36 -07:00
Brendan Burns 21ceb380c8 Add some initial validation logic. 2014-07-29 07:51:40 -07:00
derekwaynecarr 69ae2fe4bb Initial vagrant setup and e2e testing support 2014-07-24 16:32:36 -04:00
Dawn Chen eb6d0238d4 query minion's /healthz for sanity checking. Removing gcutil ssh to
VM, and check kubelet's status.
2014-07-23 17:08:24 -07:00
Brendan Burns bf0cbac7ec Add a sleep to work around apparent races with salt. 2014-07-18 12:53:43 -07:00
Brendan Burns a9723d059a Turn off error checking prior to sanity checking. 2014-07-18 09:47:13 -07:00
YOSHIKAWA Ryota 665a4254c2 Fix: cluster/kube-up.sh curl timeout a little bit short. 2014-07-15 16:58:21 +09:00
Brendan Burns ba5cadef59 Add some sanity checks to the kube-up script. 2014-07-11 16:12:09 -07:00
Yuki Yugui Sonoda cf9ee4d9dd Allows adding custom api scopes to service accounts available in
minions.
2014-07-09 15:02:57 +09:00
Brendan Burns 4eccd64e0f Remove the dependency on apache htpasswd. 2014-06-27 14:54:49 -07:00
Brendan Burns 2759b2367f Add load balancing support to services. 2014-06-17 12:37:39 -07:00
Joe Beda 110a390c97 Switch from `gcloud compute` to `gcutil`.
We'll switch back to the future once the interface has settled down.
2014-06-12 15:43:00 -07:00