Skip to content

Commit 774f8b9

Browse files
committed
fixes for k8s deploy scripts
1 parent deaab2b commit 774f8b9

File tree

4 files changed

+6
-26
lines changed

4 files changed

+6
-26
lines changed
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[k8_master]
2+
127.0.0.1
23
# 10.0.0.0
34

45
[k8_worker]
56
# 10.0.0.1
6-
# 10.0.0.2
7+
# 10.0.0.2

setup-scripts/setup-onpremise-kubernetes/playbooks/install-requirements.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,6 @@
6666

6767
- name: Update apt package list
6868
command: apt-get update
69-
args:
70-
warn: false
7169
environment:
7270
http_proxy: "{{ http_proxy }}"
7371
https_proxy: "{{ http_proxy }}"
@@ -83,6 +81,7 @@
8381
- curl
8482
- gnupg
8583
- lsb-release
84+
- util-linux-extra
8685
state: present
8786
environment:
8887
http_proxy: "{{ http_proxy }}"
@@ -280,4 +279,4 @@
280279
path: /etc/default/kubelet
281280
line: 'KUBELET_EXTRA_ARGS="--cgroup-driver=cgroupfs"'
282281
- command: systemctl daemon-reload
283-
- command: systemctl restart kubelet
282+
- command: systemctl restart kubelet

setup-scripts/setup-onpremise-kubernetes/playbooks/setup-local-registry.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
ports:
7777
- "5000:5000"
7878
volumes:
79-
- ../registry.config.yml:/etc/docker/registry/config.yml
79+
- ../registry:/etc/docker/registry/
8080
- /var/lib/registry:/var/lib/registry
8181
container_default_behavior: "compatibility"
8282

@@ -134,4 +134,4 @@
134134
- name: Restart containerd service
135135
service:
136136
name: containerd
137-
state: restarted
137+
state: restarted

setup-scripts/setup-onpremise-kubernetes/registry.config.yml

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)