Commit Graph

135 Commits (9e4fc59d396373249fb9a360a663cf65f9ed2030)

Author SHA1 Message Date
Kubernetes Submit Queue 8afa8c796f Merge pull request #31165 from derekwaynecarr/fix-local-up-cluster-defaults
Automatic merge from submit-queue

Hack local-up-cluster should enforce cpu limits by default

CPU CFS quota should be enforced by default.

/cc @vishh
2016-09-19 05:04:59 -07:00
Kubernetes Submit Queue 4c71602373 Merge pull request #31898 from pmorie/local-cluster-kubelet
Automatic merge from submit-queue

Make it possible to run local kubelet independently of cluster

Makes it possible to start a cluster and kubelet independently (was necessary when debugging issues related to restarting kubelet for existing node).
2016-09-14 13:52:53 -07:00
Paul Morie de1d44e3f0 Make it possible to run local kubelet independently of cluster 2016-09-01 23:53:09 -04:00
Michal Rostecki 638548b5a8 Add client-server runtime support to local-up-cluster.sh
Provide support for --container-runtime-endpoint and
--image-service-endpoint in kubelet.

Ref #28789
2016-08-24 12:49:25 +02:00
derekwaynecarr b0530a62a6 Hack local up cluster should enforce cpu limits by default 2016-08-22 17:35:49 -04:00
Jan Safranek 5f6efefc40 [squash] Rename and move to storageclass/ 2016-08-22 14:11:01 +02:00
Jan Safranek 82d35fb461 Add admission controller for default storage class.
The admission controller adds a default class to PVCs that do not require any
specific class. This way, users (=PVC authors) do not need to care about
storage classes, administrator can configure a default one and all these PVCs
that do not care about class will get the default one.
2016-08-18 18:55:35 +02:00
Huamin Chen f45ba90909 enhancements to local-up-cluster.sh:
- fixes containerized kubelet: bind mount /dev and cloud credential directories
- add CLOUD_CONFIG env to get openstack credentials

Signed-off-by: Huamin Chen <hchen@redhat.com>
2016-08-02 14:12:14 -04:00
k8s-merge-robot 0e8d515225 Merge pull request #29373 from moolitayer/clean_script_output
Automatic merge from submit-queue

Silence curl output

Removes the following from script output:
curl: (7) Failed to connect to 127.0.0.1 port 8080: Connection refused
2016-07-22 19:14:41 -07:00
Davanum Srinivas 9fc1d61ab7 Enable endpoints in kubernetes service started by local-cluster-up.sh
--advertise_address should be set to 127.0.0.1, So let API server pick
the default if necessary.

Fixes #29374
2016-07-21 22:39:17 -04:00
Mooli Tayer ba6878f4fc Silence curl output
Removes the following from curl output:
curl: (7) Failed to connect to 127.0.0.1 port 8080: Connection refused
2016-07-21 14:55:26 +03:00
Mike Danese 95e2e299a9 move kube-dns to the cluster/addons/ directory 2016-07-14 11:44:00 -07:00
Tim Hockin faeef5c4ae Use make as the main build tool
This allows us to start building real dependencies into Makefile.

Leave old hack/* scripts in place but advise to use 'make'.  There are a few
rules that call things like 'go run' or 'build/*' that I left as-is for now.
2016-07-12 21:52:00 -07:00
k8s-merge-robot 1ab7671fdc Merge pull request #23866 from intelsdi-x/chcon_invalid_argument_in_dockerized_kubelet
Automatic merge from submit-queue

invalid arg during applying SELinux label

Tested with Ubuntu 16.04 with SELINUX support. Actually, after `chcon `with long label got: `chcon: failed to set type security context component to ‘system_u:object_r:svirt_sandbox_file_t:s0’: Invalid argument`
2016-06-30 20:39:31 -07:00
David McMahon ef0c9f0c5b Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
Madhusudan.C.S 816c4d9e2b Substitute federation_domain_map parameter with its value in node bootstrap scripts.
This also removes the substitution code we added to the build
scripts in one of the previous commits.
2016-06-27 14:54:49 -07:00
k8s-merge-robot 1aefa19ab6 Merge pull request #26449 from aanm/fixing-ipv6-parse
Automatic merge from submit-queue

Make local-up-cluster.sh IPv6 friendly

Added a new environment variable `API_HOST_IP`. `API_HOST_IP` allows the
user to specify an IPv6 address that is parsable by Golang. `API_HOST` on
the other hand allows the user to specify the IPv6 address to be used in
a URL's format as described in RFC2732.

Example:
```bash
API_HOST_IP="FEDC:BA98:7654:3210:FEDC:BA98:7654:3210"
API_HOST="[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]
```
or
```bash
API_HOST_IP="FEDC:BA98:7654:3210:FEDC:BA98:7654:3210"
API_HOST="[${API_HOST_IP}]"
```

Signed-off-by: André Martins <aanm90@gmail.com>
2016-06-25 06:34:53 -07:00
Manjunath A Kumatagi ba1d201a4c Need doc updated with export KUBERNETES_PROVIDER=local in local-up-cluster.sh script 2016-06-23 06:59:41 -04:00
Jan Safranek 67e5f5c001 Update default value of CLAIM_BINDER_SYNC_PERIOD.
It's 15 seconds now, see #26414.
2016-06-15 15:25:55 +02:00
André Martins 0ced1ddaee Make local-up-cluster.sh IPv6 friendly
Added a new environment variable API_HOST_IP. API_HOST_IP allows the
user to specify an IPv6 address that is parsable by Golang. API_HOST on
the other hand allows the user to specify the IPv6 address to be used in
a URL's format as described in RFC2732.

Example:
API_HOST_IP="FEDC:BA98:7654:3210:FEDC:BA98:7654:3210"
API_HOST="[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]
or
API_HOST_IP="FEDC:BA98:7654:3210:FEDC:BA98:7654:3210"
API_HOST="[${API_HOST_IP}]"

Signed-off-by: André Martins <aanm90@gmail.com>
2016-06-13 11:33:06 +01:00
Girish Kalele 60d2293f4c Address review comments 2016-05-31 10:14:33 -07:00
k8s-merge-robot a24584465e Merge pull request #24965 from Arvinderpal/add_cni_dir_to_local_cluster_up
Automatic merge from submit-queue

Adds --network-plugin-dir argument to hack/local-up-cluster.sh

CNI Network Plugin developers who want to use hack/local-up-cluster.sh need to specify the --network-plugin-dir option to kubelet.
2016-05-28 11:53:54 -07:00
André Martins bd37100713 Add more global env vars to local-up-cluster.sh
Signed-off-by: André Martins <aanm90@gmail.com>
2016-05-27 23:58:01 +01:00
k8s-merge-robot 0985f847ea Merge pull request #25311 from swagiaal/check-openssl
Automatic merge from submit-queue

Verify that openssl is installed in local-up-cluster.sh
2016-05-16 01:45:54 -07:00
Lucas Käldström 8e64b5f347 Speed up hack/local-up-cluster.sh by building hyperkube instead of separate binaries. Also add arm64 as a valid arch 2016-05-15 16:38:11 +03:00
Sami Wagiaalla e9045bea22 Verify that openssl is installed in local-up-cluster.sh 2016-05-07 12:59:17 -04:00
Sami Wagiaalla dc6f36634d Add cloud-provider setting to local-up-cluster.sh 2016-05-07 12:57:58 -04:00
Arvinderpal 1a92f2b9de Adds --network-plugin-dir argument to hack/local-up-cluster.sh
to allow local deploys to specify cni plugin directory.
2016-04-28 21:03:33 -07:00
Jeff Vance f4f6a53a3b added claim_binder sync period 2016-04-25 09:40:50 -07:00
k8s-merge-robot 2e9bcb8311 Merge pull request #24025 from ZJU-SEL/fix-working-dirctory-mistake
Automatic merge from submit-queue

fix relative working dirctory of KUBE_ROOT

fix relative working dirctory of `KUBE_ROOT`, do not need to change to `KUBE_ROOT` in the first place

Signed-off-by: Crazykev <zcq8989@gmail.com>
2016-04-22 15:01:16 -07:00
k8s-merge-robot 9ae35f875d Merge pull request #23774 from cjdrake/master
Automatic merge from submit-queue

Replace tab with eight spaces

This file only uses spaces for indentation, and my text editor highlighted the one tab.
2016-04-19 03:47:06 -07:00
George Tankersley 07eb9ec305 hack: specify advertise address for local-up-cluster.sh
This fixes the bug where the script fails to launch an apiserver on a
machine without active networking.
2016-04-14 12:08:21 -07:00
Crazykev 7c9dfd8620 fix relative working dirctory of KUBE_ROOT
Signed-off-by: Crazykev <zcq8989@gmail.com>
2016-04-08 11:00:27 +08:00
Wlodzimierz Borkowski 63712cbb1c invalid arg during applying SELinux label
Tested with ubuntu 16.04 with selinux support.
Actually after chcon with long label got: Invalid argument from cmd
2016-04-05 13:07:36 +02:00
Chris Drake 7aa9ef54ce Replace tab with eight spaces 2016-04-01 18:47:13 -07:00
k8s-merge-robot 130c67f1b0 Merge pull request #22474 from bprashanth/local-up
Auto commit by PR queue bot
2016-03-04 02:29:36 -08:00
Prashanth Balasubramanian 0aa5502fe1 Use 8.8.8.8 as default DNS server in local-up-cluster. 2016-03-03 14:59:40 -08:00
Andrew Stuart a767b700b4
Update start_kubedns to use API_{HOST,PORT} vars 2016-03-01 08:54:55 -07:00
Sami Wagiaalla 2ed03a194d Enable passing hostname-override through environment variable 2016-02-23 09:44:41 -05:00
Thibault Serot 57c06224eb Enabling DNS support in local-up-cluster.sh 2016-02-21 18:56:14 +01:00
Thibault Serot 9c5f4c112b Enabling DNS support in local-up-cluster.sh 2016-02-21 18:55:06 +01:00
Dan Williams fabb65c13f Add a network plugin that duplicates "configureCBR0" functionality 2016-02-03 10:08:08 -06:00
k8s-merge-robot 15ecc2f750 Merge pull request #18813 from runseb/patch-1
Auto commit by PR queue bot
2015-12-20 14:28:26 -08:00
k8s-merge-robot 0641e4a8f0 Merge pull request #18417 from Pensu/master
Auto commit by PR queue bot
2015-12-18 10:35:00 -08:00
runseb 6fa56de691 Remove NamespaceAutoProvision which is deprecated
According to https://github.com/kubernetes/kubernetes/blob/master/docs/admin/admission-controllers.md
NamespaceAutoProvision is deprecated, keeping it in the script tends to give a bad practice where namespace are auto created.

Suggest to remove it.
2015-12-17 11:05:20 +01:00
Tim Hockin ef8dbc1819 Add kubectl to local-up script 2015-12-15 09:02:02 -08:00
markturansky 4fc1bf1f23 Added PersistentVolumeController 2015-12-11 10:33:30 -05:00
Peeyush Gupta 4774e7146e Add support for ppc64le architecture. 2015-12-09 12:12:13 +05:30
Janet Kuo 36067cf4a4 Fix local cluster script 2015-12-01 17:11:21 -08:00
k8s-merge-robot 290112bce6 Merge pull request #16841 from jiangyaoguo/keep-kubeproxy-hostname-consistent-with-kubelet
Auto commit by PR queue bot
2015-11-30 18:26:21 -08:00