Skip to content
This repository was archived by the owner on Jun 6, 2024. It is now read-only.
Merged
Changes from 1 commit
Commits
Show all changes
80 commits
Select commit Hold shift + click to select a range
727dfa8
Add basic docker-cache folder
SwordFaith Jan 15, 2021
e95e05b
Update docker-cache configs and scripts
SwordFaith Jan 18, 2021
d25c6d1
Add uri in docker-cache config
SwordFaith Jan 18, 2021
4ef4cb4
Add pylon env and location for docker cache
SwordFaith Jan 18, 2021
241307e
Add basic docker_cache.py
SwordFaith Jan 19, 2021
10ca21b
Add service.yaml
SwordFaith Jan 19, 2021
efc4230
Update docker-cache.yaml.template
SwordFaith Jan 19, 2021
facd854
Fix missing docker_cache bug in docker-cache.yaml.template
SwordFaith Jan 19, 2021
4fe370c
Seperate docker-cache.yaml.template to multiple template files
SwordFaith Jan 19, 2021
29bfb12
Remove docker-cache namespace
SwordFaith Jan 19, 2021
798f141
Try to fix containerPort type error
SwordFaith Jan 19, 2021
784a373
Fix stop.sh file not find error and docker-cache-service namespace error
SwordFaith Jan 19, 2021
75a1a77
Modify default service nodeport to valid range
SwordFaith Jan 19, 2021
2eadc5c
Merge branch 'master' into swordfaith/docker-cache-deploy
SwordFaith Jan 22, 2021
c17ca58
Add docker-cache option in role docker-runtime
SwordFaith Jan 27, 2021
d010e92
Add docker-cache related config in kubespray
SwordFaith Jan 27, 2021
23f7293
Add test play book
SwordFaith Jan 27, 2021
1518147
Move docker-cache-dist to parent dir
SwordFaith Jan 27, 2021
6d5f47c
Add enable docker-cache info in role tasks
SwordFaith Jan 27, 2021
d9ad362
Disable docker-cache htpasswd auth
SwordFaith Jan 27, 2021
6986826
Change daemon.json mirror to default nodeport conf
SwordFaith Jan 28, 2021
fbd696a
Change legacy daemon.json path to default
SwordFaith Jan 28, 2021
4bef655
Add systemctl reload task
SwordFaith Jan 28, 2021
8de7c3a
Avoid install nvidia-runtime by default
SwordFaith Jan 28, 2021
9d2619c
Fix bug in config dist load config command
SwordFaith Jan 28, 2021
f351c45
Revert docker-runtime role as it is
SwordFaith Jan 28, 2021
ad794c5
Move docker-cache related op to docker-cache role
SwordFaith Jan 28, 2021
fc8b753
Update docker-cache daemon.json
SwordFaith Jan 28, 2021
a25a04a
Update a version works for job submit cache
SwordFaith Jan 29, 2021
eb81c5f
Add sample deploy config and script
SwordFaith Jan 29, 2021
bf83b5d
Add process logic if undefine other mirrors and insecure registries
SwordFaith Jan 29, 2021
3731d46
Add docker-cache config to service-conf
SwordFaith Jan 29, 2021
699a599
Fix bug in get docker config func name
SwordFaith Jan 29, 2021
4307571
Fix typo in docker cache config keys
SwordFaith Jan 29, 2021
4520d3e
Fix bug in docker-cache template list
SwordFaith Jan 29, 2021
e0b46a4
Modify docker-cache start.sh.template
SwordFaith Jan 29, 2021
97d93f7
Fix start.sh.template condition
SwordFaith Jan 29, 2021
f580371
Test another template condition to docker-cache start.sh
SwordFaith Jan 29, 2021
1428fd0
Cancel start.sh.template to start.sh.
SwordFaith Jan 29, 2021
9bbbf81
update
SwordFaith Jan 29, 2021
665f845
Test start.sh.template
SwordFaith Jan 29, 2021
f7b9f13
update
SwordFaith Jan 29, 2021
d2cbe5a
update
SwordFaith Jan 29, 2021
936db62
Add docker-cache as prerequisite of most job
SwordFaith Feb 4, 2021
a1ec787
Merge branch 'master' into swordfaith/docker-cache-deploy
SwordFaith Feb 4, 2021
e5dd6b2
Add docker-cache config to kubespray config
SwordFaith Feb 5, 2021
50d0119
Add insecure_registry and mirror diff logic
SwordFaith Feb 5, 2021
21e1b6b
Fix docker insecure registry and mirror format error
SwordFaith Feb 5, 2021
8c79630
Merge branch 'master' into swordfaith/docker-cache-deploy
SwordFaith Feb 5, 2021
624b366
Fix pylint errors
SwordFaith Feb 7, 2021
6157910
Fix deployment delete error
SwordFaith Feb 7, 2021
b253761
Add enable option in docker-cache to support start.sh.template
SwordFaith Feb 7, 2021
d55f4be
Fix service conf template for enabled in docker-cache
SwordFaith Feb 7, 2021
e2cdfdb
Merge branch 'master' into swordfaith/docker-cache-deploy
yiyione Feb 9, 2021
8d8fd94
Add fs storage backend support
SwordFaith Feb 9, 2021
7a9b41b
Fix typo in docker-cache and add trailing new line
SwordFaith Feb 9, 2021
82a3e25
Fix missing quote in service conf template
SwordFaith Feb 9, 2021
6bf0386
Change docker-cache config update logic
SwordFaith Feb 9, 2021
1f21b60
Fix typo
SwordFaith Feb 9, 2021
e8cac8f
Use py script to change docker config
SwordFaith Feb 9, 2021
2e1898c
Fix typo in docker-cache role
SwordFaith Feb 9, 2021
88c22b0
Change arg format in ansible builtin command
SwordFaith Feb 9, 2021
431dac8
Change add docker config task format
SwordFaith Feb 9, 2021
cdc7bc2
Change format of add docker cache config task
SwordFaith Feb 9, 2021
4641920
Remove unused files in docker-cache role
SwordFaith Feb 9, 2021
f6a6d7d
Rename docker-cache-dist to docker-cache-config-distribute
SwordFaith Feb 19, 2021
1b86ff6
Remove redundant function do generate specific docker-cache-config
SwordFaith Feb 19, 2021
9d9f878
Add parameter to docker-cache role
SwordFaith Feb 19, 2021
aa1a651
Update
SwordFaith Feb 19, 2021
ec34eed
Change docker_cache_host pass by environ
SwordFaith Feb 19, 2021
66eba51
Revert to distribute localhost node port only
SwordFaith Feb 19, 2021
03fd7ce
Add support to dynamic docker-cache config dist host
SwordFaith Feb 20, 2021
61f7ff9
Delete cluster type: yarn use docker-cache
SwordFaith Feb 20, 2021
d5e5f37
Add trailing new line
SwordFaith Feb 20, 2021
0934044
Change auth htpasswd enabled when user specify htpasswd secret
SwordFaith Feb 20, 2021
6b882dc
Add explaination to registry-htpasswd parameter
SwordFaith Feb 20, 2021
e062992
Add trainling new lin to service.yaml
SwordFaith Feb 20, 2021
7dd0359
Squeeze service-conf by jinja2 whitespace control
SwordFaith Feb 22, 2021
e6c439a
Squeeze docker-cache-config template by jinja2 whitespace control
SwordFaith Feb 22, 2021
97ca25a
Remove redundant sudo in add-docker-cache-config task
SwordFaith Feb 22, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Modify default service nodeport to valid range
  • Loading branch information
SwordFaith committed Jan 19, 2021
commit 75a1a771ce4212f1ac63f55981d57084ac09896e
2 changes: 1 addition & 1 deletion src/docker-cache/config/docker-cache.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ azure_container_name: dockerregistry
registry_listener: ":5000"
container_port: 5000
service_port: 5000
service_nodeport: 35000
service_nodeport: 30500
remote_url: https://registry-1.docker.io
registry-htpasswd: dGVzdDokMnkkMDUkRUZiaWphaHovMHl4UC5xMFk1VW52TzljU2hHMThCRzM3QzBHNFhoRmFtTXdTUXdQLjBqQi4KCg==
Copy link
Contributor

Choose a reason for hiding this comment

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

Is it a default passwd? What is the exact meaning of this string?

Copy link
Contributor

Choose a reason for hiding this comment

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

Please check this.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's test test processed by htpasswd tool and base64 encoded, commented out in new commit.