Commit Graph

74 Commits (e7666814e288edd79f7e56e558edc2d729e90052)

Author SHA1 Message Date
Yifan Gu 4f6f5586d2 hack/local-up-cluster.sh: add new rkt flags for kubelet. 2015-09-10 14:58:03 -07:00
Maciej Szulik 08aae94dea Fixed passing RUNTIME_CONFIG flag, since currently it fails passing eg.
RUNTIME_CONFIG="experimental/v1=true" to the server.
2015-09-09 21:55:57 +02:00
Maciej Szulik 4caa5e80b1 Updated deprecated flags (address and port). Added an option to pass runtime-config. 2015-08-26 13:28:40 +02:00
Yu-Ju Hong ac97aed837 Revert "Updated deprecated flags (address and port). Added an option to pass runtime-config." 2015-08-25 14:45:06 -07:00
Maciej Szulik 5bc93e0eb4 Updated deprecated flags (address and port). Added an option to pass runtime-config. 2015-08-24 21:43:16 +02:00
Eric Paris 7715290bbd Convert hack/ from --flag_name= to --flag-name= 2015-08-07 11:00:13 -04:00
Jordan Liggitt 5893f1c5b6 Use self-signed cert as CA for local-up-cluster.sh 2015-07-24 07:16:07 -07:00
nikhiljindal 274792d7bb Stop exposing v1beta3 by default 2015-07-01 14:38:02 -07:00
Mike Danese 1e130e0794 remove --machines from code and docs 2015-06-25 18:29:11 -07:00
nikhiljindal e6c83bca5f updating local-cluster-up to v1 2015-06-24 14:08:27 -07:00
jayunit100 ecdc025b61 Allow docker/ or other source directory for local-up 2015-06-15 19:44:35 -04:00
jayunit100 a2ea0ba467 Modularize local-up into clean functions so its self documenting 2015-06-10 13:24:59 -04:00
Paul Morie 5d7418707a Allow privileged containers in local cluster 2015-06-08 19:40:12 -04:00
Tim Hockin 3005471100 Add new apiserver flags for clusterIP (nee portal)
Leave old flags but marked as deprecated
2015-05-28 16:10:44 -07:00
jackgr 87a26e2fd2 Fixes portability issues in cleanup() that cause the pid expansion to fail when host_os=darwin by replacing ps --ppid and ps --pid with pgrep -P and ps -p, and by suppressing header line in output with ps -o pid=. 2015-05-18 12:14:21 -07:00
Victor Marmol d431e98604 Merge pull request #8234 from nak3/terminate-child-process-local-up-cluster
Ensuring that we never call kill with empty arguments in local-cluster-up
2015-05-18 08:40:41 -07:00
Kenjiro Nakayama 4c859c7e35 Ensuring that we never call kill with empty arguments in local-cluster-up 2015-05-16 07:50:31 +09:00
Yifan Gu 621dc01f42 Remove 'auth-path' in the arguments for kubelet.
Otherwise kubelet will fail to create the client because it can't
find the nonexisting auth file.
2015-05-13 16:26:22 -07:00
Jordan Liggitt b552503c07 Fix key generation in local-up-cluster.sh 2015-05-13 10:04:40 -04:00
Jordan Liggitt 7e14a80f63 ServiceAccount admission plugin 2015-05-11 17:18:06 -04:00
Jordan Liggitt db1f0dc906 JWT token generation/verification 2015-05-11 17:18:06 -04:00
Kenjiro Nakayama e39f29ca16 Terminate child process by cleanup() in local-up-cluster.sh 2015-05-11 00:07:22 +09:00
Paul Morie 5c3bf0b08f Remove unnecessary bind-mount from dockerized kubelet run 2015-05-06 15:38:17 -04:00
Paul Morie fa1d065595 Add ability to dockerize kubelet in local cluster 2015-05-06 09:36:52 -04:00
Zach Loafman 875e83a741 Revert "Revert "Security context - types, kubelet, admission"" 2015-05-05 16:02:13 -07:00
Zach Loafman f48904fd5e Revert "Security context - types, kubelet, admission" 2015-05-05 15:20:39 -07:00
Yifan Gu 102a2c4269 hack/local-up-cluster.sh: Add env to enable rkt in local cluster.
This makes testing rkt easier.
2015-05-05 14:07:10 -07:00
Paul Weil 982bf19c20 security context initial implementation - squash 2015-05-05 13:46:13 -04: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
Fabio Yeon e99141de0d Merge pull request #6729 from smarterclayton/chaosclient
Add a new Chaos transport that can simulate network failure and add it to the kubelet
2015-04-13 16:06:53 -07:00
Clayton Coleman ca335d7be9 Add support for chaos to Kubelet and hack/local-up-cluster.sh 2015-04-13 18:21:20 -04:00
derekwaynecarr 2484adbbfe Local-up-cluster does not have admission control 2015-04-10 15:50:33 -04:00
nikhiljindal 08d9e244f7 Removing some references to v1beta1 from test code 2015-04-08 17:28:06 -07:00
Young 802610b13a etcd should be started after the trap func set 2015-04-05 03:41:26 -04:00
jayunit100 1cc61174ea Check to prevent split brain api-servers/api-clients which can happen if etcd dies between rerun of local-up-cluster.sh 2015-04-01 22:56:34 -04:00
Eric Tune 4d3211c60b Remove ignored flag.
When --apiservers is set, --etcd_servers is ignored.
Remove it.
2015-03-10 08:45:05 -07:00
markturansky a6a6947618 Added -E to sudo command 2015-03-04 10:14:46 -05:00
Jeff Lowdermilk 61cc821506 Make local clusters work painlessly with kubeconfig 2015-02-12 16:30:41 -08:00
Eric Tune e82b97d237 Make cleanup of local cluster more robust.
Try to cleanup if there is a failure in script at any point.
Handle undefined vars in cleanup.
Wait longer for apiserver.
Exit if apiserver doesn't come up.
2015-02-12 14:29:55 -08:00
Clayton Coleman 4369e31b9d Integration tests should use 127.0.0.1 consistently 2015-02-09 14:30:31 -05:00
Clayton Coleman 449f9d915e Make hack/local-up-cluster.sh work again for etcd 2 2015-02-04 17:45:53 -05:00
Joe Beda 228659a177 Fix up for posix flags 2015-01-15 09:12:19 -08:00
Clayton Coleman 7fd887df61 Enable v1beta3 API via --runtime_config=api/v1beta3 flag
This exposes the proper v1beta3 API endpoint when the user specifies
the --runtime_config=api/v1beta3 argument to the apiserver. v1beta3
is still considered experimental and subject to change.

--runtime_config is a map of string keys and values, that can be
specified by providing

    --runtime_config=a=b,b=c,d,e

Only the key must be specified, the value can be omitted.

Enables v1beta3 in hack/local-up-cluster.sh and hack/test-cmd.sh
2015-01-08 13:01:24 -05:00
Clayton Coleman ba53d723d3 Clean up how client is passed to Kubelet in preparation for reading pods
Also fixes how Kubelet server looks up pods by name when there are multiple
sources.
2015-01-07 14:40:37 -05:00
Patryk Dunski 02862f926d Issue #3101 - fixes high CPU load in hack/local-up-cluster.sh when there is no standard input defined 2014-12-22 22:47:00 +01:00
Sergey Evstifeev 5236b22cda Run only kubernetes components with sudo 2014-12-22 20:12:02 +01:00
Joe Beda e933ac5784 Make it clearer how to run kubectl after bringing up a local cluster.
Fixes #2935.
2014-12-16 14:21:22 -08:00
Deyuan Deng bf42ea26d5 Use EXIT pseudo-signal 2014-12-08 21:28:18 -05:00
James Kyle 361c8dbae5 Support remote docker hosts on OS X.
This commit brings two main changes, notably:

Two new options that can be set as environment variables

- DOCKER_OPTS: any arbitrary set of docker options. Example: --tlsverify
- DOCKER_NATIVE: This forces the use of the native docker available.
                 This is most useful if you're on OS X and do not want
                 to use boot2docker.

Now uses 'docker cp' instead of tar piping to transfer files. This
currently must be done by copying the binaries off of the docker volume
and into a local filesystem (/tmp) before a docker cp is done. This
workaround will no longer be necessary after bug fix
https://github.com/docker/docker/pull/8509 makes it into stable.

This was necessary because the tar | tar method was creating corrupted
archives on OS X even with the < /dev/null workaround.
2014-12-01 11:47:16 -08:00