- 09 Nov, 2016 1 commit
-
-
Jing Xu authored
This PR is to enable NFS and GlusterFS tests on both node and cluster e2e tests for gci and containervm distro. It also change the code to use ExecCommandInPod instead of kubectl since node does not have kubectl available
-
- 07 Nov, 2016 39 commits
-
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue kubectl: enhancements for deployment progress deadline Changes: * add deployment conditions in the describer * abort 'rollout status' for deployments that have exceeded their progress deadline Depends on https://github.com/kubernetes/kubernetes/pull/35691. @kubernetes/kubectl @kubernetes/deployment Fixes https://github.com/kubernetes/kubernetes/issues/31319
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue test: wait until all pods are available for newly created deployment Fixes https://github.com/kubernetes/kubernetes/issues/35337 @kubernetes/deployment
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Backup before migration Do backup before etcd migration. Ref #20504
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Add verify script for federation OpenAPI spec generation We are missing hack/verify-federation-openapi-spec.sh. It should be something similar to hack/verify-openapi-spec.sh.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fix fluentd-gcp Dockerfile to reduce image size Change reduces image size by 150MB. @piosz
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Add rescheduler logs to the fluentd-gcp configuration Fix #36227 Allows fluentd-gcp plugin to collect rescheduler logs from master node and store in the logging backend. @piosz
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fix setNodeAddress in combination with cloud providers <!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, read our contributor guidelines https://github.com/kubernetes/kubernetes/blob/master/CONTRIBUTING.md and developer guide https://github.com/kubernetes/kubernetes/blob/master/docs/devel/development.md 2. If you want *faster* PR reviews, read how: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/faster_reviews.md 3. Follow the instructions for writing a release note: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/pull-requests.md#release-notes --> **What this PR does / why we need it**: Fixes a follow-up bug introduced by https://github.com/kubernetes/kubernetes/pull/36231 The PR missed to update node.Status.Addresses in case the host name was already set by the cloud provider. fixes #36234
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Rename ScheduledJobs to CronJobs I went with @smarterclayton idea of registering named types in schema. This way we can support both the new (CronJobs) and old (ScheduledJobs) resource name. Fixes #32150. fyi @erictune @caesarxuchao @janetkuo Not ready yet, but getting close there... **Release note**: ```release-note Rename ScheduledJobs to CronJobs. ```
-
Mik Vyatskov authored
-
Mik Vyatskov authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Update fluentd-gcp configuration Related to #32762 Though it's not a final solution to the fluentd OOM problems, it increases number of logs that can be handled without losses by - switching to the file buffering, making buffering mechanism more resilient - decreasing size of the buffer, decreasing the amount of memory needed - decreasing number of threads handling the load, since number of chunks is lower than previous number of threads which results in decrease in theoretical throughput. Tests to confirm cases covered by this change will follow. cc @piosz @edsiper @repeatedly please take look and confirm that all of these changed are meaningful.
-
Alexander Block authored
Actually update node.Status.Addresses when the host name was provided by the cloud provider.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fix hack/local-up by declaring defaults for unbound env vars The variables were not defaulted and caused hack/local-up-cluster to not work.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Bump etcd to 3.0.14 in tests Ref #20504
-
mbohlool authored
-
mbohlool authored
-
Maciej Szulik authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue test: ignore 404 when deleting pods Fixes https://github.com/kubernetes/kubernetes/issues/36265 @kubernetes/deployment
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Improved event generation for HPA.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue azure: loadbalancer rules use DSR **What this PR does / why we need it**: Enables "direct server return" on the load balancer in Azure, which causes the DIP to be preserved when traffic goes through the load balancer. This enables service traffic to go to the Service Port rather than having to go through the NodePort. **Special notes for your reviewer**: N/A. **Tested with...**: ```shell kubectl run nginx --image=nginx kubectl run nginx2 --image=nginx kubectl expose deployment nginx --port=80 --type=LoadBalancer kubectl expose deployment nginx2 --port=80 --type=LoadBalancer ``` Ensuring that both services got external IPs and that the resources created looked correct. **Release note**: ```release-note azure: load balancer preserves destination ip address ``` CC: @brendandburns
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue add podAntiAffinity test cases add podAntiAffinity test cases.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Adding more e2e tests for federated namespace cascading deletion and fixing bugs Ref https://github.com/kubernetes/kubernetes/issues/33612 Adding more e2e tests for testing cascading deletion of federated namespace. New tests are now verifying that cascading deletion happen when DeletionOptions.OrphanDependents=false and it does not happen when DeleteOptions.OrphanDependents=true. Also updated deletion helper to always add OrphanFinalizer. generic registry will remove it if DeleteOptions.OrphanDependents=false. Also updated namespace registry to do the same. We need to add the orphan finalizer to keep the orphan by default behavior. We assume that its dependents are going to be orphaned and hence add that finalizer. If user does not want the orphan behavior, he can do so using DeleteOptions and then the registry will remove that finalizer. cc @kubernetes/sig-cluster-federation @caesarxuchao @derekwaynecarr
-
Maciej Szulik authored
-
Maciej Szulik authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Restore old apiserver cert CN This patch got lost during rebase of https://github.com/kubernetes/kubernetes/pull/35109: - set `host@<unix-timestamp>` as CN in self-signed apiserver certs - skip non-domain CN in getNamedCertificateMap
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Create simple version of ratelimit package Allows for better testing.
-
Wojciech Tyczynski authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Add StatefulSet update pod unit test and set log level <!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, read our contributor guidelines https://github.com/kubernetes/kubernetes/blob/master/CONTRIBUTING.md and developer guide https://github.com/kubernetes/kubernetes/blob/master/docs/devel/development.md 2. If you want *faster* PR reviews, read how: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/faster_reviews.md 3. Follow the instructions for writing a release note: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/pull-requests.md#release-notes --> **What**: - Add petset controller update pet unit test - set petset controller log level **Why** - #32482 fixed "losing pet updated information between update retries", as @bprashanth suggested, "there should be a UT to ensure we fix identity if something corrupts it". I implement the UT in this PR. - set petset controller log level in order to avoid spamming. @bprashanth
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Update godep to 3.0.14 to match release recommendations. Updates godep and regen of bazel build output. /cc @wojtek-t
-
Dr. Stefan Schimanski authored
-
Dr. Stefan Schimanski authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Add more events to disruption controller To provide users with information that their PDB may not be working as intended. cc: @davidopp
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue [RFC] Prepare for deprecating NodeLegacyHostIP Ref https://github.com/kubernetes/kubernetes/issues/9267#issuecomment-257994766 *What this PR does* - Add comments saying "LegacyHostIP" will be deprecated in 1.7; - Add v1.NodeLegacyHostIP to be consistent with the internal API (useful for client-go migration #35159) - Let cloudproviders who used to only set LegacyHostIP set the IP as both InternalIP and ExternalIP - Master used to ssh tunnel to node's ExternalIP or LegacyHostIP to do [healthz check](https://github.com/kubernetes/kubernetes/blame/master/pkg/master/master.go#L328-L332). OTOH, if on-prem, kubelet only [sets](https://github.com/kubernetes/kubernetes/blob/master/pkg/kubelet/kubelet_node_status.go#L430-L431) LegacyHostIP or InternalIP. In order to deprecate LegacyHostIP in 1.7, I let healthz check to use InternalIP if ExternalIP is not available. (The healthz check is the only consumer of LegacyHostIP in k8s.) @liggitt @justinsb @bgrant0607 ```release-note LegacyHostIP will be deprecated in 1.7. ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue [Federation][init-10c] Fix hyperkube binary path in the image and disable auth mechanisms we don't support for now. Please review only the last commit here. This is based on PR #36047 which will be reviewed independently. Design Doc: PR #34484 cc @kubernetes/sig-cluster-federation @nikhiljindal
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Add caching for discovery info with invalidation on cache-miss TODO: - [x] write tests for `CachedDiscoveryClient` - [x] write tests for `DeferredDiscoveryRESTMapper` on cache-miss - [x] find better way/structure to get rid of `invalidateCh` in https://github.com/kubernetes/kubernetes/pull/35418/commits/c06ba3175b0571ee1085e1dab2146b67d8325acf
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fix LBaaS version detection in openstack cloudprovider `lbversion` is the local variable used for version detection when `os.lbOpts.LBVersion` is not specified. xref https://bugzilla.redhat.com/show_bug.cgi?id=1391837 @ncdc @derekwaynecarr @anguslees
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fix possible race in operationNotSupportedCache Because we can run multiple workers to delete namespaces simultaneously, the operationNotSupportedCache needs to be guarded with a mutex to avoid concurrent map read/write errors.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Reduce spam in Events from scheduler by counter aggregation of failure Fixes #35842 Part of overall #35555
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Node Conformance Test: Add system verification For #30122 and #29081. This PR introduces system verification test in node e2e and conformance test. It will run before the real test. Once the system verification fails, the test will just fail. The output of the system verification is like this: ``` I0909 23:33:20.622122 2717 validators.go:45] Validating os... OS: Linux I0909 23:33:20.623274 2717 validators.go:45] Validating kernel... I0909 23:33:20.624037 2717 kernel_validator.go:79] Validating kernel version KERNEL_VERSION: 3.16.0-4-amd64 I0909 23:33:20.624146 2717 kernel_validator.go:93] Validating kernel config CONFIG_NAMESPACES: enabled CONFIG_NET_NS: enabled CONFIG_PID_NS: enabled CONFIG_IPC_NS: enabled CONFIG_UTS_NS: enabled CONFIG_CGROUPS: enabled CONFIG_CGROUP_CPUACCT: enabled CONFIG_CGROUP_DEVICE: enabled CONFIG_CGROUP_FREEZER: enabled CONFIG_CGROUP_SCHED: enabled CONFIG_CPUSETS: enabled CONFIG_MEMCG: enabled I0909 23:33:20.679328 2717 validators.go:45] Validating cgroups... CGROUPS_CPU: enabled CGROUPS_CPUACCT: enabled CGROUPS_CPUSET: enabled CGROUPS_DEVICES: enabled CGROUPS_FREEZER: enabled CGROUPS_MEMORY: enabled I0909 23:33:20.679454 2717 validators.go:45] Validating docker... DOCKER_GRAPH_DRIVER: aufs ``` It verifies the system following a predefined `SysSpec`: ``` go // DefaultSysSpec is the default SysSpec. var DefaultSysSpec = SysSpec{ OS: "Linux", KernelVersion: []string{`3\.[1-9][0-9].*`, `4\..*`}, // Requires 3.10+ or 4+ // TODO(random-liu): Add more config KernelConfig: KernelConfig{ Required: []string{ "NAMESPACES", "NET_NS", "PID_NS", "IPC_NS", "UTS_NS", "CGROUPS", "CGROUP_CPUACCT", "CGROUP_DEVICE", "CGROUP_FREEZER", "CGROUP_SCHED", "CPUSETS", "MEMCG", }, Forbidden: []string{}, }, Cgroups: []string{"cpu", "cpuacct", "cpuset", "devices", "freezer", "memory"}, RuntimeSpec: RuntimeSpec{ DockerSpec: &DockerSpec{ Version: []string{`1\.(9|\d{2,})\..*`}, // Requires 1.9+ GraphDriver: []string{"aufs", "overlay", "devicemapper"}, }, }, } ``` Currently, it only supports: - Kernel validation: version validation and kernel configuration validation - Cgroup validation: validating whether required cgroups subsystems are enabled. - Runtime Validation: currently, only validates docker graph driver. The validating framework is ready. The specific validation items could be added over time. @dchen1107 /cc @kubernetes/sig-node
-