Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
74806a10
Commit
74806a10
authored
Jun 25, 2015
by
Brendan Burns
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #10296 from thockin/eol-registry-cache
EOL Google's registry caching mirror
parents
4237fb25
280f99af
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
0 additions
and
21 deletions
+0
-21
config-default.sh
cluster/aws/config-default.sh
+0
-3
config-test.sh
cluster/aws/config-test.sh
+0
-3
config-default.sh
cluster/gce/config-default.sh
+0
-3
config-test.sh
cluster/gce/config-test.sh
+0
-3
configure-vm.sh
cluster/gce/configure-vm.sh
+0
-7
helper.sh
cluster/gce/coreos/helper.sh
+0
-1
helper.sh
cluster/gce/debian/helper.sh
+0
-1
No files found.
cluster/aws/config-default.sh
View file @
74806a10
...
...
@@ -50,9 +50,6 @@ MASTER_IP_RANGE="${MASTER_IP_RANGE:-10.246.0.0/24}"
# Otherwise amazon-given public ip will be used (it'll change with reboot).
MASTER_RESERVED_IP
=
"
${
MASTER_RESERVED_IP
:-}
"
# When set to true, Docker Cache is enabled by default as part of the cluster bring up.
ENABLE_DOCKER_REGISTRY_CACHE
=
true
# Optional: Install node monitoring.
ENABLE_NODE_MONITORING
=
"
${
KUBE_ENABLE_NODE_MONITORING
:-
true
}
"
...
...
cluster/aws/config-test.sh
View file @
74806a10
...
...
@@ -47,9 +47,6 @@ MASTER_IP_RANGE="${MASTER_IP_RANGE:-10.246.0.0/24}"
MASTER_RESERVED_IP
=
"
${
MASTER_RESERVED_IP
:-}
"
# When set to true, Docker Cache is enabled by default as part of the cluster bring up.
ENABLE_DOCKER_REGISTRY_CACHE
=
true
# Optional: Install node monitoring.
ENABLE_NODE_MONITORING
=
"
${
KUBE_ENABLE_NODE_MONITORING
:-
true
}
"
...
...
cluster/gce/config-default.sh
View file @
74806a10
...
...
@@ -47,9 +47,6 @@ POLL_SLEEP_INTERVAL=3
SERVICE_CLUSTER_IP_RANGE
=
"10.0.0.0/16"
# formerly PORTAL_NET
ALLOCATE_NODE_CIDRS
=
true
# When set to true, Docker Cache is enabled by default as part of the cluster bring up.
ENABLE_DOCKER_REGISTRY_CACHE
=
true
# Optional: Install node monitoring.
ENABLE_NODE_MONITORING
=
"
${
KUBE_ENABLE_NODE_MONITORING
:-
true
}
"
...
...
cluster/gce/config-test.sh
View file @
74806a10
...
...
@@ -47,9 +47,6 @@ MINION_SCOPES=("storage-ro" "compute-rw" "https://www.googleapis.com/auth/loggin
POLL_SLEEP_INTERVAL
=
3
SERVICE_CLUSTER_IP_RANGE
=
"10.0.0.0/16"
# formerly PORTAL_NET
# When set to true, Docker Cache is enabled by default as part of the cluster bring up.
ENABLE_DOCKER_REGISTRY_CACHE
=
true
# Optional: Install node monitoring.
ENABLE_NODE_MONITORING
=
"
${
KUBE_ENABLE_NODE_MONITORING
:-
true
}
"
...
...
cluster/gce/configure-vm.sh
View file @
74806a10
...
...
@@ -550,13 +550,6 @@ function salt-docker-opts() {
DOCKER_OPTS
=
"
${
EXTRA_DOCKER_OPTS
}
"
fi
# Decide whether to enable the cache
if
[[
"
${
ENABLE_DOCKER_REGISTRY_CACHE
}
"
==
"true"
]]
;
then
REGION
=
$(
echo
"
${
ZONE
}
"
|
cut
-f
1,2
-d
-
)
echo
"Enable docker registry cache at region: "
$REGION
DOCKER_OPTS
=
"
${
DOCKER_OPTS
}
--registry-mirror='https://
${
REGION
}
.docker-cache.clustermaster.net'"
fi
if
[[
-n
"{DOCKER_OPTS}"
]]
;
then
cat
<<
EOF
>>/etc/salt/minion.d/grains.conf
docker_opts: '
$(
echo
"
$DOCKER_OPTS
"
|
sed
-e
"s/'/''/g"
)
'
...
...
cluster/gce/coreos/helper.sh
View file @
74806a10
...
...
@@ -87,7 +87,6 @@ MASTER_IP_RANGE=$(yaml-quote ${MASTER_IP_RANGE})
KUBERNETES_MASTER_NAME=
$(
yaml-quote
${
MASTER_NAME
})
ZONE=
$(
yaml-quote
${
ZONE
})
EXTRA_DOCKER_OPTS=
$(
yaml-quote
${
EXTRA_DOCKER_OPTS
:-})
ENABLE_DOCKER_REGISTRY_CACHE=
$(
yaml-quote
${
ENABLE_DOCKER_REGISTRY_CACHE
:-
false
})
PROJECT_ID=
$(
yaml-quote
${
PROJECT
})
KUBERNETES_CONTAINER_RUNTIME=
$(
yaml-quote
${
CONTAINER_RUNTIME
})
RKT_VERSION=
$(
yaml-quote
${
RKT_VERSION
})
...
...
cluster/gce/debian/helper.sh
View file @
74806a10
...
...
@@ -73,7 +73,6 @@ EOF
KUBERNETES_MASTER: "false"
ZONE:
$(
yaml-quote
${
ZONE
})
EXTRA_DOCKER_OPTS:
$(
yaml-quote
${
EXTRA_DOCKER_OPTS
:-})
ENABLE_DOCKER_REGISTRY_CACHE:
$(
yaml-quote
${
ENABLE_DOCKER_REGISTRY_CACHE
:-
false
})
KUBELET_CERT:
$(
yaml-quote
${
KUBELET_CERT_BASE64
:-})
KUBELET_KEY:
$(
yaml-quote
${
KUBELET_KEY_BASE64
:-})
EOF
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment