Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixes for k8s deploy scripts #35

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion setup-scripts/setup-onpremise-kubernetes/inventory.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@

[k8_worker]
# 10.0.0.1
# 10.0.0.2
# 10.0.0.2
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,6 @@

- name: Update apt package list
command: apt-get update
args:
warn: false
environment:
http_proxy: "{{ http_proxy }}"
https_proxy: "{{ http_proxy }}"
Expand All @@ -83,6 +81,7 @@
- curl
- gnupg
- lsb-release
- util-linux-extra
state: present
environment:
http_proxy: "{{ http_proxy }}"
Expand Down Expand Up @@ -280,4 +279,4 @@
path: /etc/default/kubelet
line: 'KUBELET_EXTRA_ARGS="--cgroup-driver=cgroupfs"'
- command: systemctl daemon-reload
- command: systemctl restart kubelet
- command: systemctl restart kubelet
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
ports:
- "5000:5000"
volumes:
- ../registry.config.yml:/etc/docker/registry/config.yml
wanhakim marked this conversation as resolved.
Show resolved Hide resolved
- ../registry:/etc/docker/registry/
- /var/lib/registry:/var/lib/registry
container_default_behavior: "compatibility"

Expand Down Expand Up @@ -134,4 +134,4 @@
- name: Restart containerd service
service:
name: containerd
state: restarted
state: restarted
Loading