iec.git
5 years agoMerge "[ci] Add PDF/IDF config files for 2 virtual PODs"
Cristina Pauna [Wed, 27 Mar 2019 16:06:50 +0000 (16:06 +0000)]
Merge "[ci] Add PDF/IDF config files for 2 virtual PODs"

5 years agoMerge "Fix broken kubernetes-cni dependency"
Ciprian Barbu [Wed, 27 Mar 2019 14:37:54 +0000 (14:37 +0000)]
Merge "Fix broken kubernetes-cni dependency"

5 years agoFix broken kubernetes-cni dependency 11/511/2
Ciprian Barbu [Tue, 26 Mar 2019 15:43:40 +0000 (17:43 +0200)]
Fix broken kubernetes-cni dependency

Change-Id: If6cb5085c51db746498343012bd6475ea11292d4
Signed-off-by: Ciprian Barbu <ciprian.barbu@enea.com>
5 years agoMerge "[scripts] Cleanup intermediate files"
Cristina Pauna [Wed, 27 Mar 2019 08:55:10 +0000 (08:55 +0000)]
Merge "[scripts] Cleanup intermediate files"

5 years agoMerge "Add script for auto deploying on multi-nodes"
Jingzhao Ni [Wed, 27 Mar 2019 03:50:52 +0000 (03:50 +0000)]
Merge "Add script for auto deploying on multi-nodes"

5 years agoAdd script for auto deploying on multi-nodes 03/503/3
Jingzhao [Mon, 25 Mar 2019 09:54:32 +0000 (17:54 +0800)]
Add script for auto deploying on multi-nodes

The automatic scripts could support multi-workers in 1-key
deployment.
1. A config file including the multi-worker information was
   added.
2. The automatic scripts--startup.sh--was modified for
   adapting the multi-worker nodes.

Change-Id: I286abfc60c1fd6b37a7c838d487d0c65b4cd4313
Signed-off-by: Jingzhao <Jingzhao.Ni@arm.com>
5 years agoAdd functest-kubernetes verification for iec 02/502/3
Jingzhao [Mon, 25 Mar 2019 09:50:13 +0000 (17:50 +0800)]
Add functest-kubernetes verification for iec

Add a shell scripts for running functest-k8s-healthcheck images.
It help us to verify the basic function of K8s. On the other hand,
the functest is a good framework for functional test in future.

Change-Id: I837737a18446a3ae57ce610a570fa1aafe7f94ef
Signed-off-by: Jingzhao <Jingzhao.Ni@arm.com>
5 years ago[ci] Add PDF/IDF config files for 2 virtual PODs 04/504/2
Alexandru Avadanii [Mon, 25 Mar 2019 14:08:47 +0000 (15:08 +0100)]
[ci] Add PDF/IDF config files for 2 virtual PODs

Add POD Descriptor File and Installer Descriptor File configuration for
the two IEC CI virtual PODs currently available in Jenkins [1, 2].

The configuration adheres to OPNFV standards [3, 4] and should be
compatible with all supported OPNFV installers (e.g. Compass4NFV, Fuel).

These configuration files will be leveraged by IEC CI jobs for daily
deployments / testing.

[1] https://jenkins.akraino.org/computer/prd-ubuntu1604-dev-48c-256g-1/
[2] https://jenkins.akraino.org/computer/prd-ubuntu1604-dev-48c-256g-2/
[3] https://opnfv-pharos.rtfd.org/en/latest/release/release-notes/lab-description/pdf.html
[4] https://opnfv-fuel.rtfd.io/en/latest/release/installation/\
    installation.instruction.html#opnfv-software-configuration-xdf

Change-Id: Ie57423cca65bf3f5c66ad9833f02d1a33d159734
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years ago[scripts] Cleanup intermediate files 05/505/1
Alexandru Avadanii [Mon, 25 Mar 2019 14:40:44 +0000 (15:40 +0100)]
[scripts] Cleanup intermediate files

The installation scripts should not leave behind unused files created
during their run, but instead remove them on success:
- index.html, nginx-app.yaml generated by nginx testing;
- tiller-rba.yaml generated by tiller install;

Change-Id: Iebbfb13e0da6f9657dad65dc34cf62147210c487
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years agoMerge "Enable extra flag for both master and nodes"
Trevor Tao [Mon, 25 Mar 2019 08:42:43 +0000 (08:42 +0000)]
Merge "Enable extra flag for both master and nodes"

5 years agoEnable extra flag for both master and nodes 90/490/4
trevortao [Tue, 19 Mar 2019 08:56:24 +0000 (16:56 +0800)]
Enable extra flag for both master and nodes

Enable extra flag as k8s common for both k8s master and slave:
      --fail-swap-on=false
      --feature-gates HugePages=false

