Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kolla Ansible
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Very Demiurge Very Mindful
Kolla Ansible
Commits
edb3bce7
Commit
edb3bce7
authored
4 years ago
by
Zuul
Committed by
Gerrit Code Review
4 years ago
Browse files
Options
Downloads
Plain Diff
Merge "docs: Add magnum guide"
parents
0445f41d
9c8dd724
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
doc/source/conf.py
+1
-0
1 addition, 0 deletions
doc/source/conf.py
doc/source/reference/containers/index.rst
+1
-0
1 addition, 0 deletions
doc/source/reference/containers/index.rst
doc/source/reference/containers/magnum-guide.rst
+59
-0
59 additions, 0 deletions
doc/source/reference/containers/magnum-guide.rst
with
61 additions
and
0 deletions
doc/source/conf.py
+
1
−
0
View file @
edb3bce7
...
...
@@ -96,6 +96,7 @@ openstack_projects = [
'
keystone
'
,
'
kolla
'
,
'
kolla-ansible
'
,
'
magnum
'
,
'
manila
'
,
'
networking-sfc
'
,
'
neutron-vpnaas
'
,
...
...
This diff is collapsed.
Click to expand it.
doc/source/reference/containers/index.rst
+
1
−
0
View file @
edb3bce7
...
...
@@ -9,3 +9,4 @@ including kuryr.
:maxdepth: 1
kuryr-guide
magnum-guide
This diff is collapsed.
Click to expand it.
doc/source/reference/containers/magnum-guide.rst
0 → 100644
+
59
−
0
View file @
edb3bce7
==================================
Magnum - Container cluster service
==================================
Magnum is an OpenStack service that provides support for deployment and
management of container clusters such as Kubernetes. See the
:magnum-doc:`Magnum documentation </>` for information on using Magnum.
Configuration
=============
Enable Magnum, in ``globals.yml``:
.. code-block:: yaml
enable_magnum: true
Optional: enable cluster user trust
-----------------------------------
This allows the cluster to communicate with OpenStack on behalf of the user
that created it, and is necessary for the auto-scaler and auto-healer to work.
Note that this is disabled by default since it exposes the cluster to
`CVE-2016-7404 <https://nvd.nist.gov/vuln/detail/CVE-2016-7404>`__. Ensure that
you understand the consequences before enabling this option. In
``globals.yml``:
.. code-block:: yaml
enable_cluster_user_trust: true
Optional: private CA
--------------------
If using TLS with a private CA for OpenStack public APIs, the cluster will need
to add the CA certificate to its trust store in order to communicate with
OpenStack. The certificate must be available in the magnum conductor container.
It is copied to the cluster via user-data, so it is better to include only the
necessary certificates to avoid exceeding the max Nova API request body size
(this may be set via ``[oslo_middleware] max_request_body_size`` in
``nova.conf`` if necessary). In ``/etc/kolla/config/magnum.conf``:
.. code-block:: ini
[drivers]
openstack_ca_file = <path to CA file>
If using Kolla Ansible to :ref:`copy CA certificates into containers
<admin-tls-ca-in-containers>`, the certificates are located at
``/etc/pki/ca-trust/source/anchors/kolla-customca-*.crt``.
Deployment
==========
To deploy magnum and its dashboard in an existing OpenStack cluster:
.. code-block:: console
kolla-ansible -i <inventory> deploy --tags common,horizon,magnum
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