Commit Graph

19 Commits

Author SHA1 Message Date
Tetiana Lashchova
d082560c46 Add Google Container Registry to KubernetesCluster
Allow access to Google Container Registry using json key as
a password for docker login. The key is scoped to a specific
Google Cloud Platform Console project and its resources.
Add new field for key.

Partially implements: blueprint k8s-google-registry-support

Change-Id: Ica71d1a48ac7fb75a71497fcbe318d1b9e4e8192
2015-12-03 14:14:09 +02:00
Jenkins
84e7e83cb6 Merge "Add custom docker registry to KubernetesCluster" 2015-11-09 17:51:25 +00:00
Tetiana Lashchova
3b1fba08b8 Add custom docker registry to KubernetesCluster
Allow access to private docker registry using docker argument
'--insecure-registry'.
Add new field for docker private registry host ip or domain name.

Partially implements: blueprint k8s-docker-enterprise-hub-support

Change-Id: I725c0b6a2bdbfe6eb9e627266411286fe44bfae3
2015-11-02 14:25:20 +02:00
Stan Lagun
9715d5e3e7 [Kubernetes] Bunch of issues regarding scaling was fixed
1. There was scaleGatewayUp but no Down action
2. Gracefully remove node from etcd upon down-scale of nodes/gateways
3. Log to user which gateways were created/deleted
4. Deployment either hanged or worked incorrectly when downscaling and then
     upscaling something again

Also sets minimum gateway node count to 1 until gateway-less mode be fully
functional again

Change-Id: Ie3255f70b8a3fdfadab119a579c00433938495c8
Closes-Bug: #1509074
2015-10-22 23:10:33 +03:00
Stan Lagun
0549313491 [Docker] Do not try to delete container on destroyed host
When Environment get deleted both Docker/k8s host and
Docker applications get deleted. So it is possible that host
will try to delete container from an Instance that was already
destroyed. Attempt to send commands to such instance
will hang until timeout because there is no more agent
exist on the other side.

Change-Id: Ia6e8064ae50c24ce595ed08e446ed45b96b4a330
Closes-Bug: #1504623
Depends-On: I298f3f079a153ef87ed7213b7f1432c9e5e4b4b6
2015-10-12 11:23:27 +00:00
Stan Lagun
4026fd9c9f [Docker] Pod (RC) scaling was fixed
Change-Id: I287cdbed1c3b8f8bad0a80219e108f445ad409b3
Closes-Bug: #1504644
2015-10-10 12:10:06 +03:00
Stan Lagun
17fea01068 [Kubernetes] Action to scale Pod up/down
Change-Id: I6b2737524955b1f72b6a692559d3942cbb60deb7
Closes-Bug: #1449599
2015-10-09 15:54:32 +00:00
Stan Lagun
c334c5fb66 [Kubernetes] Fix cAdvisor port was not added to security group
Change-Id: I0dd421b918c4bf7c85e9e75404f3876f9328c310
Closes-Bug: #1498879
2015-10-09 15:54:19 +00:00
Stan Lagun
6971ac48bc [Kubernetes] Kubernetes was updated to v1.0.6 and v1 API
Implements-Blueprint: update-k8-to-v1-api
Change-Id: Ie34997dc2aef87226459fa67640e39c08cca0ddf
2015-10-09 17:25:32 +03:00
Kirill Zaitsev
53435ca624 Remove malformed leading character in KubernetesCluster
Also removes trailing spaces in empty line

Related-Bug: #1481748
Change-Id: I91af71a6861a29a07ad6ae9cc8f27c4cf87f39a1
2015-08-20 18:14:06 +03:00
Dmytro Dovbii
f5d67b622d Fix typo in Kubernetes Cluster app
Due to the fact that yaql 0.2 allows to compare the number with a
string there are no errors in this check and method works
incorrectly allowing to application to use port 22

Change-Id: I4e6be454b9ee3d6f5f594856610c201e741f310d
Closes-Bug: #1481748
2015-08-05 13:01:34 +00:00
Dmytro Dovbii
f56c8d889e Add messages in cases when scaleUp/Down action execution fails
Change-Id: Id233e69ab0bd4d2fd993b3c52b0ce2754cca5588
Closes-Bug: #1449595
2015-05-08 10:38:00 +03:00
Stan Lagun
39a9001c04 Adds ability to delete docker applications from the host
Application deletion were supported on DSH/Pod but not exposed
in DockerApplication. Once it became exposed number of bugs in
KubernetesPod and DSH became visible.

Change-Id: I33650936a73994668f72348a909b7a51bae2b98c
Closes-Bug: #1446582
(cherry picked from commit a74293e2b4ed5695737066d9154d51a4170b8a80)
2015-05-01 22:44:24 +00:00
Jenkins
1576a5626b Merge "Add license information" 2015-04-22 00:23:44 +00:00
Stan Lagun
c681e2197d Update for changes in k8s 0.15
* Migrated to v1beta3 API
* cAdvisor is now enabled by default
* command line daemon settings updated
* HAproxy template updated for multi-port services
* Better reporting

Change-Id: Iefcbe8073fb35503e2fe2ee5c6bf4610561c3cb6
Closes-Bug: #1446306
Closes-Bug: #1445541
2015-04-20 20:34:02 +03:00
Ekaterina Chernova
53c9a9ad26 Add license information
* LICENSE file placed to every package
* License information is shown during application creation
* License added to every file

Change-Id: I682f3d9a09d0c0b575206d79223c1822c4b94f27
Closes-Bug: #1446121
2015-04-20 19:15:15 +03:00
Stan Lagun
a855e9a879 Adds support for several applications in single Pod
Kubernetes doesn't allow to add containers to a Pod that
is already deployed. With this change old pods will be deleted
and either new pod created which will include new container
or Replication Controller will be modified (before Pod delete
so that updated Pods be created instead)

Also now Pods are created only when replica number set to 0.
Otherwise Pods created by ReplicationController alone.

Change-Id: I8552793f39083de47ad07e7013dedb72e0550885
Closes-Bug: #1444208
2015-04-15 00:28:31 +00:00
Stan Lagun
e9a04c4db0 Fixes replication controller deletion
KubernetesCluster method to delete RC was using incorrect
property and there was a typo in execution plan making it
fail on validation

Also renames destroy* methods to delete* methods to match
Kubernetes terms

Change-Id: I2ff71679deeb5ad3692fcc1a5fcfed8fa0e8d94f
Closes-Bug: #1443857
2015-04-15 03:15:58 +03:00
Dmytro Dovbii
7cb39996f0 Restructure murano-apps repository
Change-Id: I9cdb1e4afcb9929c7b7a5437faaa25d284daefdb
Closes-Bug: #1441644
2015-04-14 09:42:21 +03:00