Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kubespray
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
Kubespray
Commits
10e0fe86
Commit
10e0fe86
authored
5 years ago
by
rptaylor
Committed by
Kubernetes Prow Robot
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
remove unimplemented custom_flags vars, document the extra_args vars (issue 4352) (#5108)
parent
7e164584
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/vars.md
+6
-3
6 additions, 3 deletions
docs/vars.md
roles/kubernetes/master/defaults/main/main.yml
+0
-7
0 additions, 7 deletions
roles/kubernetes/master/defaults/main/main.yml
with
6 additions
and
10 deletions
docs/vars.md
+
6
−
3
View file @
10e0fe86
...
...
@@ -160,12 +160,15 @@ kubelet_custom_flags:
- "--eviction-soft=memory.available<300Mi"
```
The possible vars are:
*
*apiserver_custom_flags*
*
*controller_mgr_custom_flags*
*
*scheduler_custom_flags*
*
*kubelet_custom_flags*
*
*kubelet_node_custom_flags*
Extra flags for the API server, controller, and scheduler components can be specified using these variables,
in the form of dicts of key-value pairs of configuration parameters that will be inserted into the kubeadm YAML config file:
*
*kube_kubeadm_apiserver_extra_args*
*
*kube_kubeadm_controller_extra_args*
*
*kube_kubeadm_scheduler_extra_args*
#### User accounts
By default, a user with admin rights is created, named
`kube`
.
...
...
This diff is collapsed.
Click to expand it.
roles/kubernetes/master/defaults/main/main.yml
+
0
−
7
View file @
10e0fe86
...
...
@@ -136,16 +136,9 @@ kube_webhook_token_auth: false
## Variables for webhook token auth https://kubernetes.io/docs/reference/access-authn-authz/authentication/#webhook-token-authentication
# kube_webhook_token_auth_url: https://...
## Variables for custom flags
apiserver_custom_flags
:
[]
# List of the preferred NodeAddressTypes to use for kubelet connections.
kubelet_preferred_address_types
:
'
InternalDNS,InternalIP,Hostname,ExternalDNS,ExternalIP'
controller_mgr_custom_flags
:
[]
scheduler_custom_flags
:
[]
## Extra args for k8s components passing by kubeadm
kube_kubeadm_apiserver_extra_args
:
{}
kube_kubeadm_controller_extra_args
:
{}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment