Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kubespray
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
Kubespray
Commits
dedc0066
Unverified
Commit
dedc0066
authored
1 year ago
by
Hedayat Vatankhah (هدایت)
Committed by
GitHub
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Add 'system-packages' tag to control installing packages from OS repositories (#10872)
parent
0624a306
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
docs/ansible/ansible.md
+1
-0
1 addition, 0 deletions
docs/ansible/ansible.md
docs/operations/offline-environment.md
+3
-1
3 additions, 1 deletion
docs/operations/offline-environment.md
roles/kubernetes/preinstall/tasks/main.yml
+1
-0
1 addition, 0 deletions
roles/kubernetes/preinstall/tasks/main.yml
with
5 additions
and
1 deletion
docs/ansible/ansible.md
+
1
−
0
View file @
dedc0066
...
@@ -231,6 +231,7 @@ The following tags are defined in playbooks:
...
@@ -231,6 +231,7 @@ The following tags are defined in playbooks:
| services | Remove services (etcd, kubelet etc...) when resetting |
| services | Remove services (etcd, kubelet etc...) when resetting |
| snapshot | Enabling csi snapshot |
| snapshot | Enabling csi snapshot |
| snapshot-controller | Configuring csi snapshot controller |
| snapshot-controller | Configuring csi snapshot controller |
| system-packages | Install packages using OS package manager |
| upgrade | Upgrading, f.e. container images/binaries |
| upgrade | Upgrading, f.e. container images/binaries |
| upload | Distributing images/binaries across hosts |
| upload | Distributing images/binaries across hosts |
| vsphere-csi-driver | Configuring csi driver: vsphere |
| vsphere-csi-driver | Configuring csi driver: vsphere |
...
...
This diff is collapsed.
Click to expand it.
docs/operations/offline-environment.md
+
3
−
1
View file @
dedc0066
...
@@ -103,7 +103,9 @@ If you use the settings like the one above, you'll need to define in your invent
...
@@ -103,7 +103,9 @@ If you use the settings like the one above, you'll need to define in your invent
can store them anywhere as long as it's accessible by kubespray. It's recommended to use
`*_version`
in the path so
can store them anywhere as long as it's accessible by kubespray. It's recommended to use
`*_version`
in the path so
that you don't need to modify this setting everytime kubespray upgrades one of these components.
that you don't need to modify this setting everytime kubespray upgrades one of these components.
*
`yum_repo`
/
`debian_repo`
/
`ubuntu_repo`
: OS package repository depending on your OS, should point to your internal
*
`yum_repo`
/
`debian_repo`
/
`ubuntu_repo`
: OS package repository depending on your OS, should point to your internal
repository. Adjust the path accordingly.
repository. Adjust the path accordingly. Used only for Docker/Containerd packages (if needed); other packages might
be installed from other repositories. You might disable installing packages from other repositories by skipping
the
`system-packages`
tag
## Install Kubespray Python Packages
## Install Kubespray Python Packages
...
...
This diff is collapsed.
Click to expand it.
roles/kubernetes/preinstall/tasks/main.yml
+
1
−
0
View file @
dedc0066
...
@@ -68,6 +68,7 @@
...
@@ -68,6 +68,7 @@
-
not dns_late
-
not dns_late
tags
:
tags
:
-
bootstrap-os
-
bootstrap-os
-
system-packages
-
name
:
Apply system configurations
-
name
:
Apply system configurations
import_tasks
:
0080-system-configurations.yml
import_tasks
:
0080-system-configurations.yml
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment