Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

[kubespray] Doc in contribute to guide user deploy k8s through kubespray #3757

Merged
merged 70 commits into from
Nov 13, 2019

Conversation

ydye
Copy link
Contributor

@ydye ydye commented Oct 21, 2019

@ydye ydye changed the title [kubespray] kubespray [kubespray][WIP] kubespray configuration Oct 21, 2019
@ydye ydye assigned 04diiguyi and unassigned 04diiguyi Oct 21, 2019
@ydye
Copy link
Contributor Author

ydye commented Oct 21, 2019

please review each component's configuration

Comment on lines 73 to 75
- "--eviction-hard="
- "--image-gc-high-threshold=100"
- "--image-gc-low-threshold=95"
Copy link
Member

Choose a reason for hiding this comment

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

these flags have been deprecated in kubelet.

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.

## Example: Up to 256 nodes, 100 pods per node (/16 network):
## - kube_service_addresses: 10.233.0.0/17
## - kube_pods_subnet: 10.233.128.0/17
## - kube_network_node_prefix: 25
Copy link
Member

Choose a reason for hiding this comment

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

leading - is not needed

Copy link
Contributor Author

Choose a reason for hiding this comment

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

example

Copy link
Member

Choose a reason for hiding this comment

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

the example makes it like a list


############## nginx configuration ##############

# Requests for load balancer app
Copy link
Member

Choose a reason for hiding this comment

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

pls keep the same format and use ##

Comment on lines 233 to 241
--graph={{ docker_daemon_graph }} {% if ansible_os_family not in ["openSUSE Leap", "openSUSE Tumbleweed", "Suse"] %}{{ docker_log_opts }}{% endif %}
{%- else %}
--data-root={{ docker_daemon_graph }} {% if ansible_os_family not in ["openSUSE Leap", "openSUSE Tumbleweed", "Suse"] %}{{ docker_log_opts }}{% endif %}
{%- endif %}
{%- if ansible_architecture == "aarch64" and ansible_os_family == "RedHat" %}
--add-runtime docker-runc=/usr/libexec/docker/docker-runc-current
--default-runtime=docker-runc --exec-opt native.cgroupdriver=systemd
--userland-proxy-path=/usr/libexec/docker/docker-proxy-current --signature-verification=false
{%- endif -%}
Copy link
Member

Choose a reason for hiding this comment

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

wrong indent in yaml?

@abuccts abuccts mentioned this pull request Nov 11, 2019
42 tasks
@ydye ydye changed the title [kubespray][WIP] kubespray configuration [kubespray] kubespray configuration Nov 12, 2019
@ydye ydye changed the title [kubespray] kubespray configuration [kubespray] Doc in contri to guide deploy k8s through kubespray Nov 13, 2019
@ydye ydye changed the title [kubespray] Doc in contri to guide deploy k8s through kubespray [kubespray] Doc in contribute to guide deploy k8s through kubespray Nov 13, 2019
@ydye ydye changed the title [kubespray] Doc in contribute to guide deploy k8s through kubespray [kubespray] Doc in contribute to guide user deploy k8s through kubespray Nov 13, 2019
@ydye ydye merged commit e6667b9 into master Nov 13, 2019
@ydye ydye deleted the yuye/kubespary-k8s-config branch November 14, 2019 08:34
@hzy46 hzy46 mentioned this pull request Apr 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants