mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-01 09:38: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:
|
||||
|
||||
```ShellSession
|
||||
git checkout v2.24.1
|
||||
docker pull quay.io/kubespray/kubespray:v2.24.1
|
||||
git checkout v2.25.1
|
||||
docker pull quay.io/kubespray/kubespray:v2.25.1
|
||||
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 \
|
||||
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:
|
||||
ansible-playbook -i /inventory/inventory.ini --private-key /root/.ssh/id_rsa cluster.yml
|
||||
```
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
namespace: kubernetes_sigs
|
||||
description: Deploy a production ready Kubernetes cluster
|
||||
name: kubespray
|
||||
version: 2.25.1
|
||||
version: 2.25.2
|
||||
readme: README.md
|
||||
authors:
|
||||
- The Kubespray maintainers (https://kubernetes.slack.com/channels/kubespray)
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
[Unit]
|
||||
Description=containerd container runtime
|
||||
Documentation=https://containerd.io
|
||||
After=network.target local-fs.target
|
||||
After=network.target local-fs.target dbus.service
|
||||
|
||||
[Service]
|
||||
ExecStartPre=-/sbin/modprobe overlay
|
||||
|
||||
@@ -73,7 +73,9 @@ data:
|
||||
max_concurrent 1000
|
||||
{% if dns_upstream_forward_extra_opts is defined %}
|
||||
{% 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 %}
|
||||
{% endif %}
|
||||
}
|
||||
|
||||
@@ -82,7 +82,9 @@ data:
|
||||
bind {{ nodelocaldns_ip }}
|
||||
forward . {{ upstreamForwardTarget }}{% if dns_upstream_forward_extra_opts is defined %} {
|
||||
{% 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 %}
|
||||
}{% endif %}
|
||||
|
||||
@@ -164,7 +166,9 @@ data:
|
||||
bind {{ nodelocaldns_ip }}
|
||||
forward . {{ upstreamForwardTarget }}{% if dns_upstream_forward_extra_opts is defined %} {
|
||||
{% 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 %}
|
||||
}{% endif %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user