Cleanup unused/erroneous variables (#6003)

pull/6018/head
Florian Ruynat 2020-04-24 10:54:07 +02:00 committed by GitHub
parent 6674be2572
commit 299e35ebe4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 6 additions and 51 deletions

View File

@ -74,25 +74,6 @@ This mode is best to use on dynamic size cluster
The seed mode also allows multi-clouds and hybrid on-premise/cloud clusters deployment. The seed mode also allows multi-clouds and hybrid on-premise/cloud clusters deployment.
* Switch from consensus mode to seed mode * Switch from consensus mode to seed/Observation mode
```ShellSession See [weave ipam documentation](https://www.weave.works/docs/net/latest/tasks/ipam/ipam/) and use `weave_extra_args` to enable.
# In file ./inventory/sample/group_vars/k8s-cluster.yml
weave_mode_seed: true
```
These two variables are only used when `weave_mode_seed` is set to `true` (**/!\ do not manually change these values**)
```ShellSession
# In file ./inventory/sample/group_vars/k8s-cluster.yml
weave_seed: uninitialized
weave_peers: uninitialized
```
The first variable, `weave_seed`, contains the initial nodes of the weave network
The second variable, `weave_peers`, saves the IPs of all nodes joined to the weave network
These two variables are used to connect a new node to the weave network. The new node needs to know the firsts nodes (seed) and the list of IPs of all nodes.
To reset these variables and reset the weave network set them to `uninitialized`

View File

@ -107,7 +107,6 @@ ingress_publish_status_address: ""
ingress_alb_enabled: false ingress_alb_enabled: false
# alb_ingress_aws_region: "us-east-1" # alb_ingress_aws_region: "us-east-1"
# alb_ingress_restrict_scheme: "false" # alb_ingress_restrict_scheme: "false"
# alb_ingress_log_level: "WARN"
# Enables logging on all outbound requests sent to the AWS API. # Enables logging on all outbound requests sent to the AWS API.
# If logging is desired, set to true. # If logging is desired, set to true.
# alb_ingress_aws_debug: "false" # alb_ingress_aws_debug: "false"

View File

@ -1,7 +1,5 @@
--- ---
## CentOS/RHEL specific variables ## CentOS/RHEL specific variables
# Install epel repo on Centos/RHEL
centos_epel_enabled: false
# Use the fastestmirror yum plugin # Use the fastestmirror yum plugin
centos_fastestmirror_enabled: false centos_fastestmirror_enabled: false

View File

@ -20,10 +20,10 @@ ca-file="{{ kube_config_dir }}/external-openstack-cacert.pem"
[LoadBalancer] [LoadBalancer]
use-octavia={{ external_openstack_lbaas_use_octavia }} use-octavia={{ external_openstack_lbaas_use_octavia }}
create-monitor={{ openstack_lbaas_create_monitor }} create-monitor={{ external_openstack_lbaas_create_monitor }}
monitor-delay={{ openstack_lbaas_monitor_delay }} monitor-delay={{ external_openstack_lbaas_monitor_delay }}
monitor-timeout={{ openstack_lbaas_monitor_timeout }} monitor-timeout={{ external_openstack_lbaas_monitor_timeout }}
monitor-max-retries={{ openstack_lbaas_monitor_max_retries }} monitor-max-retries={{ external_openstack_lbaas_monitor_max_retries }}
{% if external_openstack_lbaas_method is defined %} {% if external_openstack_lbaas_method is defined %}
lb-method={{ external_openstack_lbaas_method }} lb-method={{ external_openstack_lbaas_method }}
{% endif %} {% endif %}

View File

@ -5,5 +5,3 @@ alb_ingress_aws_region: "us-east-1"
# Enables logging on all outbound requests sent to the AWS API. # Enables logging on all outbound requests sent to the AWS API.
# If logging is desired, set to true. # If logging is desired, set to true.
alb_ingress_aws_debug: "false" alb_ingress_aws_debug: "false"
alb_ingress_log_level: "WARN"

View File

@ -394,16 +394,6 @@ local_volume_provisioner_storage_classes: |
# you can use --extra-vars to pass the password in command line # you can use --extra-vars to pass the password in command line
weave_password: EnterPasswordHere weave_password: EnterPasswordHere
# Weave uses consensus mode by default
# Enabling seed mode allow to dynamically add or remove hosts
# https://www.weave.works/docs/net/latest/ipam/
weave_mode_seed: false
# This two variable are automatically changed by the weave's role in group_vars/k8s-cluster.yml.
# Do not manually change these values
weave_seed: uninitialized
weave_peers: uninitialized
# Contiv L3 BGP Mode # Contiv L3 BGP Mode
contiv_peer_with_uplink_leaf: false contiv_peer_with_uplink_leaf: false
contiv_global_as: "65002" contiv_global_as: "65002"

View File

@ -27,10 +27,6 @@ calico_node_memory_limit: 500M
calico_node_cpu_limit: 300m calico_node_cpu_limit: 300m
calico_node_memory_requests: 64M calico_node_memory_requests: 64M
calico_node_cpu_requests: 150m calico_node_cpu_requests: 150m
calicoctl_memory_limit: 170M
calicoctl_cpu_limit: 100m
calicoctl_memory_requests: 32M
calicoctl_cpu_requests: 250m
calico_felix_chaininsertmode: Insert calico_felix_chaininsertmode: Insert
# Enable Prometheus Metrics endpoint for felix # Enable Prometheus Metrics endpoint for felix

View File

@ -8,9 +8,6 @@ canal_iface: ""
# the pod network. # the pod network.
canal_masquerade: "true" canal_masquerade: "true"
# Log-level
canal_log_level: "info"
# Etcd SSL dirs # Etcd SSL dirs
canal_cert_dir: /etc/canal/certs canal_cert_dir: /etc/canal/certs
@ -26,10 +23,6 @@ flannel_memory_limit: 500M
flannel_cpu_limit: 200m flannel_cpu_limit: 200m
flannel_memory_requests: 64M flannel_memory_requests: 64M
flannel_cpu_requests: 50m flannel_cpu_requests: 50m
calicoctl_memory_limit: 170M
calicoctl_cpu_limit: 100m
calicoctl_memory_requests: 32M
calicoctl_cpu_requests: 25m
# etcd cert filenames # etcd cert filenames
kube_etcd_cacert_file: ca.pem kube_etcd_cacert_file: ca.pem