infra/stack/kubernetes.git
3 years agoBring Kubernetes 1.15 50/5250/2
Fatih Degirmenci [Thu, 2 Jul 2020 08:34:05 +0000 (08:34 +0000)]
Bring Kubernetes 1.15

This change brings K8s 1.15 to Nordix. Some notes about
K8s 1.15 support of engine.
- The support is only included for the scenario k8-calico-nofeature.
- Deployment with the scenario k8-multus-plugins fails and
other scenarios are not tested since they may not be relevant
for us anymore. Due to this those scenarios have been removed from
1.15 branch.
- Installer, infra/installer/kubespray, 1.15 branch is tracked by
this branch.

An example command to deploy K8s 1.15 in online mode with the engine is.

- clone engine repo as usual
- cd engine/engine
- ./deploy.sh -s kubernetes -b 1.15 -c k8-calico-nofeature \
    -p <path to pdf> -i <path to idf> -v

If you are deploying on OpenStack using Heat, you need to
- specify the location of openrc file
- pass heat environment file as pdf

An example command to package K8s 1.15 for offline deployment with the
engine is.

- clone engine repo as usual
- cd engine/engine
- ./package.sh -s kubernetes -b 1.15 -v

Change-Id: Ic594b74780b6cdc309e36c24cea75e8e60863b2b

3 years agoMove pre, postinstall, scenario, and apps to stack 58/5158/4
Fatih Degirmenci [Wed, 24 Jun 2020 13:22:44 +0000 (13:22 +0000)]
Move pre, postinstall, scenario, and apps to stack

Preinstall, postinstall, scenario, and apps are specific
to stack composition and more appropriate to locate them
within the stacks themselves rather than the installers.
This makes it possible for different stacks to configure
target deployment according to their needs and use the
installer without thinking about potential effects the
changes could cause on other stacks that may be using the
same installer.

An example to this is Kubernetes and ONAP stacks and the
CEPH configuration. Both stacks use Kubespray but the
configuration of Kubernetes differs between them. By moving
the pre/post/scenario/app configuration into stacks
themselves, they become independent from each other as
much as possible.

Please note that once this change goes in, the dependent
change needs to be verified and submitted in order to
conclude the transition.

https://gerrit.nordix.org/c/infra/installer/kubespray/+/5157

Change-Id: I24d7e9546034b385565708f528ed9caddf03ae26

3 years agoCreate engine kubernetes stack 16/4816/5
Fatih Degirmenci [Tue, 19 May 2020 08:13:26 +0000 (08:13 +0000)]
Create engine kubernetes stack

This change creates kubernetes stack for engine in order to package,
deploy, and test stacks independently from engine core.

The main feature this enables is the ability to develop stacks
in their own repository with proper versioning and branching no
matter how the tools (provisioner and installer) are developed.
The stack simply selects versions of the tools (could be branches)
and the rest is done accordingly.

The role package which was previously located under
infra/installer/kubespray is moved into this repository in order to
handle what to package within the stack since some of the artifacts
we package do not belong to installer but to the stack itself.

Change-Id: I760d4d904544dad768525e999ebe53e156464111

3 years agoSet up repository 04/4604/2
Fatih Degirmenci [Fri, 1 May 2020 06:28:45 +0000 (06:28 +0000)]
Set up repository

Change-Id: Ia4bc2dd99a5ec808af1be471ce32ad8a1021b68c

3 years agoInitial empty repository
Fatih Degirmenci [Sun, 26 Apr 2020 22:18:27 +0000 (22:18 +0000)]
Initial empty repository