Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add KUBE_APISERVER_REQUEST_TIMEOUT_SEC env var. #51480

Merged
merged 1 commit into from
Sep 1, 2017

Conversation

mml
Copy link
Contributor

@mml mml commented Aug 28, 2017

Cluster startup support for the flag added by #51415. I won't merge until that PR merges.

Bug: #51355

cc @jpbetz

Expose --request-timeout apiserver flag via cluster startup scripts

@mml mml added the do-not-merge DEPRECATED. Indicates that a PR should not merge. Label can only be manually applied/removed. label Aug 28, 2017
@k8s-ci-robot k8s-ci-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Aug 28, 2017
@mml
Copy link
Contributor Author

mml commented Aug 29, 2017

/release-note none

@mml
Copy link
Contributor Author

mml commented Aug 29, 2017

/retest

@mml mml added release-note-none Denotes a PR that doesn't merit a release note. and removed release-note-label-needed labels Aug 29, 2017
@jpbetz
Copy link
Contributor

jpbetz commented Aug 29, 2017

Reviewed the changes and compared them to some similar flags. All the changes look right.

Maybe add to cluster/gce/config-test.sh as well for completeness?

@mml mml modified the milestones: v1.6, v1.7 Aug 29, 2017
@mml mml force-pushed the timeout-flag branch 2 times, most recently from 032ec01 to 98a8e89 Compare August 29, 2017 20:28
@mml mml added cherrypick-candidate and removed do-not-merge DEPRECATED. Indicates that a PR should not merge. Label can only be manually applied/removed. labels Aug 29, 2017
@mml mml added this to the v1.6 milestone Aug 29, 2017
@k8s-cherrypick-bot
Copy link

Removing label cherrypick-candidate because no release milestone was set. This is an invalid state and thus this PR is not being considered for cherry-pick to any release branch. Please add an appropriate release milestone and then re-add the label.

@mml
Copy link
Contributor Author

mml commented Aug 29, 2017

/assign @roberthbailey

@roberthbailey
Copy link
Contributor

This plumbs the flag through but it isn't being used by anything (config-default / config-test). Do we plan to use it in any e2e tests?

As an aside, it would be really nice to stop having to plumb new flags in via this method and start to switch the apiserver over to using component configuration. Even though daniel said in https://docs.google.com/document/d/17C2D1Ghgv40pWByevo0ih8T-18Q1GlxbR4gu1_ZKlPE/edit that moving to component config wouldn't address technical debt, every time we plumb through a new flag we are essentially adding new technical debt that will need to be addressed in the future.

@mml
Copy link
Contributor Author

mml commented Aug 30, 2017

@roberthbailey the plumbing here is mainly to support setting it for GKE. I may have changed more than I needed to, but I also didn't want to provide no way for, say, a GCE cluster started with kube-up to tweak that flag. LMK if you would like me to reduce scope, or if I missed something.

@roberthbailey
Copy link
Contributor

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Aug 31, 2017
@k8s-github-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mml, roberthbailey

Associated issue: 51415

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these OWNERS Files:

You can indicate your approval by writing /approve in a comment
You can cancel your approval by writing /approve cancel in a comment

@k8s-github-robot k8s-github-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 31, 2017
@fejta-bot
Copy link

/retest
This bot automatically retries jobs that failed/flaked on approved PRs (send feedback to @fejta).

Review the full test history for this PR.

1 similar comment
@fejta-bot
Copy link

/retest
This bot automatically retries jobs that failed/flaked on approved PRs (send feedback to @fejta).

Review the full test history for this PR.

@mml
Copy link
Contributor Author

mml commented Aug 31, 2017

/retest

If set, connect it to kube-apiserver's --request-timeout flag.
@k8s-github-robot k8s-github-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Aug 31, 2017
@mml mml added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Aug 31, 2017
@mml
Copy link
Contributor Author

mml commented Sep 1, 2017

kubernetes/test-infra#4195
/retest

@k8s-github-robot
Copy link

Automatic merge from submit-queue (batch tested with PRs 51480, 49616, 50123, 50846, 50404)

@k8s-github-robot k8s-github-robot merged commit 9a3a578 into kubernetes:master Sep 1, 2017
k8s-github-robot pushed a commit that referenced this pull request Sep 12, 2017
…-upstream-release-1.6

Automatic merge from submit-queue

Automated cherry pick of #51480 upstream release 1.6

If set, connect it to kube-apiserver's --request-timeout flag.

Cherrypick of #51480



**What this PR does / why we need it**:

Backporting to support Kubernetes users with slower internet connections that need the ability to increase this timeout.

**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #

**Special notes for your reviewer**:

**Release note**:

```release-note
```
@k8s-cherrypick-bot
Copy link

Commit found in the "release-1.6" branch appears to be this PR. Removing the "cherrypick-candidate" label. If this is an error find help to get your PR picked.

@jpbetz
Copy link
Contributor

jpbetz commented Sep 13, 2017

Created PR #52384 to merge this into 1.7.

k8s-github-robot pushed a commit that referenced this pull request Sep 13, 2017
Automatic merge from submit-queue (batch tested with PRs 52316, 52289, 52375)

Small fix in salt manifest for kube-apiserver for request-timeout flag

**What this PR does / why we need it**:

Fixes a minor bug in salt manifest (typo from #51480)

**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes
**Special notes for your reviewer**:

**Release note**:

```release-note
NONE
```

xref: #51355
@wojtek-t wojtek-t added the cherry-pick-approved Indicates a cherry-pick PR into a release branch has been approved by the release branch manager. label Sep 13, 2017
k8s-github-robot pushed a commit that referenced this pull request Sep 13, 2017
#52316-upstream-release-1.7

Automatic merge from submit-queue

Automated cherry pick of #51480 #52316 upstream release 1.7

Cherry pick of #51480 and #52316 on release-1.7.

#51480 : Add KUBE_APISERVER_REQUEST_TIMEOUT_SEC env var.
#52316 : Small fix in salt manifest for kube-apiserver for request-timeout flag

@jpbetz
@k8s-cherrypick-bot
Copy link

Commit found in the "release-1.7" branch appears to be this PR. Removing the "cherrypick-candidate" label. If this is an error find help to get your PR picked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cherry-pick-approved Indicates a cherry-pick PR into a release branch has been approved by the release branch manager. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. release-note-none Denotes a PR that doesn't merit a release note. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants