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

Cluster autoscaler doc - part 1 #677

Closed
wants to merge 1 commit into from
Closed

Conversation

mwielgus
Copy link
Contributor

@fgrzadkowski fgrzadkowski self-assigned this Jun 16, 2016
The initial values of the autoscaler parameters set by `kube-up.sh` and some more advanced options can be tweaked on
`Compute > Compute Engine > Instance groups > your group > Edit group`[Google Cloud Console page](https://console.developers.google.com)
or using gcloud CLI:
* It has more that 50% of cpu and memory not requested by any pod.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd remove this part. It's an implenentation details, which is a pure heuristic to find good candidates for removal.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, but it also explains why some nodes that could potentially be removed are not deleted.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Then let's rephrase it to be more vague and say that we will choose "some nodes" that are not needed. I strongly believe that user documentation should include any implementation details, as they will start depending it. It's like with the API.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I disagree - we can always mark that this strategy may change in the future.
I wouldn't trust such autoscaler that sometimes may delete some nodes based on some vague conditions.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But then you'd have to describe the whole logic here to be complete. Let's discuss in person/VC tomorrow and ask @piosz and @jszczepkowski for opinion.

@mwielgus mwielgus force-pushed the ca-doc branch 3 times, most recently from 6fef930 to f08f04d Compare June 16, 2016 16:03
To make the metrics accessible, you need to create your cluster with `KUBE_ENABLE_CLUSTER_MONITORING`
equal to `google` or `googleinfluxdb` (`googleinfluxdb` is the default value). Please also make sure
that you have Google Cloud Monitoring API enabled in Google Developer Console.
**Cluster autoscaler assumes that all nodes inside a signle instance group or node pool are roughly the same, they don't have any manually added labels, etc. Please create a separate instance group/node pool if you want to add some labels to them.**
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/signle/single

I'd expect that user will the same concerns regarding "roughly the same". If this is only about label we should say this explicitly. Or we can phrase it differently, like "we expect that nodes where not manually modified (e.g. by adding labels via kubectl) as those properties would be propagated to the new nodes within the same instance group".

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@fgrzadkowski
Copy link
Contributor

I think that this PR should be against branch release-1.3, not master.

@mwielgus
Copy link
Contributor Author

It should also be made in master - the feature will not go away in 1.4. I can create another one for 1.3.

@fgrzadkowski
Copy link
Contributor

My understanding is that master is the current release, i.e. 1.2. Later 1.3 will become master, master will become 1.2 and we'll create new branch for 1.4

@johndmulhausen
Copy link

Yes, this should have been opened against the release-1.3 branch, but you're not alone in the confusion here.

@fgrzadkowski
Copy link
Contributor

@johndmulhausen Can we change this PR to be against 1.3 release and merge it now, instead of waiting for the release?

@erictune
Copy link
Member

erictune commented Jun 21, 2016

@mwielgus : We are asking the PR authors to do the rebase.

To rebase your work on 1.3 do something like this starting in the branch that you used for this PR:

COMMITS=$(git log master.. | grep commit | cut -f 2 -d " " | tac)
BR=$(git rev-parse --abbrev-ref HEAD)
git fetch upstream
git checkout upstream/release-1.3
git checkout -b $BR-1.3
for c in $COMMITS
do
  git cherry-pick $c; done
done
git push

@johndmulhausen
Copy link

@fgrzadkowski Yes, if you rebase this against 1.3 we can merge it now! Thanks to @erictune for providing instructions

@googlebot
Copy link

We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for the commit author(s). If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google.

@mwielgus
Copy link
Contributor Author

Unfortunately it seems that we cannot do this under this PR (or maybe can someone change the target branch of this PR). Please reopen #684 which is for the correct branch.

@googlebot
Copy link

We found a Contributor License Agreement for you (the sender of this pull request) and all commit authors, but as best as we can tell these commits were authored by someone else. If that's the case, please add them to this pull request and have them confirm that they're okay with these commits being contributed to Google. If we're mistaken and you did author these commits, just reply here to confirm.

@googlebot
Copy link

CLAs look good, thanks!

@johndmulhausen
Copy link

@mwielgus Reopened PR. Merging that one. Closing this one. :)

mikutas pushed a commit to mikutas/k8s-website that referenced this pull request Feb 24, 2021
* Elaborate on using Vault + third party solutions

Signed-off-by: Zahari Dichev <[email protected]>

* Generalize to other solutions

Signed-off-by: Zahari Dichev <[email protected]>
Okabe-Junya pushed a commit to Okabe-Junya/website that referenced this pull request Dec 4, 2023
* feat: update config.toml with main
Okabe-Junya pushed a commit to Okabe-Junya/website that referenced this pull request Dec 4, 2023
* feat: update config.toml with main
Okabe-Junya pushed a commit to Okabe-Junya/website that referenced this pull request Dec 4, 2023
* Update CODEOWNERS in dev-pt to sync with main

* Settings and initial contents for Portuguese localization (kubernetes#343)

* docs: add configs and index to content/pt

* docs: add contribute and style guide to content/pt

* docs: add more translated content and update index.md

* doc: add i18n/pt.toml

* doc: change configs to use pt-br instead of pt

* docs: add style-guide in pt-br

* docs: small typos in pt-br

* docs: small contribute in ptbr

* docs: fix markdown at style-guide

Co-authored-by: Seokho Son <[email protected]>

* docs: fix weight to pt-br config

Co-authored-by: Seokho Son <[email protected]>

* docs: remove i18n/pt.toml

Co-authored-by: Seokho Son <[email protected]>

* Update CODEOWNDERS for dev-pt

* Add content/pt-br/application_programming_interface.md (kubernetes#437)

* Add content/pt-br/application_programming_interface.md

Signed-off-by: Jéssica Lins <[email protected]>

* Add content/pt-br/blue_green_deployment.md (kubernetes#436)

* Add content/pt-br/blue_green_deployment.md
Signed-off-by: Jéssica Lins <[email protected]>

* adding client_server_architecture localization (kubernetes#480)

* Add content/pt-br/bare_metal_machine.md (kubernetes#493)

* Add content/pt-br/bare_metal_machine.md

* Add content/pt-br/container-image.md

* Update content/pt-br/bare_metal_machine.md

* Remove container-image.md

* Traduzido título

* Add content/pt-br/devops.md (kubernetes#478)

* docs(pt-br): add content/pt-br/devops.md

* Add content/pt-br/containerization.md (kubernetes#487)

* docs: add containerization.md localization to ptbr

* Update content/pt-br/containerization.md

Co-authored-by: Jéssica Lins  <[email protected]>

* Update content/pt-br/containerization.md

Co-authored-by: Jéssica Lins  <[email protected]>

* Update content/pt-br/containerization.md

Co-authored-by: Jéssica Lins  <[email protected]>

Co-authored-by: Jéssica Lins  <[email protected]>

* Add content/pt-br/cluster.md (kubernetes#486)

* docs: add cluster.md localization to ptbr

* docs: add cluster.md localization to ptbr

* Apply suggested reviews

Co-authored-by: Jéssica Lins  <[email protected]>

Co-authored-by: Jéssica Lins  <[email protected]>

* Add content/pt-br/container.md (kubernetes#485)

* docs: add container.md localization to ptbr

* feat: improve some sentences

* Add content/pt-br/cloud_native_apps.md (kubernetes#596)

* Add content/pt-br/bare_metal_machine.md

* Add content/pt-br/container-image.md

* Update content/pt-br/bare_metal_machine.md

* Remove container-image.md

* Traduzido título

* Remove bare_metal_machine.md

* Add content/pt-br/cloud_native_apps.md

* Add content/pt-br/container-image.md (kubernetes#557)

* Add content/pt-br/bare_metal_machine.md

* Add content/pt-br/container-image.md

* Update content/pt-br/bare_metal_machine.md

* Remove container-image.md

* Traduzido título

* Add container-image.md

* Remove bare_metal_machine.md

* Change from registros do contêiner to repositório de imagens

* api gateway localization (kubernetes#479)

* Add content/pt-br/cloud_native_security.md (kubernetes#643)

* Add content/pt-br/bare_metal_machine.md

* Add content/pt-br/container-image.md

* Update content/pt-br/bare_metal_machine.md

* Remove container-image.md

* Traduzido título

* Traduzido cloud_native_security

* Add content/pt-br/canary_deployment.md (kubernetes#595)

* Add content/pt-br/bare_metal_machine.md

* Add content/pt-br/container-image.md

* Update content/pt-br/bare_metal_machine.md

* Remove container-image.md

* Traduzido título

* Remove bare_metal_machine.md

* Add canary_deployment.md

* Add content/pt-br/continuous_delivery.md (kubernetes#558)

* Add content/pt-br/bare_metal_machine.md

* Add content/pt-br/container-image.md

* Update content/pt-br/bare_metal_machine.md

* Remove container-image.md

* Traduzido título

* Remove bare_metal_machine.md

* Add continuous_delivery.md

* Add content/pt-br/contributor-ladder (kubernetes#662)

* feat: start localization to contributor ladder

* feat: add contributor ladder

* docs: add more translation to contributor ladder

* feat: add more translation to contributor ladder

* feat: add more translation to contributor ladder

* fix: fix small typos

* Apply suggestions from code review

Co-authored-by: Jéssica Lins  <[email protected]>

* feat: apply suggestions by code review

* feat: change "." to ";"

Co-authored-by: Jéssica Lins  <[email protected]>

* feat: change style guide to how to contribute and style guide (kubernetes#663)

* Add content/pt-br/continuous_integration.md (kubernetes#594)

* Add content/pt-br/bare_metal_machine.md

* Add content/pt-br/container-image.md

* Update content/pt-br/bare_metal_machine.md

* Remove container-image.md

* Traduzido título

* Remove bare_metal_machine.md

* Add continuous_integration.md

* Sentence structure adjustment

* [pt-BR] Add contributors names  (kubernetes#671)

* feat: add contributors

* feat: add ptbr contributors

* [pt-BR] Update config.toml  (kubernetes#677)

* feat: update config.toml with main

* Settings and initial contents for Portuguese localization (kubernetes#343)

* docs: add configs and index to content/pt

* docs: add contribute and style guide to content/pt

* docs: add more translated content and update index.md

* doc: add i18n/pt.toml

* doc: change configs to use pt-br instead of pt

* docs: add style-guide in pt-br

* docs: small typos in pt-br

* docs: small contribute in ptbr

* docs: fix markdown at style-guide

Co-authored-by: Seokho Son <[email protected]>

* docs: fix weight to pt-br config

Co-authored-by: Seokho Son <[email protected]>

* docs: remove i18n/pt.toml

Co-authored-by: Seokho Son <[email protected]>

* Add content/pt-br/application_programming_interface.md (kubernetes#437)

* Add content/pt-br/application_programming_interface.md

Signed-off-by: Jéssica Lins <[email protected]>

* Add content/pt-br/blue_green_deployment.md (kubernetes#436)

* Add content/pt-br/blue_green_deployment.md
Signed-off-by: Jéssica Lins <[email protected]>

* adding client_server_architecture localization (kubernetes#480)

* Add content/pt-br/bare_metal_machine.md (kubernetes#493)

* Add content/pt-br/bare_metal_machine.md

* Add content/pt-br/container-image.md

* Update content/pt-br/bare_metal_machine.md

* Remove container-image.md

* Traduzido título

* Add content/pt-br/devops.md (kubernetes#478)

* docs(pt-br): add content/pt-br/devops.md

* Add content/pt-br/containerization.md (kubernetes#487)

* docs: add containerization.md localization to ptbr

* Update content/pt-br/containerization.md

Co-authored-by: Jéssica Lins  <[email protected]>

* Update content/pt-br/containerization.md

Co-authored-by: Jéssica Lins  <[email protected]>

* Update content/pt-br/containerization.md

Co-authored-by: Jéssica Lins  <[email protected]>

Co-authored-by: Jéssica Lins  <[email protected]>

* Add content/pt-br/cluster.md (kubernetes#486)

* docs: add cluster.md localization to ptbr

* docs: add cluster.md localization to ptbr

* Apply suggested reviews

Co-authored-by: Jéssica Lins  <[email protected]>

Co-authored-by: Jéssica Lins  <[email protected]>

* Add content/pt-br/container.md (kubernetes#485)

* docs: add container.md localization to ptbr

* feat: improve some sentences

* Add content/pt-br/cloud_native_apps.md (kubernetes#596)

* Add content/pt-br/bare_metal_machine.md

* Add content/pt-br/container-image.md

* Update content/pt-br/bare_metal_machine.md

* Remove container-image.md

* Traduzido título

* Remove bare_metal_machine.md

* Add content/pt-br/cloud_native_apps.md

* Add content/pt-br/container-image.md (kubernetes#557)

* Add content/pt-br/bare_metal_machine.md

* Add content/pt-br/container-image.md

* Update content/pt-br/bare_metal_machine.md

* Remove container-image.md

* Traduzido título

* Add container-image.md

* Remove bare_metal_machine.md

* Change from registros do contêiner to repositório de imagens

* api gateway localization (kubernetes#479)

* Add content/pt-br/cloud_native_security.md (kubernetes#643)

* Add content/pt-br/bare_metal_machine.md

* Add content/pt-br/container-image.md

* Update content/pt-br/bare_metal_machine.md

* Remove container-image.md

* Traduzido título

* Traduzido cloud_native_security

* Add content/pt-br/canary_deployment.md (kubernetes#595)

* Add content/pt-br/bare_metal_machine.md

* Add content/pt-br/container-image.md

* Update content/pt-br/bare_metal_machine.md

* Remove container-image.md

* Traduzido título

* Remove bare_metal_machine.md

* Add canary_deployment.md

* Add content/pt-br/continuous_delivery.md (kubernetes#558)

* Add content/pt-br/bare_metal_machine.md

* Add content/pt-br/container-image.md

* Update content/pt-br/bare_metal_machine.md

* Remove container-image.md

* Traduzido título

* Remove bare_metal_machine.md

* Add continuous_delivery.md

* Add content/pt-br/contributor-ladder (kubernetes#662)

* feat: start localization to contributor ladder

* feat: add contributor ladder

* docs: add more translation to contributor ladder

* feat: add more translation to contributor ladder

* feat: add more translation to contributor ladder

* fix: fix small typos

* Apply suggestions from code review

Co-authored-by: Jéssica Lins  <[email protected]>

* feat: apply suggestions by code review

* feat: change "." to ";"

Co-authored-by: Jéssica Lins  <[email protected]>

* feat: change style guide to how to contribute and style guide (kubernetes#663)

* Add content/pt-br/continuous_integration.md (kubernetes#594)

* Add content/pt-br/bare_metal_machine.md

* Add content/pt-br/container-image.md

* Update content/pt-br/bare_metal_machine.md

* Remove container-image.md

* Traduzido título

* Remove bare_metal_machine.md

* Add continuous_integration.md

* Sentence structure adjustment

* [pt-BR] Add contributors names  (kubernetes#671)

* feat: add contributors

* feat: add ptbr contributors

* [pt-BR] Update config.toml  (kubernetes#677)

* feat: update config.toml with main

* feat: translate feedback section in ptbr

Co-authored-by: Seokho Son <[email protected]>
Co-authored-by: Jéssica Lins <[email protected]>
Co-authored-by: Willian dos Santos <[email protected]>
Co-authored-by: Mr. Erlison <[email protected]>
Co-authored-by: Marcelo Mansur <[email protected]>
Okabe-Junya pushed a commit to Okabe-Junya/website that referenced this pull request Dec 4, 2023
* feat: update config.toml with main
Okabe-Junya pushed a commit to Okabe-Junya/website that referenced this pull request Dec 4, 2023
* feat: update config.toml with main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants