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
51794e4c
Commit
51794e4c
authored
6 years ago
by
rongzhang
Browse files
Options
Downloads
Patches
Plain Diff
Deploying k8s clusters in a private environment
parent
b249b060
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
roles/download/defaults/main.yml
+7
-0
7 additions, 0 deletions
roles/download/defaults/main.yml
roles/kubespray-defaults/defaults/main.yaml
+5
-8
5 additions, 8 deletions
roles/kubespray-defaults/defaults/main.yaml
with
12 additions
and
8 deletions
roles/download/defaults/main.yml
+
7
−
0
View file @
51794e4c
...
...
@@ -61,6 +61,13 @@ kubeadm_checksum: 6b17720a65b8ff46efe92a5544f149c39a221910d89939838d75581d4e6924
vault_binary_checksum
:
3c4d70ba71619a43229e65c67830e30e050eab7a81ac6b28325ff707e5914188
# Containers
# In some cases, we need a way to set --registry-mirror or --insecure-registry for docker,
# it helps a lot for local private development or bare metal environment.
# So you need define --registry-mirror or --insecure-registry, and modify the following url address.
# example:
# You need to deploy kubernetes cluster on local private development.
# Also provide the address of your own private registry.
# And use --insecure-registry options for docker
etcd_image_repo
:
"
quay.io/coreos/etcd"
etcd_image_tag
:
"
{{
etcd_version
}}{%-
if
image_arch
!=
'amd64'
-%}-{{
image_arch
}}{%-
endif
-%}"
flannel_image_repo
:
"
quay.io/coreos/flannel"
...
...
This diff is collapsed.
Click to expand it.
roles/kubespray-defaults/defaults/main.yaml
+
5
−
8
View file @
51794e4c
...
...
@@ -166,9 +166,6 @@ docker_iptables_enabled: "false"
# Rotate container stderr/stdout logs at 50m and keep last 5
docker_log_opts
:
"
--log-opt
max-size=50m
--log-opt
max-file=5"
# define docker bin_dir
docker_bin_dir
:
"
/usr/bin"
## An obvious use case is allowing insecure-registry access to self hosted registries.
## Can be ipddress and domain_name.
## example define 172.19.16.11 or mirror.registry.io
...
...
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