Justin Santa Barbara
41743ce87a
AWS: Delete ASGs by following instances
...
We can't tag ASGs, but we can see what instances are running in an ASG,
and we can match those by our tags.
So look for our running instances, and look for the ASGs that created
them, and delete those.
This can be defeated (most notably if users change the ASG size to 0),
but it is safer that other deletion methods.
2015-11-03 11:58:05 -05:00
Justin Santa Barbara
cf86ecc604
AWS: Only match minions in the current ASG
...
i.e. don't assume there is only one ASG any more
2015-11-03 11:58:05 -05:00
Justin Santa Barbara
d64643fe26
AWS: Experimental support for multiple subnets/AZs in kube-up
...
By setting KUBE_SHARE_MASTER=true we reuse an existing master, rather
than creating a new one.
By setting KUBE_SUBNET_CIDR=172.20.1.0/24 you can specify the CIDR for a
new subnet, avoiding conflicts.
Both these options are documented only in kube-up and clearly marked as
'experimental' i.e. likely to change.
By combining these, you can kube-up a cluster normally, and then kube-up
a cluster in a different AZ, and the new nodes will attach to the same
master.
KUBE_SHARE_MASTER is also useful for addding a second node
auto-scaling-group, for example if you wanted to mix spot & on-demand
instances.
2015-11-03 11:57:59 -05:00
Justin Santa Barbara
df3897c4ab
Split main kube-up function into sub-functions
...
Makes it a little easier to read, also lets us reuse a master in the
next commit without a complex diff.
2015-11-03 10:16:32 -05:00
Justin Santa Barbara
1607ac1a7a
AWS: use filters in get_igw_id & get_subnet_id
...
Also remove unused get_route_table_id
2015-11-03 10:09:51 -05:00
k8s-merge-robot
3f3918048a
Merge pull request #16669 from erictune/fix-run-docstring
...
Auto commit by PR queue bot
2015-11-03 05:29:29 -08:00
k8s-merge-robot
1b437272ba
Merge pull request #16696 from janetkuo/kubectl-jsonpath
...
Auto commit by PR queue bot
2015-11-03 04:29:28 -08:00
k8s-merge-robot
76083f73dc
Merge pull request #16671 from DirectXMan12/refactor/hpa-heapster-service
...
Auto commit by PR queue bot
2015-11-03 03:58:26 -08:00
k8s-merge-robot
9b953d75d2
Merge pull request #16111 from mesosphere/sttts-sandbox-overlay
...
Auto commit by PR queue bot
2015-11-03 03:00:57 -08:00
Piotr Szczesniak
31273c15d0
Merge pull request #16722 from wojtek-t/fix_panic
...
Fix panics in Density test
2015-11-03 11:56:23 +01:00
k8s-merge-robot
fe2d44e842
Merge pull request #16653 from Random-Liu/remove-unused-type
...
Auto commit by PR queue bot
2015-11-03 02:45:22 -08:00
Dr. Stefan Schimanski
8fb77ce13e
Exit scheduler if sandbox overlay does not exist
2015-11-03 11:27:41 +01:00
Dr. Stefan Schimanski
1cebf2f014
Add MESOS_DOCKER_OVERLAY_DIR variable to set overlay volume dir
2015-11-03 11:27:41 +01:00
Dr. Stefan Schimanski
ed09e5c29d
Add supported archive format for --mesos-sandbox-overlay
2015-11-03 11:27:41 +01:00
Dr. Stefan Schimanski
60ac1b932f
Simplify serveFrameworkArtifact with library function for basenames
2015-11-03 11:27:41 +01:00
Dr. Stefan Schimanski
4062e2be2f
Add executor sandbox overlay mechanism to distribute nsenter and socat
2015-11-03 11:27:40 +01:00
k8s-merge-robot
f371b3d891
Merge pull request #16621 from timstclair/metrics-lite
...
Auto commit by PR queue bot
2015-11-03 02:13:19 -08:00
k8s-merge-robot
25b7c79860
Merge pull request #16609 from fwalker/master
...
Auto commit by PR queue bot
2015-11-03 01:41:16 -08:00
k8s-merge-robot
b79379516f
Merge pull request #16584 from wojtek-t/refactor_use_cacher
...
Auto commit by PR queue bot
2015-11-03 01:10:13 -08:00
k8s-merge-robot
f276572034
Merge pull request #16570 from liggitt/proxy_request_info
...
Auto commit by PR queue bot
2015-11-03 00:33:10 -08:00
Wojciech Tyczynski
d22592b1f8
Fix panics in Density test
2015-11-03 09:04:54 +01:00
k8s-merge-robot
c080c8a14f
Merge pull request #16537 from fabianofranz/attach_handles_tty_support
...
Auto commit by PR queue bot
2015-11-03 00:01:38 -08:00
k8s-merge-robot
c1d380db94
Merge pull request #16693 from Random-Liu/put-termination-message-path-into-docker-label
...
Auto commit by PR queue bot
2015-11-02 23:29:35 -08:00
k8s-merge-robot
5681bacef4
Merge pull request #16710 from feihujiang/addCommentNamespaceClearedForRootscopedResources
...
Auto commit by PR queue bot
2015-11-02 22:57:30 -08:00
k8s-merge-robot
990c0184be
Merge pull request #16330 from mikedanese/deploy-ptr
...
Auto commit by PR queue bot
2015-11-02 20:41:34 -08:00
k8s-merge-robot
1415f7509b
Merge pull request #16697 from andyzheng0831/trusty
...
Auto commit by PR queue bot
2015-11-02 20:09:31 -08:00
k8s-merge-robot
f7f60004eb
Merge pull request #16014 from paralin/add-newrelic-example
...
Auto commit by PR queue bot
2015-11-02 19:38:16 -08:00
feihujiang
f7bfb04665
Add a comment that not return an error for rootscoped resources with namesapce
2015-11-03 11:00:01 +08:00
Alex Mohr
95bdf1923c
Merge pull request #16619 from bgrant0607/docfix
...
Gut out-of-date roadmap in favor of milestones.
2015-11-02 16:42:02 -08:00
Janet Kuo
4d92268212
Better error handling for output format when "kubectl config view"
2015-11-02 16:25:52 -08:00
Andy Zheng
b3133a1c16
Update docker version in trusty node to 1.8.3
...
This change is for using the latest qualified docker in trusty nodes.
2015-11-02 15:58:27 -08:00
Mike Danese
f64f2a7302
Merge pull request #16691 from mikedanese/fix-e2e
...
rename enable var to correct name and only use it when needed
2015-11-02 15:57:08 -08:00
Mike Danese
5e64590f4a
renable enable var to correct name and only use it when needed
2015-11-02 14:51:04 -08:00
Mike Danese
08a7ffb299
Merge pull request #16689 from jlowdermilk/cluster-common
...
Fix last current-context command in cluster/common.sh
2015-11-02 14:39:55 -08:00
Lantao Liu
894dc5a5a2
Move TerminationMessagePath into docker label.
2015-11-02 14:32:58 -08:00
Mike Danese
8fc36e6068
Merge pull request #16624 from mikedanese/enable-fix
...
build kube-env in build-kube-env, not in verify-prereqs
2015-11-02 14:06:48 -08:00
Jeff Lowdermilk
d55666043b
Fix last current-context command in cluster/common.sh
2015-11-02 14:05:55 -08:00
Jeff Lowdermilk
a963a05af4
Merge pull request #16683 from mikedanese/get-current-context
...
use current-context from .kube/config when getting cluster credentials
2015-11-02 13:50:21 -08:00
Mike Danese
8ecfd967d5
use current-context from .kube/config when getting cluster credentials
2015-11-02 13:11:29 -08:00
Wojciech Tyczynski
8f385c563f
Refactor code for creating Cacher.
2015-11-02 20:56:46 +01:00
Mike Danese
172eab6b21
build kube-env in build-kube-env, not in verify-prereqs
2015-11-02 10:31:43 -08:00
Lantao Liu
eff4533efc
Move findPodContainer to docker_test.go
2015-11-02 09:49:07 -08:00
Tim St. Clair
5cd5b80f9e
Set up new "metrics" API group.
...
This commit only adds 2 placeholder structs to the API, for the purposes
of separating the API group setup from the API discussion.
2015-11-02 09:49:02 -08:00
k8s-merge-robot
17e36b02f4
Merge pull request #16660 from mqliang/DelFmt
...
Auto commit by PR queue bot
2015-11-02 09:41:20 -08:00
k8s-merge-robot
62307e03d5
Merge pull request #16505 from gmarek/addon_monitoring
...
Auto commit by PR queue bot
2015-11-02 09:09:17 -08:00
Solly Ross
f262560cac
Customize HPA Heapster service namespace/name
...
This commit makes the HPA metrics client configurable in where
it looks for heapster instead of hard coding it to
"kube-system/heapster". The values of "kube-system/heapster"
are still recorded as constants in the metrics client package
for use as default values.
2015-11-02 11:14:08 -05:00
Fabiano Franz
c60f19a1f8
Attach must only allow a tty when container supports it
2015-11-02 09:56:58 -05:00
k8s-merge-robot
fd03c2c1d7
Merge pull request #16152 from feihujiang/moveServiceStrategyToRegistryServicePackage
...
Auto commit by PR queue bot
2015-11-02 05:09:29 -08:00
mqliang
3afcbae1a8
remove unnecessary fmt
2015-11-02 21:07:07 +08:00
gmarek
cfe391d4ee
Add resource monitoring of kube-system pods
2015-11-02 13:35:50 +01:00