148 Commits

Author SHA1 Message Date
Dmytro Dovbii
493ce1927f Fix wrong usage of join()
Change-Id: Iebb70cea8483b6f0a577ab6b8d8015c39fba6345
Closes-Bug: #1623006
2016-09-14 17:40:50 +03:00
Dmytro Dovbii
6547024fa3 Apply custom cidr configuration for docker0 for master k8s node
Change-Id: Id47c3d4548f1556280b9663a6176205bf0d3b051
Closes-Bug: #1590070
2016-09-14 15:47:22 +03:00
Jenkins
957ccc99b4 Merge "Add initial version of script for zipping packages" 2016-09-12 07:39:59 +00:00
Anastasia Kuznetsova
f30c93884f Add initial version of script for zipping packages
For running k8s and docker autotests against this repo
we need to prepare and upload packages first.

This is a POC of script, it should be refactored and improved in
future, but for now we need to have some prototype somewhere, otherwise
it will be hardcoded in jenkins job.

Change-Id: I58c7965b275dd3a86de69f9e341c61edc04cc976
2016-09-09 17:47:31 +03:00
Jenkins
8dca5aee63 Merge "Add info about recreatePod and restartContainers actions" 2016-09-05 11:57:02 +00:00
Valerii Kovalchuk
15fd3deb33 Add info about recreatePod and restartContainers actions
Change-Id: I0f21903f4c89b4bd1393f7eddb03908efc1018b8
2016-09-02 15:09:26 +00:00
Sergey Kraynev
759c7e07a1 Add .gitreview file for new repo
Change-Id: I870195b0739371bdbf2a5c7e644830ed0d7e2f6a
2016-09-01 11:54:41 +03:00
Jenkins
7d1dba0b36 Merge "Fixing docker DIB element for setting correct MTU" 2016-08-29 00:55:04 +00:00
Nikolay Mahotkin
4fd1b640ca [K8s] Fixing patchService.sh
* Since update command is replaced by replace here
   https://review.openstack.org/#/c/358661/
   for patching the resource it needs to use
   'kubectl patch <type> <name> --patch <patch>'

Change-Id: Ie7e5c4aea3b0cee519ae5ed81cff0dcc3ab67562
2016-08-26 16:33:27 +03:00
Nikolay Mahotkin
5c69e7d64c Fixing docker DIB element for setting correct MTU
* docker0 interface in ubuntu had incorrect MTU value
 * Older docker (< v1.1) automatically infer MTU value based
 on host. But since 1.1 docker doesn't do this. It
 sets MTU value 1500 which causes some network problems
 (especially with SSL/TLS/HTTPS) and apps like
 HTTPdSite and NginXSite couldn't clone the repo.

Closes-Bug: 1608836

Change-Id: I62482bce9ad4f45b7ea2d1d4db77d009c7191f7b
2016-08-26 15:17:38 +03:00
Jenkins
e872c9ce2b Merge "Fixing volume entry definitions" 2016-08-24 08:41:40 +00:00
Jenkins
c48570dedf Merge "[K8s] Fixing service naming" 2016-08-24 07:28:29 +00:00
Nikolay Mahotkin
5c680111b6 Fixing volume entry definitions
* According to
   http://kubernetes.io/docs/user-guide/volumes/#types-of-volumes
   and
   a1b5325011
   there is hostPath volume type instead of hostDir;
   And there is no 'source' keyword anymore.

 * Replacing 'kubectl update' on 'kubectl replace':
   kubectl update is deprecated, need to use 'replace':
   9b3d42c090

Closes-Bug: #1604766

Change-Id: I1029caeb2827fc9de271b457c7a61b043d0189cb
2016-08-23 13:20:37 +03:00
Nikolay Mahotkin
27aa9a450a [K8s] Fixing service naming
* Due to the service name length limitation
   it needs to be cut to 24 characters.

Closes-Bug: #1613651

Change-Id: Id2d68346034c0697f3fb41a090201e8736f8deec
2016-08-23 11:09:40 +03:00
Nikolay Mahotkin
24c4a2d443 [k8s] Restrict getEndpoints to search only in current pod
* If we have a k8s cluster installed and
   then deploy 2 apps, each on separate pod,
   then in logs we will see 2 endpoints for
   2nd app. Then we will see 3 endpoints for
   next pod/app deployment. The reason is searching
   endpoints was done by whole k8s cluster but it
   should rather be only by current pod.
   Now it is fixed.

Closes-Bug: #1613631

Change-Id: I730016dcd55a922ac6c9ee20f9de500f7831f9c3
2016-08-19 15:29:56 +03:00
Jenkins
7738e13e7a Merge "[kubernetes][app] Fix flannel settings for docker" 2016-08-17 14:41:57 +00:00
Artem Silenkov
99dff014c1 [kubernetes][app] Fix flannel settings for docker
DOCKER_OPTS should be covered with quotation marks

Change-Id: Ib3bc5ae61226c779485e8dc693dab33b01ef39e3
2016-08-17 17:00:46 +03:00
Artem Silenkov
ed467511e7 [qcow2 image][kubernetes] Scripts updated to use latest etcd
* latest etcd is enabled
  * ntp tools added for time sync
  * Readme updated for tmpfs workaround when 8Gb memory is detected

Change-Id: Ifdfb72902fad843baef1fcee3e5bc65b119bdde3
2016-08-16 11:58:34 +03:00
Jenkins
41def34bbd Merge "[Docker] Fix upstart ans sysvinit scripts for ubuntu" 2016-08-10 08:56:12 +00:00
Jenkins
d6994b5be6 Merge "Shell files syntax cleanup" 2016-08-09 08:59:48 +00:00
asilenkov
2dd7f39213 [Docker] Fix upstart ans sysvinit scripts for ubuntu
Fix the way hyperkube starts for sysv and upstart

Change-Id: If682033af5f5d58b64cec463d6d379bf79b06c8e
2016-08-04 19:55:04 +03:00
Jenkins
bbc5a19803 Merge "[docker] Switch kubernetes application to hyperkube" 2016-08-04 11:44:41 +00:00
alexz
3f7ec09847 Shell files syntax cleanup
* add SC2001 to shellcheck skip-list
* few functions from CloudFoundryDiego application was changed -
  manual deployment test requeired

Change-Id: Ib7b223553bdfc14f7051911d7ed0e4076c6aebb0
2016-07-29 09:05:33 +00:00
alexz
719a47fa86 Yaml syntax cleanup
* remove 'error' like:
- no new line character at the end of file
- trailing spaces

Change-Id: I981f5353a5bd5bfb1546946b240a85905272887e
2016-07-27 14:06:24 +00:00
asilenkov
153df74882 [docker] Switch kubernetes application to hyperkube
Init scripts updated to use all-in-one-binary for all services

Change-Id: I96518d4c93a64d83a55c542e40d8024781fd95c8
2016-07-26 18:08:16 +03:00
Jenkins
001f04c3a2 Merge "privileged mode support for KubernetesPod and DockerStandaloneHost" 2016-07-24 18:35:15 +00:00
Jenkins
25752460de Merge "[DSH] Delete hardcoded image name" 2016-07-24 18:35:09 +00:00
Vitaly Lopatkin
ba744855df privileged mode support for KubernetesPod and DockerStandaloneHost
Change-Id: I2155b27af1e59bf907d7ad03dedada98ef8ebb76
2016-07-22 16:52:44 +06:00
Dmytro Dovbii
82c876eb1e [k8s] Fix typo in member configuration script
Change-Id: I07fd7a1e773b6e9c975f246abfd7055078db2c0a
2016-07-22 12:37:48 +03:00
Dmytro Dovbii
e99577fdc8 [DSH] Delete hardcoded image name
We have a debian 8 image for a long time, which
can be successfully used by docker standalone host
to run dockerized apps, but we still don't use it.
This commit deletes hardcode and adds image field to
ui with filter by type `linux.docker`.

