mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-02 01:58:12 -03:30
Compare commits
6 Commits
v2.25.1
...
release-2.
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
781f02fdda | ||
|
|
792407f934 | ||
|
|
6c5bff6362 | ||
|
|
586ba66b7a | ||
|
|
9fce511822 | ||
|
|
d258df042f |
@@ -75,11 +75,11 @@ You will then need to use [bind mounts](https://docs.docker.com/storage/bind-mou
|
|||||||
to access the inventory and SSH key in the container, like this:
|
to access the inventory and SSH key in the container, like this:
|
||||||
|
|
||||||
```ShellSession
|
```ShellSession
|
||||||
git checkout v2.24.1
|
git checkout v2.25.1
|
||||||
docker pull quay.io/kubespray/kubespray:v2.24.1
|
docker pull quay.io/kubespray/kubespray:v2.25.1
|
||||||
docker run --rm -it --mount type=bind,source="$(pwd)"/inventory/sample,dst=/inventory \
|
docker run --rm -it --mount type=bind,source="$(pwd)"/inventory/sample,dst=/inventory \
|
||||||
--mount type=bind,source="${HOME}"/.ssh/id_rsa,dst=/root/.ssh/id_rsa \
|
--mount type=bind,source="${HOME}"/.ssh/id_rsa,dst=/root/.ssh/id_rsa \
|
||||||
quay.io/kubespray/kubespray:v2.24.1 bash
|
quay.io/kubespray/kubespray:v2.25.1 bash
|
||||||
# Inside the container you may now run the kubespray playbooks:
|
# Inside the container you may now run the kubespray playbooks:
|
||||||
ansible-playbook -i /inventory/inventory.ini --private-key /root/.ssh/id_rsa cluster.yml
|
ansible-playbook -i /inventory/inventory.ini --private-key /root/.ssh/id_rsa cluster.yml
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
namespace: kubernetes_sigs
|
namespace: kubernetes_sigs
|
||||||
description: Deploy a production ready Kubernetes cluster
|
description: Deploy a production ready Kubernetes cluster
|
||||||
name: kubespray
|
name: kubespray
|
||||||
version: 2.25.1
|
version: 2.25.2
|
||||||
readme: README.md
|
readme: README.md
|
||||||
authors:
|
authors:
|
||||||
- The Kubespray maintainers (https://kubernetes.slack.com/channels/kubespray)
|
- The Kubespray maintainers (https://kubernetes.slack.com/channels/kubespray)
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=containerd container runtime
|
Description=containerd container runtime
|
||||||
Documentation=https://containerd.io
|
Documentation=https://containerd.io
|
||||||
After=network.target local-fs.target
|
After=network.target local-fs.target dbus.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStartPre=-/sbin/modprobe overlay
|
ExecStartPre=-/sbin/modprobe overlay
|
||||||
|
|||||||
@@ -73,7 +73,9 @@ data:
|
|||||||
max_concurrent 1000
|
max_concurrent 1000
|
||||||
{% if dns_upstream_forward_extra_opts is defined %}
|
{% if dns_upstream_forward_extra_opts is defined %}
|
||||||
{% for optname, optvalue in dns_upstream_forward_extra_opts.items() %}
|
{% for optname, optvalue in dns_upstream_forward_extra_opts.items() %}
|
||||||
{{ optname }} {{ optvalue }}
|
{{ (optname ~ ' ' ~ optvalue) | trim }}
|
||||||
|
{# do not add a trailing space when optvalue == ''
|
||||||
|
workaround for: https://github.com/kubernetes/kubernetes/issues/36222 #}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -82,7 +82,9 @@ data:
|
|||||||
bind {{ nodelocaldns_ip }}
|
bind {{ nodelocaldns_ip }}
|
||||||
forward . {{ upstreamForwardTarget }}{% if dns_upstream_forward_extra_opts is defined %} {
|
forward . {{ upstreamForwardTarget }}{% if dns_upstream_forward_extra_opts is defined %} {
|
||||||
{% for optname, optvalue in dns_upstream_forward_extra_opts.items() %}
|
{% for optname, optvalue in dns_upstream_forward_extra_opts.items() %}
|
||||||
{{ optname }} {{ optvalue }}
|
{{ (optname ~ ' ' ~ optvalue) | trim }}
|
||||||
|
{# do not add a trailing space when optvalue == ''
|
||||||
|
workaround for: https://github.com/kubernetes/kubernetes/issues/36222 #}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
}{% endif %}
|
}{% endif %}
|
||||||
|
|
||||||
@@ -164,7 +166,9 @@ data:
|
|||||||
bind {{ nodelocaldns_ip }}
|
bind {{ nodelocaldns_ip }}
|
||||||
forward . {{ upstreamForwardTarget }}{% if dns_upstream_forward_extra_opts is defined %} {
|
forward . {{ upstreamForwardTarget }}{% if dns_upstream_forward_extra_opts is defined %} {
|
||||||
{% for optname, optvalue in dns_upstream_forward_extra_opts.items() %}
|
{% for optname, optvalue in dns_upstream_forward_extra_opts.items() %}
|
||||||
{{ optname }} {{ optvalue }}
|
{{ (optname ~ ' ' ~ optvalue) | trim }}
|
||||||
|
{# do not add a trailing space when optvalue == ''
|
||||||
|
workaround for: https://github.com/kubernetes/kubernetes/issues/36222 #}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
}{% endif %}
|
}{% endif %}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user