Change-Id: I3051796bbe083011837415ab07dbb1eb68a2fb55
Signed-off-by: trevortao <trevor.tao@arm.com>
5 years agoMerge "Openstack Heat templates for IEC deployment"
Ciprian Barbu [Mon, 18 Mar 2019 10:05:29 +0000 (10:05 +0000)]
Merge "Openstack Heat templates for IEC deployment"

5 years agoMerge "Add some scripts for verifing the K8s environment"
Trevor Tao [Fri, 15 Mar 2019 03:31:04 +0000 (03:31 +0000)]
Merge "Add some scripts for verifing the K8s environment"

5 years agoAdd some scripts for verifing the K8s environment 69/469/1
Jingzhao [Thu, 14 Mar 2019 02:49:33 +0000 (10:49 +0800)]
Add some scripts for verifing the K8s environment

Some scripts was added for checking the k8s running status.
1. Add a check_k8s_status function in startup.sh for checking
   the k8s status.
2. Modify the path of scripts for adapting new file organization

Change-Id: Icefd72b7f762fe9ccd223d4b34aac7cc97b4a234
Signed-off-by: Jingzhao <Jingzhao.Ni@arm.com>
5 years agoOpenstack Heat templates for IEC deployment 11/411/13
Ciprian Barbu [Thu, 21 Feb 2019 17:27:18 +0000 (19:27 +0200)]
Openstack Heat templates for IEC deployment

Change-Id: Iadec664b9108639c8e62c4af41a8bf4aff80e305
Signed-off-by: Ciprian Barbu <ciprian.barbu@enea.com>
5 years agoAdd Extra Flags to Kubelet to enable extra feature 64/464/1
trevortao [Wed, 13 Mar 2019 03:35:41 +0000 (11:35 +0800)]
Add Extra Flags to Kubelet to enable extra feature

Add the following extra flags to 10-kubeadm.conf for Kubelet
to start correctly and support hugepage requirement by SEBA
and other pods

--fail-swap-on=false
--feature-gates HugePages=false

Change-Id: I9e3084cd8b47d3d1b74165782340521c48acfad6
Signed-off-by: trevortao <trevor.tao@arm.com>
5 years agoMerge "Re-org the IEC repo to adapt to actual deployment"
Jingzhao Ni [Fri, 8 Mar 2019 01:52:37 +0000 (01:52 +0000)]
Merge "Re-org the IEC repo to adapt to actual deployment"

5 years agoMerge "Add docs structure"
Cristina Pauna [Thu, 7 Mar 2019 10:46:23 +0000 (10:46 +0000)]
Merge "Add docs structure"

5 years agoRe-org the IEC repo to adapt to actual deployment 53/453/1
trevortao [Thu, 7 Mar 2019 07:56:53 +0000 (15:56 +0800)]
Re-org the IEC repo to adapt to actual deployment

1. Setup a src folder to include all src files
for IEC;
2. Move installation scripts to src/foundation
sub-folder;
3. Add use_cases sub-folder for all possible
IEC use cases;
4. Add SEBA-on-arm as one of the IEC use cases;
other use cases could be added in the future;
5. Add doc/ folder to contain docs for IEC;
other folders could be added in the iec/ root
folder in the future;
6. Add a README file for SEBA-on-arm use case,
please see it for the structure of the
seba_on_arm/ folder;

Change-Id: Ie0fc876e91188c0611dcab953f7ba27f1f353530
Signed-off-by: trevortao <trevor.tao@arm.com>
5 years agoMerge "calico: Align IPv4 pool CIDR with k8s_master"
Ciprian Barbu [Wed, 6 Mar 2019 14:12:01 +0000 (14:12 +0000)]
Merge "calico: Align IPv4 pool CIDR with k8s_master"

5 years agoAdd docs structure 31/431/3
Cristina Pauna [Mon, 4 Mar 2019 16:26:28 +0000 (18:26 +0200)]
Add docs structure

Added docs templates according to
https://wiki.akraino.org/display/AK/Documentation+Sub-committee
Added tox config so we can build the docs.

To buil them locally:
iec$ tox -edocs

You can then visualize the result in a web browser:
docs/_build/html/index.html

Change-Id: I74ee9a14089ecce3174da6f28dd316d9d7afabe2
Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
5 years agohelm: Add tiller service account 29/429/2
Alexandru Avadanii [Thu, 28 Feb 2019 20:07:12 +0000 (21:07 +0100)]
helm: Add tiller service account

Initialize tiller service account with cluster-admin role [1].
While at it, use multiarch tiller image from [2], as recommended
in [3], at least until upstream gcr.io repo gets proper multiarch
support.

[1] https://helm.sh/docs/using_helm/#role-based-access-control
[2] https://github.com/jessestuart/tiller-multiarch
[3] https://github.com/helm/helm/issues/3269

Change-Id: I3719b648de0cbec9fc8802c74763c45233a04861
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years agocalico: Align IPv4 pool CIDR with k8s_master 27/427/1
Alexandru Avadanii [Thu, 28 Feb 2019 16:32:50 +0000 (17:32 +0100)]
calico: Align IPv4 pool CIDR with k8s_master

When a non-default pod-network-cidr is used for `kubeadm init`, the
same CIDR should be used by Calico in CALICO_IPV4POOL_CIDR.
Otherwise we will run into issues like those described in [1].

[1] https://github.com/projectcalico/calico/issues/683

Change-Id: Ifc5cd2847f12e85b23716d4b279fd635988132ef
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years agoMerge "setup-cni: Fix typo, allow absolute exec"
Alexandru Avadanii [Tue, 26 Feb 2019 13:31:05 +0000 (13:31 +0000)]
Merge "setup-cni: Fix typo, allow absolute exec"

5 years agoMerge "Add LICENSE, .gitignore file"
Alexandru Avadanii [Fri, 22 Feb 2019 14:26:33 +0000 (14:26 +0000)]
Merge "Add LICENSE, .gitignore file"

5 years agosetup-cni: Fix typo, allow absolute exec 12/412/1
Alexandru Avadanii [Fri, 22 Feb 2019 14:23:10 +0000 (15:23 +0100)]
setup-cni: Fix typo, allow absolute exec

The `setup-cni.sh` script should be able to run with a different
current working directory, so use absolute paths where appropiate.

Change-Id: Ic19cbe0c8d1098f8c4a0f547ceeeed442182d28d
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years agoAdd LICENSE, .gitignore file 10/410/1
Alexandru Avadanii [Wed, 20 Feb 2019 14:19:47 +0000 (15:19 +0100)]
Add LICENSE, .gitignore file

Change-Id: I29bf52c0fbd1ae48ece5f6c634a442c9d4746100
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years agoAdd iec auto deployment scripts & Fix some bugs 07/407/4
Jingzhao [Mon, 18 Feb 2019 07:50:45 +0000 (15:50 +0800)]
Add iec auto deployment scripts & Fix some bugs

Add some files for automatic deployment from jumper host.
Add files for deploying k8s worker node.
Add some calico configuration files.
Rename the calico.sh file with setup-cni.sh file.

Change-Id: I24abd8f0f8507869064d6b9ceb0aa1f89a44f29c
Signed-off-by: Jingzhao <Jingzhao.Ni@arm.com>
5 years agoAdd IEC Foundation Installation Document 06/406/2
Trevor Tao [Fri, 15 Feb 2019 15:21:10 +0000 (23:21 +0800)]
Add IEC Foundation Installation Document

Add IEC reference framework installation document, including the
installation description for docker, Kubernetes, Calico and Helm
on arm, which would be used as a basis for our development work.

Change-Id: I1400710c54f972398559324f0cb71187bf6282a3
Signed-off-by: Trevor Tao <trevor.tao@arm.com>
5 years agoMove calico setup script to cni subdir 02/402/1
Alexandru Avadanii [Thu, 14 Feb 2019 14:37:39 +0000 (15:37 +0100)]
Move calico setup script to cni subdir

Change-Id: I0b466825b059fdb8d44a8a7d0840948814464c41
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years agoSync bootstrap scripts from Akraino IEC wiki 99/399/2
Alexandru Avadanii [Wed, 13 Feb 2019 14:58:41 +0000 (15:58 +0100)]
Sync bootstrap scripts from Akraino IEC wiki

Bring in sh scripts from IEC Wiki page [1]:

The initial setup scripts to be executed on all cluster nodes:
- k8s_common:
  * prerequisites;
  * Kubernetes Install for Ubuntu, using Kubeadm;

The following scripts should be executed on K8s master node:
- k8s_master:
  * setup host as K8s master;
- calico:
  * setup etcd, RBAC roles, calico;
- nginx:
  * verify basic K8s functionality;
- helm:
  * bring in `tiller` and `helm` binaries;

There is one more step that is not covered by the current scripts:
- K8s slave nodes should execute `kubeadm join` after the k8s_master
  script has completed;

[1] https://wiki.akraino.org/display/AK/\
    IEC+Blueprints+Installation+Overview

Change-Id: I8d4f78b7482486e2c4a31db35cddb0c1570307a5
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years agoAdd .gitreview 98/398/1
Alexandru Avadanii [Wed, 13 Feb 2019 14:53:21 +0000 (15:53 +0100)]
Add .gitreview

Change-Id: If59dd3ce3190fde907135e6800a18d86ecfb9d36
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years agoInitial empty repository
Eric Ball [Wed, 30 Jan 2019 20:29:32 +0000 (20:29 +0000)]
Initial empty repository