Kubernetes Prow Robot
6572fe4d90
Merge pull request #100550 from dims/add-new-iptables-rule-for-local-up-cluster.sh
...
Add new iptables rule for local-up-cluster.sh
2021-03-29 13:24:09 -07:00
Kubernetes Prow Robot
e33a80bf2a
Merge pull request #100544 from dims/set-some-kube-proxy-params-for-local-up-cluster
...
Set some kube-proxy parameters for local-up-cluster.sh
2021-03-29 13:23:57 -07:00
Davanum Srinivas
44d143f6e1
Add new iptables rule for local-up-cluster.sh
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-03-28 11:19:02 -04:00
Davanum Srinivas
91ca1b12bb
Set jwks uri in local-up-cluster.sh
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-03-25 17:09:58 -04:00
Davanum Srinivas
5238a8675d
Set some kube-proxy parameters for local-up-cluster.sh
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-03-24 15:42:39 -04:00
jornshen
da808767b7
local-up-cluster kubelet option opening readonly port
2020-12-02 09:46:24 +08:00
Kubernetes Prow Robot
26f09b77a8
Merge pull request #96028 from masap/local_up_cluster2
...
local-up-cluster.sh: Pass CLUSTER_CIDR to kube-proxy
2020-11-10 07:17:00 -08:00
Kubernetes Prow Robot
ff225efc10
Merge pull request #96095 from masap/local_up_cluster4
...
local-up-cluster.sh: Use config file instead of flags for kubelet
2020-11-04 13:25:30 -08:00
Masashi Honma
29c9fb6102
local-up-cluster.sh: Use config file instead of flags for kubelet
...
Because /tmp/kubelet.log shows trailing log twice.
Flag --address has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --rotate-certificates has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --feature-gates has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --cpu-cfs-quota has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --enable-controller-attach-detach has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --cgroups-per-qos has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --cgroup-driver has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --cgroup-root has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --eviction-hard has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --eviction-soft has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --eviction-pressure-transition-period has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --pod-manifest-path has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --fail-swap-on has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --authorization-mode has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --authentication-token-webhook has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --client-ca-file has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --cluster-dns has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --cluster-domain has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --runtime-request-timeout has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --port has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
2020-11-04 07:42:31 +09:00
Masashi Honma
0cfb6a16e7
local-up-cluster.sh: Remove ineffective parameters
...
Because kube-apiserver shows these warnings, this patch removes parameters
which has no effect.
Flag --insecure-bind-address has been deprecated, This flag has no effect now and will be removed in v1.24.
Flag --insecure-port has been deprecated, This flag has no effect now and will be removed in v1.24.
2020-10-31 16:04:32 +09:00
Kubernetes Prow Robot
3662e1e344
Merge pull request #96025 from haircommander/fix-API_PORT
...
hack/local-up-cluster.sh: fix API_PORT
2020-10-29 21:04:15 -07:00
Masashi Honma
181a724dc3
local-up-cluster.sh: Pass CLUSTER_CIDR to kube-proxy
...
This patch fixes the local-up-cluster.sh to pass CLUSTER_CIDR to kube-proxy.
Previously, CLUSTER_CIDR was passed only to controller manager and cloud
controller manager.
2020-10-30 09:50:02 +09:00
Peter Hunt
174548659f
hack/local-up-cluster.sh: fix API_PORT
...
commit kubernetes/kubernetes@cfc2b33 causes a local cluster to not come up because it sets the default insecure port to 8080, which is no longer valid
Signed-off-by: Peter Hunt <pehunt@redhat.com>
2020-10-29 17:17:58 -04:00
Masashi Honma
8e84f3d78d
local-up-cluster.sh: Pass SERVICE_CLUSTER_IP_RANGE to controller manager
...
Previously, SERVICE_CLUSTER_IP_RANGE was passed only to kube-apiserver.
Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
2020-10-29 17:47:19 +09:00
jayunit100
aefe930562
support multiple bind records (fie nodelocaldns test regression), by
...
first replacing PILLAR_ and then replacing other vars.
2020-10-16 14:28:55 -04:00
Kubernetes Prow Robot
c1e5e6a556
Merge pull request #93836 from jayunit100/salt_cleanup_92835
...
remove __pillar__ refs
2020-10-11 17:58:47 -07:00
Kubernetes Prow Robot
100fe77b38
Merge pull request #86582 from mlmhl/local-up-cluster
...
do not wait for node ready when starting kube-proxy in 'nokubelet' mode
2020-09-22 12:21:09 -07:00
Hui Kang
8f2c29635c
Fix minor comment in a script
...
The variable API_HOST is defined below the comment
Signed-off-by: Hui Kang <kangh@us.ibm.com>
2020-09-10 20:53:46 +00:00
jay vyas
1693c111be
Getting rid of the Salt DNS replacements, addded / back.
2020-08-30 09:11:27 +00:00
Kubernetes Prow Robot
908847c01e
Merge pull request #91526 from maciaszczykm/dashboard-v2.0.1
...
Bump Dashboard to v2.0.1
2020-06-30 05:28:06 -07:00
Kubernetes Prow Robot
6dbb92de3d
Merge pull request #91504 from pohly/local-up-cluster-snapshotter
...
local-up-cluster.sh: install CSI snapshotter
2020-06-03 07:30:18 -07:00
Patrick Ohly
2a31764ba7
local-up-cluster.sh: install CSI snapshotter
...
This cluster add-on is required for snapshotting of CSI volumes and
must be installed when bringing up a cluster because CSI driver
installations depend on that.
It is unclear how many users of the script need CSI snapshotting,
therefore it is disabled by default (= the previous behavior).
2020-06-02 16:15:53 +02:00
Marcin Maciaszczyk
e5af792ad2
Bump Dashboard to v2.0.1
2020-05-28 13:08:53 +02:00
Rafal Wicha
852442c0ff
Promote kubescheduler.config.k8s.io to v1betav1
2020-05-25 22:25:57 +01:00
Jordan Liggitt
734de1bf8c
Enable kubelet client-cert bootstrap/rotation in local-up-cluster
...
Change-Id: Ifea64abbc0b78b12b8aaa5885fd7c4b09c31c98e
2020-05-15 00:22:20 +00:00
Wei Huang
33ea82227e
Use sched ComponentConfig over individual command line args
2020-03-26 17:11:17 -07:00
Kubernetes Prow Robot
ba10669143
Merge pull request #87595 from hase1128/add-comment-hack-script
...
Add comments in several hack/*.sh
2020-02-11 23:14:20 -08:00
RainbowMango
99c15d2828
Support config kubelet provider id for local cluster.
2020-02-07 14:12:48 +08:00
Jordan Liggitt
498ae799b5
Use standard default storage media type in local-up-cluster
2020-01-30 17:25:23 -05:00
Jin Hase
e992ec0d59
Add comments in several hack/*.sh
2020-01-28 09:27:40 +09:00
Jordan Liggitt
2a2ce207f2
Enable bound tokens in local-up-cluster
2020-01-20 09:19:37 -05:00
chendotjs
2afe0da8ee
Unify --cluster-cidr in KCM and CCM
2020-01-19 13:51:02 +08:00
RainbowMango
0f9c262eda
Cleanup cloud controller manager when closing cluster.
2020-01-08 19:18:53 +08:00
RainbowMango
24ccd77a98
Remove variable EXTERNAL_CLOUD_VOLUME_PLUGIN default value in local-up-cluster.sh
2020-01-07 10:17:10 +08:00
RainbowMango
eb074761bc
Fix local-up-cluster.sh do not work with non-intree external cloud provider issue.
2020-01-06 22:54:38 +08:00
RainbowMango
36cbce1182
Postpone flag warning log to just before it be used.
2019-12-31 20:05:53 +08:00
mlmhl
57aa092ffe
do not wait for node ready when starting kube-proxy in 'nokubelet' mode
2019-12-24 14:25:28 +08:00
kireledan
a8a00f690e
hack/local-up-cluster: modify cloud provider launch to work with aws
...
This commit updates the local-up-cluster script to set the proper provider id when the aws cloud provider is used.
2019-12-19 22:54:10 -08:00
notpad
c13f2d4748
Change node name to env value of HOSTNAME_OVERRIDE
2019-10-16 22:39:52 +08:00
ialidzhikov
b3dcbbf98c
Rename dashboard-controller.yaml to dashboard-deployment.yaml
...
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2019-10-15 13:55:06 +03:00
Kubernetes Prow Robot
457fa6b40d
Merge pull request #82413 from zhlhahaha/kube-proxy-error
...
local-up-cluster kube-proxy terminated error
2019-10-12 07:48:37 -07:00
Amir Ghassemi
2550b31beb
hack/local-up-cluster.sh: ability to configure auth webhooks
...
AUTHORIZATION_WEBHOOK_CONFIG_FILE and AUTHENTICATION_WEBHOOK_CONFIG_FILE
if set, will pass webhook configuration paths to API server
2019-09-23 10:43:47 +03:30
liuweixuan
ce25cd7fca
Replace hyperkube with apiserver for binary path guess
2019-09-20 23:28:58 +08:00
howard
6ca5e0ed4d
local-up-cluster kube-proxy terminated error
...
When using hack/local-up-cluster.sh deploy local cluster, it
failed with following message "kube-proxy terminated unexpectedly"
and "Failed to retrieve node info: nodes "127.0.0.1" not found" in
kube-proxy.log.
The root reason for this error is miss boot order of kubernetes
services in local-up-cluster.sh, kube-proxy and kubectl daemon.
When starting kube-proxy, it would check node information. And
these information are collected by kubelet daemon. However, in
the shell script, kube-proxy service start before kubelet daemon.
This patch changed the boot order of kubelet daemon and kube-proxy
and check if node stats ready for kube-proxy start.
Signed-off-by: Howard Zhang <howard.zhang@arm.com>
2019-09-16 10:36:42 +08:00
Davanum Srinivas
549492fbef
Drop hyperkube use from local-up-cluster.sh
...
We should just use the regular binaries used everywhere else and drop
hyperkube. Only the local-up-cluster related CI jobs use hyperkube at
the moment, so this will help deprecate and eliminate hyperkube at least
from the main kubernetes repository.
Change-Id: Ic53a4b56420565f546ac75be6cc23d214766c057
2019-08-11 10:54:05 -04:00
Matthew Wong
e18f7a9ec6
Fix no audit policy by default in hack/local-up-cluster.sh
2019-07-15 23:52:32 +00:00
Wei Huang
6f10758446
followup of 79262 to cleanup PodPriority leftover
2019-06-28 14:19:26 -07:00
Kubernetes Prow Robot
2bb849fdc0
Merge pull request #79199 from k-toyoda-pi/local-up-cluster_change_sed_to_SED
...
use ${SED} variable in local-up-cluster.sh
2019-06-21 05:10:36 -07:00
toyoda
d7215f0bce
change sed to ${SED} in local-up-cluster.sh
2019-06-20 11:38:58 +09:00
Kenichi Omichi
5628b6b50e
Replace mapfile with kube::util::read-array
...
During the review of https://github.com/kubernetes/kubernetes/pull/78779
we've known mapfile doesn't work on macOS.
So we need to use alternative way instead and this is it.
2019-06-20 00:25:06 +00:00
Kubernetes Prow Robot
4f33b5f421
Merge pull request #77820 from dims/charrywanganthony-pr-71835-delete-kubelet-security-controls
...
Remove deprecated Kubelet security controls
2019-05-22 13:52:25 -07:00
s-ito-ts
992773a4d9
Add transforming of "pillar['dns_memory_limit']" to local-up-cluster.sh.
2019-05-21 10:31:38 +00:00
chaowang
9ba0d47465
Remove deprecated Kubelet security controls
...
Change-Id: I9f770e6780b60e881092690f6f177d726f474fe3
2019-05-16 13:33:52 -04:00
Kubernetes Prow Robot
0ff81d04dc
Merge pull request #76953 from Rand01ph/fix#69896
...
fix Remove hyperkube short aliases
2019-05-08 04:54:34 -07:00
Rand01ph
f6bf44a205
Remove hyperkube short aliases used in local-up-cluster.sh
2019-05-07 01:02:01 +08:00
Haoran Wang
37cb774918
Enhance the local-cluster-up.sh script to work with docker 19.03.0-beta3
2019-05-06 15:03:06 +08:00
h00130372
de95a3344b
Fix older bash failing on unbound array variables
...
Older bash versions fail when trying to expand array variables
when the array is empty.
2019-04-15 09:47:26 +08:00
Chao Xu
ce0cd866c0
followup https://github.com/kubernetes/kubernetes/pull/76050#discussion_r271540758
2019-04-04 14:38:26 -07:00
Kubernetes Prow Robot
42877480ad
Merge pull request #75747 from msau42/remove-alpha-crd
...
Remove alpha csi CRD
2019-04-02 22:47:41 -07:00
Kubernetes Prow Robot
28ac3063da
Merge pull request #76050 from caesarxuchao/fix-local-up-cluster
...
Fix kubelet start in local-up-cluster.sh
2019-04-02 20:11:42 -07:00
Chao Xu
1b953aaa59
Fix kubelet start in local-up-cluster.sh
2019-04-02 12:59:32 -07:00
Michelle Au
d2aa8178f2
Remove alpha CRD install
2019-04-02 10:59:11 -07:00
Urvashi Mohnani
8b96021c67
Add RUNTIME_REQUEST_TIMEOUT to local-up-cluster.sh
...
The changes to local-cluster-up.sh from #75662 is causing the
CRI-O CI to break since it picks up the --runtime-request-timeout
flag as part of the container-runtime-endpoint flag.
Adding a new env so that we can set the runtime-request-timeout
value for our CI.
Signed-off-by: Urvashi Mohnani <umohnani@redhat.com>
2019-04-02 11:25:55 -04:00
Mrunal Patel
8c9b169f17
Fix older bash failing on unbound array variables
...
Older bash versions fail when trying to expand array variables
when the array is empty.
Signed-off-by: Mrunal Patel <mpatel@redhat.com>
2019-04-01 21:04:48 -07:00
s-ito-ts
8cc3718e69
fix eliminate shellcheck failures in hack/local-up-cluster.sh
2019-03-25 07:17:06 +00:00
Moshe Levi
dcebfd82ac
Add nokubeproxy option in START_MODE
...
Some CNIs such as OVN don't use kubeproxy and provide
there own implementation for network proxy .
This patch allow to disable the kubeproxy start in the
local-up-cluster.sh script.
It is also move the generation of the certificate and
kubeconfig to start_kubeproxy function so it will be
generated only when it needed.
This is useful for us for developement and CI testing.
Signed-off-by: Moshe Levi <moshele@mellanox.com>
2019-03-14 02:29:31 +02:00
Kubernetes Prow Robot
343bb4bd6b
Merge pull request #74561 from moshe010/start_kube_scheduler
...
Move start kubescheduler to it own function
2019-02-28 05:07:37 -08:00
Moshe Levi
b9fb656546
Move start kubescheduler to it own function
...
Currently the kubescheduler starts in the start_kubeproxy
This change move it to ir own function start_kubescheduler
Change-Id: Iff93114d4becabe4b6b937c5077821e092abffd3
Signed-off-by: Moshe Levi <moshele@mellanox.com>
2019-02-26 04:30:11 +02:00
Davanum Srinivas
5d13f6f776
Remove support for containerized-kubelet in local-up-cluster.sh
...
Change-Id: I3435b02fbe052a88f6b88d5517de2d68ff636a66
2019-02-25 08:53:14 -05:00
Kubernetes Prow Robot
139a13d312
Merge pull request #74269 from moshe010/kubelet_gen_cert
...
Move kubelet cert generation when starting kubelet
2019-02-23 18:41:10 -08:00
Moshe Levi
33a81a7882
Move kubelet cert generation when starting kubelet
...
Running local-up-cluster with START_MODE='kubeletonly'
requires cert and kubeconfig. Currently, all the
certs and the kubeconfig are created in the start_apiserver
so it won't be created when only kubelet is started.
This change moves the creation of the kubelet cert and
kubeconfig to start_kubelet. This is helpful if you
want to run kubelet with local-up-cluster and to connect
to an existing master node.
Change-Id: Iaba0bf975297346fbede44342f163024caa256cf
Signed-off-by: Moshe Levi <moshele@mellanox.com>
2019-02-19 23:04:18 +02:00
Davanum Srinivas
6b6bfb37fb
Add minimal audit policy to local-up-cluster
...
Change-Id: Ia2cdb5a6a891665ece5365698f2989ba3782a5ec
2019-02-18 11:18:34 -05:00
Jordan Liggitt
6cec098771
Allow control over media-type
2019-01-29 10:39:24 -05:00
Kubernetes Prow Robot
d1031b18fc
Merge pull request #73279 from dims/fix-problem-fetching-sudo
...
Run apt-get update before installing sudo
2019-01-24 14:55:33 -08:00
Kubernetes Prow Robot
e28c757e87
Merge pull request #72972 from liggitt/remove-alpha-initializers
...
Remove use of alpha initializers
2019-01-24 14:54:52 -08:00
Davanum Srinivas
279e1ed117
Run apt-get update before installing sudo
...
recent changes to kubekins broke local-e2e with the following error
```
E: Unable to locate package sudo
```
Change-Id: I9ad324a2a070bc068ed1f0f88a912eafb191ad90
2019-01-24 11:45:42 -05:00
Jordan Liggitt
dc1fa870bf
Remove alpha InitializerConfiguration types, Initializers admission plugin
2019-01-23 11:37:39 -05:00
Roy Lenferink
b18bc2ea79
Improved some more bash script variable definitions
2019-01-21 23:11:58 +01:00
Kubernetes Prow Robot
6ce59dd1a2
Merge pull request #72584 from xing-yang/local_cluster
...
Install CRD's in local cluster
2019-01-19 08:07:58 -08:00
Roy Lenferink
4b88af1480
bash syntax improvements
2019-01-19 00:47:06 +01:00
Roy Lenferink
a5d0616bdc
Improving syntax for bash scripts
2019-01-18 19:17:16 +01:00
Xing Yang
36030137b3
Install CRDs in local cluster
...
This PR installs CSIDriver and CSINodeInfo CRDs in the
local cluster.
fixes : #70791
2019-01-18 08:16:31 -08:00
Jordan Liggitt
9229399bd6
Remove build/verify scripts for swagger 1.2 API docs, API server swagger ui / swagger 1.2 config
2019-01-15 13:33:06 -05:00
Antonin Stefanutti
f2dc1e2dc6
Use KUBECTL variable to create kube-apiserver-kubelet-admin clusterrolebinding
2018-12-12 19:16:28 +01:00
Jordan Liggitt
67849e6a94
secure kubelet in local-up-cluster
2018-12-04 00:15:01 -05:00
Pavithra Ramesh
6d7c5e90ed
Removed .salt template , using .sed template
...
Removed default config options from yaml.
Removed unused yaml files
2018-11-13 18:33:34 -08:00
Pavithra Ramesh
73b548db06
Support running a nodelocal dns cache
...
This change includes the yaml files and gce startup script changes
to run this addon. It is disabled by default, can be enabled by setting
KUBE_ENABLE_NODELOCAL_DNS=true
An ip address is required for the cache instance to listen for
requests on, default is a link local ip address of value 169.254.25.10
addressed review comments, updated image location
Picked a different prometheus port so stats port is not same as the
coredns deployment
Removed the nodelocaldns-ready label.
Set memory limit to 30Mi
2018-11-12 14:54:20 -08:00
Jean-Francois Chevrette
c4ea93c42b
update list of default admission plugins
2018-09-30 15:40:34 -04:00
Jean-Francois Chevrette
816c56b619
set default admission plugins on local-up-cluster.sh
2018-09-28 20:49:13 -04:00
k8s-ci-robot
9505330dc8
Merge pull request #69030 from zhangmingld/fixlocalup
...
fix allow-priviledge not work in local-up-cluster
2018-09-27 15:53:28 -07:00
k8s-ci-robot
3f01e09afe
Merge pull request #68970 from yue9944882/fixes-bsd-sed-compatibility
...
Fixes bsd / gnu sed compatibility for local-up-cluster script
2018-09-27 06:06:49 -07:00
k8s-ci-robot
9f681f0f6e
Merge pull request #68778 from xychu/add-reuse-certs
...
Add REUSE_CERT to skip creaing new ca/cert files
2018-09-26 04:57:08 -07:00
zhangmingld
909677802e
fix allow-priviledge not work in local-up-cluster
2018-09-25 17:07:18 +08:00
zuoxiu.jm
fbff5fd084
fixes bsd / gnu sed
2018-09-24 19:42:14 +08:00
Xiangyang Chu
f4d8aa1ca4
Update according to review comments.
...
Will rebase before merge
2018-09-20 16:45:28 +08:00
Xiangyang Chu
385d18d05e
Add REUSE_CERT to skip creaing new ca/cert files
...
It's maybe useful with PERSERVE_ETCD to run apiserver using existed
certs, so that service account secrets will keep valid.
2018-09-18 17:39:15 +08:00
Derek Carr
acdb1b0e98
Fix local-up-cluster when specifying CERT_DIR
2018-09-13 12:45:07 -04:00
Marian Lobur
3f730d4c25
Remove deprecated legacy audit logging code.
2018-08-23 12:08:54 +02:00
Kubernetes Submit Queue
24fa5edb60
Merge pull request #66739 from islinwb/ipvs_mods_check
...
Automatic merge from submit-queue (batch tested with PRs 66489, 66728, 66739). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md ">here</a>.
remove incomplete check of ipvs modules in hack/local-up-cluster.sh
**What this PR does / why we need it**:
Currently `hack/local-up-cluster.sh` executes `sudo modprobe -a ip_vs ip_vs_rr ip_vs_wrr ip_vs_sh nf_conntrack_ipv4` to check whether the ipvs required modules exist, which leaves out the scenario https://github.com/kubernetes/kubernetes/issues/63801 mentioned.
Since `func CanUseIPVSProxier` in `pkg/proxy/ipvs/proxier.go` covers all scenarios, maybe we should just remove this part instead of adding codes.
**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes #
**Special notes for your reviewer**:
**Release note**:
```release-note
NONE
```
2018-07-30 17:10:07 -07:00
Kubernetes Submit Queue
28b6fb5f7d
Merge pull request #66729 from dims/switch-off-leader-election-in-local-up-cluster
...
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md ">here</a>.
Switch off leader election for scheduler and kube/cloud controller
**What this PR does / why we need it**:
We now have leader election on by default, for a single node
local-up-cluster, this is not needed. Let's switch it off
This will reduce the flakiness and timeouts we see in the local e2e CI jobs.
**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes #
**Special notes for your reviewer**:
**Release note**:
```release-note
NONE
```
2018-07-28 13:26:17 -07:00