Change-Id: Ie3d9d454cd98f651833b28690d33d55b404dc13d
2016-07-20 15:58:12 +00:00
Dmytro Dovbii
c746897a2a Fix the FQN on DockerJenkins app
Change-Id: I4a9a6239fb796f25085c3f88a04a50eb1b464501
2016-07-20 14:02:59 +03:00
Jenkins
8ae16e0b6a Merge "[K8s] Delete hardcoded name of image" 2016-07-19 15:54:34 +00:00
Jenkins
44eba9c68f Merge "Add info about Debian image building to elements readme" 2016-07-19 15:54:29 +00:00
Jenkins
f8bb94115b Merge "[K8s] Update dib elements to support debian image" 2016-07-19 15:54:23 +00:00
Jenkins
ce08d0ae90 Merge "[K8s] Add units to make k8s working on debian" 2016-07-19 15:54:17 +00:00
Jenkins
d6b9cc0004 Merge "[K8s] Update scripts with etcd and flannel configuration" 2016-07-19 13:21:29 +00:00
Dmytro Dovbii
8da5a549fc [K8s] Delete hardcoded name of image
Now app can use two images: debian 8 and ubuntu 14.04

Change-Id: I360c2d02ad1ea726448a2338852d3c190cf1f3bb
2016-07-15 11:32:36 +00:00
Dmytro Dovbii
aadbfa87f2 Add info about Debian image building to elements readme
Change-Id: Ia0039aac4237a43d9c3e395319952f5ebde50e7a
2016-07-15 13:57:33 +03:00
Dmytro Dovbii
62cbb515af [K8s] Update dib elements to support debian image
Change-Id: I1a2eee8c163cc8c54b81d9ca5bad4b22f9ad41b6
2016-07-15 13:57:33 +03:00
Dmytro Dovbii
f666ae2b3f [K8s] Add units to make k8s working on debian
Change-Id: Iec45db413f0e88a68b435a13aa7a4b4a6fdfd818
2016-07-15 13:57:24 +03:00
Dmytro Dovbii
93878c0db1 [K8s] Update scripts with etcd and flannel configuration
This patch adds tuning of existing scripts related to
updating etcd binaries from 2.0.13 to 2.2.5

Change-Id: I33eac5abe96449a2a35f7305632b68fd20960f5c
2016-07-15 13:49:53 +03:00
Tetiana Lashchova
54bdd3f7dc Update namespace for DockerStandaloneHost
Replace com.example with com.mirantis

Change-Id: I03716573186fc0f6a973b25c95116aeea864a077
2016-07-14 13:22:07 +03:00
Nikolay Mahotkin
2d4eb1d122 [K8s] Updating DIB elements and fix k8s application
* DIB element is updated to the latest k8s version - 1.3.0
 * K8s application is fixed according to the new k8s version:
    - replaced short '-t' flag on the long one - '--template'

Change-Id: I37d73a907c55c0e3aca6a2e786b05a9e99a215ac
2016-07-04 19:34:14 +03:00
Jenkins
f0513c429a Merge "[K8s] Update DIB elements to use latest stable binaries" 2016-06-21 23:20:17 +00:00
Jenkins
df5b08864b Merge "Fix usage of id() and super() methods in Docker apps" 2016-06-21 12:33:20 +00:00
Tetiana Lashchova
1d0fc0a3e0 Fix usage of id() and super() methods in Docker apps
Change-Id: Ieb34aee28b796adfceebca0c825d05de02cf37ac
Closes-Bug: #1593682
2016-06-21 13:27:35 +03:00
Jenkins
d7a963e83b Merge "Update namespaces for docker applications" 2016-06-21 08:25:38 +00:00
Jenkins
30cf1b9414 Merge "Update namespaces for k8s applications" 2016-06-21 08:25:28 +00:00
Tetiana Lashchova
492ec6e097 Update namespaces for docker applications
io.murano.apps -> com.mirantis for k8s applications,
io.murano.apps -> com.example for example applications.

bp fix-fqn-usage

Change-Id: I7061b48ebcc5c33b96a14cfabb982d709f8b709d
2016-06-17 12:37:23 +03:00
Tetiana Lashchova
f57eb2fa4c Update namespaces for k8s applications
Replace io.murano.apps with com.mirantis

bp fix-fqn-usage

Change-Id: I5bb6129a51beadffe124cd0fb289f41e05cd52c3
2016-06-17 12:36:17 +03:00