1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
|
.. This work is licensed under a Creative Commons Attribution 4.0 International License.
.. http://creativecommons.org/licenses/by/4.0
.. (c) <optionally add copywriters name>
Abstract
========
This document compiles the release notes for the Fraser release of
OPNFV when using JOID as a deployment tool for Kubernetes with cancal CNI.
Introduction
============
These notes provides release information for the use of joid as deployment
tool for the Fraser release of OPNFV for Kubernetes scenario.
The goal of the Fraser release and this JOID based deployment process is
to establish a lab ready platform accelerating further development
of the OPNFV infrastructure for docker based workloads.
Carefully follow the installation-instructions which guides a user to deploy
OPNFV using JOID which is based on MAAS and Juju.
Summary
=======
Kubernetes is an open-source system for automating deployment, scaling, and
management of containerized applications.
This is a Kubernetes cluster that includes logging, monitoring, and operational
knowledge. It is comprised of the following components and features:
Kubernetes (automated deployment, operations, and scaling)
TLS used for communication between nodes for security.
A CNI plugin (e.g., Canal)
Optional Ingress Controller (on worker)
Optional Dashboard addon (on master) including Heapster for cluster monitoring
EasyRSA
Performs the role of a certificate authority serving self signed certificates
to the requesting units of the cluster.
Etcd (distributed key value store)
Minimum Three node cluster for reliability.
Fraser release with the JOID deployment with Kubernetes will establish an
OPNFV target system on a Pharos compliant lab infrastructure.
NOTE: Detailed information on how to install in your lab can be find in installation guide
command to deploy lxd feature is:
#Kubernetes deployment
./deploy.sh -m kubernetes -f lb -l custom -s canal
Using Kubernetes after Deployment
=================================
Once you have finished installinf the JOID with Kubernetes you can use the
following command to test the deployment.
To deploy 5 replicas of the microbot web application inside the Kubernetes
cluster run the following command:
juju run-action kubernetes-worker/0 microbot replicas=5
This action performs the following steps:
It creates a deployment titled 'microbots' comprised of 5 replicas defined
during the run of the action. It also creates a service named 'microbots'
which binds an 'endpoint', using all 5 of the 'microbots' pods.
Finally, it will create an ingress resource, which points at a
xip.io domain to simulate a proper DNS service.
Running the packaged example
You can run a Juju action to create an example microbot web application:
$ juju run-action kubernetes-worker/0 microbot replicas=3
Action queued with id: db7cc72b-5f35-4a4d-877c-284c4b776eb8
$ juju show-action-output db7cc72b-5f35-4a4d-877c-284c4b776eb8
results:
address: microbot.104.198.77.197.xip.io
status: completed
timing:
completed: 2016-09-26 20:42:42 +0000 UTC
enqueued: 2016-09-26 20:42:39 +0000 UTC
started: 2016-09-26 20:42:41 +0000 UTC
Note: Your FQDN will be different and contain the address of the cloud
instance.
At this point, you can inspect the cluster to observe the workload coming
online.
Mor einformation on using Canonical distribution of kubernetes can be found
at https://jujucharms.com/canonical-kubernetes/
Release Data
============
+--------------------------------------+--------------------------------------+
| **Project** | JOID |
| | |
+--------------------------------------+--------------------------------------+
| **Repo/tag** | gerrit.opnfv.org/gerrit/joid.git |
| | opnfv-6.0.0 |
+--------------------------------------+--------------------------------------+
| **Release designation** | Fraser release |
| | |
+--------------------------------------+--------------------------------------+
| **Release date** | April 27 2018 |
| | |
+--------------------------------------+--------------------------------------+
| **Purpose of the delivery** | Fraser release |
| | |
+--------------------------------------+--------------------------------------+
Deliverables
------------
Software deliverables
~~~~~~~~~~~~~~~~~~~~~
`JOID based installer script files <https://gerrit.opnfv.org/gerrit/gitweb?p=joid.git>`_
Known Limitations, Issues and Workarounds
=========================================
Known issues
------------
**JIRA TICKETS:**
+--------------------------------------+--------------------------------------+
| **JIRA REFERENCE** | **SLOGAN** |
| | |
+--------------------------------------+--------------------------------------+
| JIRA: | No support for yardstick and functest|
| | for Kubernetes scenarios (OPNFV) |
+--------------------------------------+--------------------------------------+
| JIRA: | |
+--------------------------------------+--------------------------------------+
Scenario Releases
=================
Name: joid-k8-canal-lb-noha
Test Link: https://build.opnfv.org/ci/user/narindergupta/my-views/view/joid/job/joid-k8-canal-lb-noha-baremetal-daily-fraser/
Notes:
References
==========
Juju
----
- `Juju Charm store <https://jujucharms.com/>`_
- `Juju documents <https://jujucharms.com/docs/stable/getting-started>`_
- `Canonical Distibuytion of Kubernetes <https://jujucharms.com/canonical-kubernetes/>`_
MAAS
----
- `Bare metal management (Metal-As-A-Service) <http://maas.io/get-started>`_
- `MAAS API documents <http://maas.ubuntu.com/docs/>`_
JOID
----
- `OPNFV JOID wiki <https://wiki.opnfv.org/joid>`_
- `OPNFV JOID Get Started <https://wiki.opnfv.org/display/joid/JOID+Get+Started>`_
Kubernetes
----------
- `Kubernetes Release artifacts <https://get.k8s.io/>`_
- `Kubernetes documentation <https://kubernetes.io/>`_
|