Commit Graph

326 Commits (k3s-v1.15.3)

Author SHA1 Message Date
Euan Kemp fd26cb9e1e cluster: make gen-uid python3 compatible 2016-05-11 17:52:53 -07:00
k8s-merge-robot 2b46c4b7e2 Merge pull request #24391 from bprashanth/ing_templated_controller
Automatic merge from submit-queue

Template the ingress controller 

We still need https://github.com/kubernetes/contrib/pull/791 to run the controller as a static pod
ref https://github.com/kubernetes/kubernetes/issues/23663
2016-05-06 20:04:51 -07:00
Andy Zheng 93929c3853 Add support for running clusters on GCI 2016-04-27 15:24:21 -07:00
Prashanth Balasubramanian b066cb5357 Templatize l7 rc 2016-04-20 16:15:22 -07:00
Prashanth Balasubramanian 2ec06f8d4a Generate a kube_uuid salt pillar. 2016-04-20 09:29:27 -07:00
k8s-merge-robot f56207bd5f Merge pull request #22674 from mml/kube-up-up-and-away
Auto commit by PR queue bot
2016-03-12 00:39:33 -08:00
k8s-merge-robot 31903c8bb1 Merge pull request #22594 from justinsb/aws_ulite
Auto commit by PR queue bot
2016-03-10 10:15:28 -08:00
Matt Liggett 8ff06732c1 Set a default value for "$@" in yaml-quote.
This appears to be a bash variation that causes spurious warnings on OS
X.
2016-03-07 14:40:03 -08:00
k8s-merge-robot bc96422e23 Merge pull request #22571 from zmerlynn/regional-registry
Auto commit by PR queue bot
2016-03-06 13:21:19 -08:00
Justin Santa Barbara 523e1d0d8c Ubernetes-Lite: reuse existing configuration when reusing master
In particular, we need to share the kubelet cert & key, otherwise we
can't connect to the kube-api.

Fix #22593
2016-03-05 17:00:02 -05:00
Zach Loafman 60e1fccc7f Regional registries: Hack the manifests!
Allow the gcr.io/google_containers registry to be overridden
regionally by just blasting a new KUBE_ADDON_REGISTRY out. Instead of
adding every addon to Salt and asking all of the other consumers
(Trusty, Juju, Mesos, etc) to change, just script the sed ourselves.

This is probably the 9th grossest thing I've ever done, but it works
well, and it works quickly. I kind of wish it didn't.
2016-03-04 20:00:54 -08:00
Dawn Chen fd10ca2f45 Enable --log-level=info for docker daemons for jenkins jobs and e2e tests except soak-continuous. 2016-03-04 13:31:42 -08:00
Robert Bailey 30b78e4d7f Add the GCE cluster name to instance metadata. 2016-03-03 13:57:31 -08:00
Jeff Lowdermilk c406665b2b Plumb node labels through salt
Expose node-labels flag on kubelet for gce via a startup script
env var.
2016-02-22 15:31:34 -08:00
Madhusudan.C.S ab1e9c200f Graduate DaemonSet to v1beta1 API, enable it by default. 2016-02-17 15:03:12 -08:00
Janet Kuo 2874f30c05 Enable Deployments by default 2016-02-12 12:29:14 -08:00
Marcin b7d72ef36d Startup scripts for custom metrics 2016-02-10 12:32:04 +01:00
Prashanth Balasubramanian c3a3a2bacd Pipe hairpin-mode flag through kubelet, enable on soak. 2016-02-09 12:12:19 -08:00
Justin Santa Barbara 270fae4d66 kube-up: Support multiple additional IPs for SSL cert
And pass the public IP when setting up AWS
2016-02-06 22:52:01 -05:00
Justin Santa Barbara fd5c44c72e kube-up: Finish refactor of AWS to reuse GCE script
We override key functions in the GCE script with AWS equivalents.
2016-02-06 22:52:01 -05:00
Justin Santa Barbara ba415c1f39 kube-up: Add brackets to variable name 2016-02-04 12:43:09 -05:00
Justin Santa Barbara 732e76fb4e kube-up: Refactor SSL cert helpers into common
Next step in the the GCE/AWS harmonization
2016-02-04 09:10:41 -05:00
Justin Santa Barbara c556e8f0f5 kube-up: Refactor kube-env into common; use in AWS
Use kube-env on the AWS master also
2016-01-28 10:31:51 -08:00
Justin Santa Barbara 4d88a4ed2c kube-up: move sha1sum-file into common
Also hash the tar files in AWS kube-up
2016-01-28 10:19:38 -08:00
Justin Santa Barbara ae75a7d259 kube-up: move build-runtime-config from AWS & GCE into common 2016-01-28 10:19:38 -08:00
Justin Santa Barbara 0df6f5d8c5 kube-up: move yaml-quote from GCE & AWS to common 2016-01-28 10:19:38 -08:00
k8s-merge-robot a95f1b84cb Merge pull request #17243 from yifan-gu/gce_coreos
Auto commit by PR queue bot
2016-01-27 13:02:20 -08:00
Yifan Gu fe70bf8485 cluster/gce/coreos: Upload templates during kube-up.
Also added create-master-instance() and create-node-instance-template()
2016-01-21 16:32:15 -08:00
k8s-merge-robot bd8d37f6f2 Merge pull request #19522 from apcera/dev_python3
Auto commit by PR queue bot
2016-01-17 03:21:07 -08:00
Josh Ellithorpe 76e8a8b08d Fix issues with Python3 and bring up a dev cluster 2016-01-12 11:08:42 -08:00
Mike Danese 22cfa5ea7e build: move some of hack/lib/ into a new cluster/lib/
Some functionality in hack/lib is currently depended on by
cluster/common.sh so kube-up from the full release tar (which
does not include hack/) is currently broken. With this PR we
create cluster/lib/ and move the necessary bits from hack/
over to get kube-up working again.

Fixes: 96d1b8d1b2
Signed-off-by: Mike Danese <mikedanese@google.com>
2016-01-11 17:10:26 -08:00
Mike Danese c00dfe82f8 Revert "Push server docker images during the release" 2015-12-22 19:59:56 -08:00
Filip Grzadkowski f6fce5cd43 Push docker images during the release. 2015-12-18 16:08:44 +01:00
Wojciech Tyczynski d1cb1de5af Fix unbound variable issue 2015-12-17 13:54:56 +01:00
Thomas Ploch 2aa8ca2c1a [CLUSTER] `OS_DISTRIBUTION` is not set
Fixes https://github.com/kubernetes/kubernetes/issues/18746
2015-12-17 06:47:19 +01:00
k8s-merge-robot 582c84b562 Merge pull request #18485 from andyzheng0831/trusty-release
Auto commit by PR queue bot
2015-12-15 21:18:58 -08:00
Andy Zheng 75e23a3845 Add release support for trusty kube-system manifests.
This is a follow-up work for PR 18115. It adds release support for
kube-system manifests.
2015-12-10 10:47:01 -08:00
Mike Danese 96d1b8d1b2 import util.sh and logging.sh since two functions are unbound 2015-12-09 14:55:58 -08: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
Mike Danese ae05eed14a add a way to discover git version from a built release 2015-11-18 11:11:50 -08:00
Isaac Hollander McCreery e5449f7d42 Cleanup for versioning 2015-11-06 11:35:16 -08:00
Jeff Lowdermilk d55666043b Fix last current-context command in cluster/common.sh 2015-11-02 14:05:55 -08:00
Mike Danese 8ecfd967d5 use current-context from .kube/config when getting cluster credentials 2015-11-02 13:11:29 -08:00
Jeff Lowdermilk de4f29f1f5 Load or generate auth from kubeconfig on kube-up
Allows loading existing auth from kubeconfig on kube-up if a
valid KUBE_CONTEXT is specified, instead of always force
regenerating auth (basic or token) when creating a new cluster.
2015-10-30 10:19:40 -07:00
Isaac Hollander McCreery ef3d56433b Fix KUBE_TAR_URL issue and fix root cause; fixes #15738 2015-10-16 13:09:52 -07:00
Isaac Hollander McCreery a379e52c57 Factor find-release-tars into cluster/common 2015-10-16 13:09:52 -07:00
Isaac Hollander McCreery 60c316b54a Upgrades and upgrade tests take versions of the form release/stable instead of stable_release:
- Refactor common and gce/upgrade.sh to use arbitrary published releases
- Update hack/get-build to use cluster/common code
- Use hack/get-build.sh in cluster upgrade test logic
2015-10-14 10:16:21 -07:00
He Simei c4bc4e26be kube-down gracefully when api-server is no longer accessible 2015-09-19 18:36:03 +08:00
He Simei 442a22d114 tear down resources before tear down the cluster 2015-09-07 11:03:45 +08:00
Jeff Lowdermilk 438216844f Stop reusing basic auth on cluster create 2015-08-22 11:45:46 -07:00
Eric Tune 29da889bbf Add generic master detector; simplify conformance.
Add detect-master-from-kubeconfig bash function.
Use it to no longer require conformance test user
to specify KUBE_MASTER_IP.
2015-08-19 13:20:22 -07:00
Veres Lajos 9f77e49109 typofix - https://github.com/vlajos/misspell_fixer 2015-08-08 22:31:48 +01:00
Mike Danese c3fd33a18d fix test with array expansion 2015-07-23 21:04:47 -07:00
Mike Danese 0e10fac31e Revert "Revert "Fix libvirt-coreos cluster""
This reverts commit 889d724c19.
2015-07-23 21:03:23 -07:00
Mike Danese 889d724c19 Revert "Fix libvirt-coreos cluster" 2015-07-23 20:03:42 -07:00
Lénaïc Huard 3b4a31dc81 Fix libvirt-coreos cluster
KUBERNETES=libvirt-coreos cluster/kube-up.sh produced the following error:

cluster/../cluster/libvirt-coreos/../../cluster/common.sh: line 83: user_args[@]: unbound variable

This was coming from the fact that, as a libvirt-coreos cluster runs locally on local VMs,
there is no authentication mechanism. This led to have user_args of common.sh unset.

In the case of libvirt-coreos, it is in fact expected to have no authentication token.
2015-07-16 18:09:53 +02:00
Max Forbes 2803fbe343 Node upgrade tests. 2015-06-18 15:59:51 -07:00
Zach Loafman d8da39ecd0 Validate binaries downloaded from GCS:
* Set SHA1 for Kubernetes server binary and Salt tar in kube-env.
* Check SHA1 in configure-vm.sh. If the env variable isn't available,
download the SHA1 from GCS and double check that.
* Fixes a bug in the devel path where we were actually uploading the
wrong sha1 to the bucket.

Fixes #10021
2015-06-18 13:37:05 -07:00
Jeff Lowdermilk 47901b7edd Remove the last provider-specific handling in kubectl.sh, ginkgo-e2e.sh 2015-06-16 10:58:04 -07:00
Mike Danese 8b337b0b3e fix unbound variable bug 2015-06-11 14:09:07 -07:00
Piotr Szczesniak 0142e4c9c2 Refactored kube-push.sh script
The script allows also to push binaries only to the master or specified node.
Added support for released tars.

Introduced new push methods and implemented them for GCE.
2015-06-01 21:21:00 +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
Robert Bailey 8206aa9eac Salt configuration to add basic auth to GCE. 2015-04-28 14:07:54 -07:00
Robert Bailey dc45f7f9e6 Remove nginx and replace basic auth with bearer token auth for GCE.
- Configure the apiserver to listen securely on 443 instead of 6443.
 - Configure the kubelet to connect to 443 instead of 6443.
 - Update documentation to refer to bearer tokens instead of basic auth.
2015-04-22 11:11:20 -07:00
Lénaïc Huard 08f17bfa70 Make libvirt-coreos cluster use create-kubeconfig 2015-04-20 11:07:35 -07:00
Jeff Lowdermilk 4f6dc99075 Generate kubeconfig for all providers in cluster/ that use auth 2015-04-20 11:07:35 -07:00
Jeff Lowdermilk 1c265f3784 export KUBECONFIG so callers of common.sh functions can use it 2015-04-17 16:22:07 -07:00
Jeff Lowdermilk 2a8291a67e Retry Move KUBECONFIG to common.sh, change default to new location 2015-04-17 10:33:12 -07:00
Robert Bailey 723f2941e8 Revert "Move KUBECONFIG into common.sh, change default to new location" 2015-04-16 22:17:11 -07:00
Jeff Lowdermilk 5ce9b07cbe Move KUBECONFIG declaration into common.sh, change default to new location 2015-04-16 19:23:35 -07:00
deads2k 609208b8b5 update scripts with correct templates 2015-04-07 08:07:24 -04:00
Jeff Lowdermilk 8fef6fb343 Make get-password robust against invalid kubeconfig entries 2015-03-13 13:26:47 -07:00
Jeff Lowdermilk 7db006ab1a Generate standalone kubeconfig on kube-up, clear on kube-down.
Also tweaked the ginkgo tests to pull auth directly from a kubeconfig file
instead of the legacy kubernetes_auth file.
2015-03-10 14:23:34 -07:00
Jeff Lowdermilk 7358084fd5 Utilities to create and clear kubeconfig for use by kube-up scripts 2015-03-10 13:52:04 -07:00
Jeff Lowdermilk a280e0da2d Revert "Standalone kubeconfig for gce kube-up" 2015-03-09 17:45:06 -07:00
Jeff Lowdermilk 67a5bec192 Utilities to create and clear kubeconfig for use by kube-up scripts 2015-03-09 16:00:23 -07:00