· 6 years ago · Dec 28, 2019, 01:56 PM
1aleksej@dev-station:~/projects/upwork/bin$ ./install.sh
2Running pre-install checks...
3Creating CA: /home/aleksej/.shipa/installs/shipa-45/certs/ca.pem
4Creating client certificate: /home/aleksej/.shipa/installs/shipa-45/certs/cert.pem
5Running pre-create checks...
6(shipa-45-1) Check that the project exists
7(shipa-45-1) Check if the instance already exists
8Creating machine...
9(shipa-45-1) Generating SSH Key
10(shipa-45-1) Creating host...
11(shipa-45-1) Opening firewall ports
12(shipa-45-1) Creating instance
13(shipa-45-1) Waiting for Instance
14(shipa-45-1) Uploading SSH Key
15Waiting for machine to be running, this may take a few minutes...
16Detecting operating system of created instance...
17Waiting for SSH to be available...
18Detecting the provisioner...
19Provisioning with ubuntu(systemd)...
20Installing Docker...
21Copying certs to the local machine directory...
22Copying certs to the remote machine...
23Setting Docker configuration on the remote daemon...
24Checking connection to Docker...
25Docker is up and running!
26Waiting for SSH to be available...
27Detecting the provisioner...
28Installing Docker...
29Copying certs to the local machine directory...
30Copying certs to the remote machine...
31Setting Docker configuration on the remote daemon...
32Creating registry certificate...
33Uploading registry certificate...
34Deploying shipa config...
35Creating home directory for guardian git user
36Creating api dir for shipad
37Deploying compose file in cluster manager....
38Creating network shipa_priv
39Creating network shipa_shipa
40Creating service shipa_traefik
41Creating service shipa_clair
42Creating service shipa_mongo
43Creating service shipa_shipa
44Creating service shipa_etcd
45Creating service shipa_guardian
46Creating service shipa_registry
47Creating service shipa_metrics
48Creating service shipa_internal-postgres
49Waiting for Shipa API to become responsive...
50+Opening config file: /etc/shipa/shipa.conf
510Done reading config file: /etc/shipa/shipa.conf
52OWarning: configuration didn't declare a database driver, using default driver.
53@Using "mongodb" database "shipa" from the server "mongo:27017".
54
55Password:
56
57Confirm:
58 Root user successfully created.
59Bootstrapping Shipa API...adding target
60New target shipa-45 -> http://35.223.94.0:8080 added to target list and defined as the current target
61log in with default user: admin@shipa.io Password:
62Successfully logged in!
63adding team
64Team "admin" successfully created!
65adding team
66Team "system" successfully created!
67adding pool
68Pool successfully registered.
69adding node https://10.128.15.229:2376
70Node successfully registered.
71Role successfully created!
72Permission successfully added!
73Permission successfully added!
74Role successfully created!
75Permission successfully added!
76Permission successfully added!
77Role successfully created!
78Permission successfully added!
79Permission successfully added!
80Role successfully created!
81Permission successfully added!
82Permission successfully added!
83Permission successfully added!
84Permission successfully added!
85Roles successfully added as default!
86Roles successfully added as default!
87Roles successfully added as default!
88adding platform: python
89Step 1/1 : FROM shipasoftware/python
90latest: Pulling from shipasoftware/python
915667fdb72017: Already exists
92d83811f270d5: Already exists
93ee671aafb583: Already exists
947fc152dfb3a6: Already exists
95aefae26fad86: Pull complete
96dbf2c4730f3a: Pull complete
97a4109b85cfaa: Pull complete
9832560038a0e9: Pull complete
996346a9e348db: Pull complete
10048a5edb720c5: Pull complete
1016384fc7cf7d3: Pull complete
10260a1fefdc0b7: Pull complete
103Digest: sha256:77dccdcc9bf26c4d42fecdad1cb94755e047d5a9725149e01e0ae7e73aa86144
104Status: Downloaded newer image for shipasoftware/python:latest
105 ---> 3a51fd03ab51
106Successfully built 3a51fd03ab51
107Successfully tagged 35.223.94.0:5000/shipa/python:v1
108Platform successfully added!
109adding dashboard
110App "dashboard" has been created!
111Use app-info to check the status of the app and its units.
112Your repository for "dashboard" project is "git@35.223.94.0.nip.io:dashboard.git"
113deploying dashboard
114context args: []
115Deploying image... with values: map[image:[shipasoftware/dashboard:latest] origin:[image] step-interval:[0] step-weight:[1] steps:[1]]
116 ok
117---- Getting process from image ----
118latest: Pulling from shipasoftware/dashboard
1195667fdb72017: Already exists
120d83811f270d5: Already exists
121ee671aafb583: Already exists
1227fc152dfb3a6: Already exists
123aefae26fad86: Already exists
124dbf2c4730f3a: Already exists
125a4109b85cfaa: Already exists
12632560038a0e9: Already exists
1276346a9e348db: Already exists
12848a5edb720c5: Already exists
1296384fc7cf7d3: Already exists
13060a1fefdc0b7: Already exists
131e50107f81b81: Pull complete
13206a271b16119: Pull complete
13366b12aaf3b27: Pull complete
134Digest: sha256:f804aa49a99d218bba208a93b59128ac4a127d9a2391b8706307564072fe7d4d
135Status: Downloaded newer image for shipasoftware/dashboard:latest
136---- Inspecting image "shipasoftware/dashboard:latest" ----
137 ---> Process "web" found with commands: ["gunicorn --access-logfile - -b 0.0.0.0:$PORT -w 2 abyss.wsgi -k gevent"]
138---- Getting shipa.yaml from image ----
139latest: Pulling from shipasoftware/dashboard
140Digest: sha256:f804aa49a99d218bba208a93b59128ac4a127d9a2391b8706307564072fe7d4d
141Status: Image is up to date for shipasoftware/dashboard:latest
142---- Running build hooks ----
143 ---> Running "python manage.py migrate --noinput && python manage.py createcachetable && python manage.py collectstatic --noinput"
144latest: Pulling from shipasoftware/dashboard
145Digest: sha256:f804aa49a99d218bba208a93b59128ac4a127d9a2391b8706307564072fe7d4d
146Status: Image is up to date for shipasoftware/dashboard:latest
147Operations to perform:
148 Apply all migrations: contenttypes, sessions
149Running migrations:
150 No migrations to apply.
151Cache table 'shipa_cache' already exists.
152
1530 static files copied to '/home/application/current/abyss/static', 8451 unmodified.
154---- Pushing image "35.223.94.0:5000/shipa/app-dashboard:v1" to shipa ----
155The push refers to repository [35.223.94.0:5000/shipa/app-dashboard]
156c3133a2f7e9e: Pushed
157d3c684d27757: Pushed
158e97fe2be7205: Pushed
1591903c326b8e6: Pushed
1609ade3fa0aca8: Mounted from shipa/python
161e8e95031273b: Mounted from shipa/python
162aaaad1b073ed: Mounted from shipa/python
16358db7aefc252: Mounted from shipa/python
164ceb3e2248955: Mounted from shipa/python
1654428c9ad84f3: Mounted from shipa/python
1665596168883ab: Mounted from shipa/python
1679eb2950dda7c: Mounted from shipa/python
168e80c789bc6ac: Mounted from shipa/python
1696c3332381368: Mounted from shipa/python
170ef1a1ec5bba9: Mounted from shipa/python
171a1aa3da2a80a: Mounted from shipa/python
172v1: digest: sha256:91732453f7d8f38be395fdfb719a5c500142ed84191d5c41626278995cdabe4e size: 3678
173---- Running build hooks ----
174 ---> Running "python manage.py migrate --noinput"
175Operations to perform:
176 Apply all migrations: contenttypes, sessions
177Running migrations:
178 No migrations to apply.
179 ---> Running "python manage.py createcachetable"
180Cache table 'shipa_cache' already exists.
181 ---> Running "python manage.py collectstatic --noinput"
182
1830 static files copied to '/home/application/current/abyss/static', 8451 unmodified.
184
185---- Building image ----
186 ---> Sending image to repository (0.04MB)
187 ---> Cleaning up
188 ---> Running a security scan
189 ---> Found 0 vulnerability(ies)
190
191 ---- Rolling out deployment ----
192 ----> Step 1:
193 -----> Set target:
194 all processes => 1 units
195 -----> Update deployment 2:
196 web => 1 units
197
198---- Starting 1 new unit [web: 1] ----
199 ---> Started unit e207fbffc3 [web]
200
201---- Binding and checking 1 new unit ----
202 ---> Bound and checked unit e207fbffc3 [web]
203
204---- Adding routes to new units ----
205 ---> Added route to unit e207fbffc3 [web]
206
207---- Setting router healthcheck (Path: /) ----
208 ---> New routing settings:
209 version: 2, total weight: 1
210
211
212OK
213running autoscale checks
214unable to fetch auto scale rules for theonepool: invalid rule, either memory information or max container count must be set
215Installing netdata
216Node container successfully added.
217relaunching node container "netdata" in the node https://10.128.15.229:2376 [theonepool]
218upserting node container "netdata" [""]
219--- Installation Overview ---
220Core Hosts:
221+-------------+-------+---------+
222| IP | State | Manager |
223+-------------+-------+---------+
224| 35.223.94.0 | ready | true |
225+-------------+-------+---------+
226
227Core Components:
228+-------------------------+------------------+----------+
229| Component | Ports | Replicas |
230+-------------------------+------------------+----------+
231| shipa_guardian | 2222,8000 | 1 |
232+-------------------------+------------------+----------+
233| shipa_traefik | 80,443,8082,9095 | 1 |
234+-------------------------+------------------+----------+
235| shipa_metrics | 9090,9091 | 1 |
236+-------------------------+------------------+----------+
237| shipa_internal-postgres | 5432 | 1 |
238+-------------------------+------------------+----------+
239| shipa_registry | 5000 | 1 |
240+-------------------------+------------------+----------+
241| shipa_clair | 6060,6061 | 1 |
242+-------------------------+------------------+----------+
243| shipa_mongo | | 1 |
244+-------------------------+------------------+----------+
245| shipa_shipa | 8080 | 1 |
246+-------------------------+------------------+----------+
247| shipa_etcd | 2379 | 1 |
248+-------------------------+------------------+----------+
249Configured default user:
250Username: admin@shipa.io
251Password: bingobingo
252Apps Hosts:
253+----------------------------+---------+--------+----------------------------------+
254| Address | IaaS ID | Status | Metadata |
255+----------------------------+---------+--------+----------------------------------+
256| https://10.128.15.229:2376 | | ready | LastSuccess=2019-12-28T10:52:18Z |
257| | | | created_by=admin@shipa.io |
258| | | | iaas=dockermachine |
259| | | | pool=theonepool |
260+----------------------------+---------+--------+----------------------------------+
261Apps:
262+-------------+-----------+-------------------------------------+
263| Application | Units | Address |
264+-------------+-----------+-------------------------------------+
265| dashboard | 1 started | http://dashboard.35.223.94.0.nip.io |
266+-------------+-----------+-------------------------------------+
267
268aleksej@dev-station:~/projects/upwork/bin$ ./shipa app-list
269+-------------+-----------+-------------------------------------+
270| Application | Units | Address |
271+-------------+-----------+-------------------------------------+
272| dashboard | 1 started | http://dashboard.35.223.94.0.nip.io |
273+-------------+-----------+-------------------------------------+
274aleksej@dev-station:~/projects/upwork/bin$ ./shipa app-create python-app --team=admin --pool=theonepool
275App "python-app" has been created!
276Use app-info to check the status of the app and its units.
277Your repository for "python-app" project is "git@35.223.94.0.nip.io:python-app.git"
278aleksej@dev-station:~/projects/upwork/bin$ ./shipa app-info -a python-app
279Application: python-app
280Description:
281Tags:
282Repository: git@35.223.94.0.nip.io:python-app.git
283Platform:
284Teams: admin
285Address: http://python-app.35.223.94.0.nip.io
286Owner: admin@shipa.io
287Team owner: admin
288Deploys: 0
289Pool: theonepool
290Quota: 0/4 units
291Routing settings:
292
293App Plan:
294+---------------+--------+------+-----------+---------+
295| Name | Memory | Swap | Cpu Share | Default |
296+---------------+--------+------+-----------+---------+
297| autogenerated | 0 | 0 | 100 | false |
298+---------------+--------+------+-----------+---------+
299
300Routers:
301+---------+---------+------+-------------------------------+--------+
302| Name | Type | Opts | Address | Status |
303+---------+---------+------+-------------------------------+--------+
304| traefik | traefik | | python-app.35.223.94.0.nip.io | |
305+---------+---------+------+-------------------------------+--------+
306
307aleksej@dev-station:~/projects/upwork/bin$ ./shipa app-info -a python-app
308Application: python-app
309Description:
310Tags:
311Repository: git@35.223.94.0.nip.io:python-app.git
312Platform:
313Teams: admin
314Address: http://python-app.35.223.94.0.nip.io
315Owner: admin@shipa.io
316Team owner: admin
317Deploys: 0
318Pool: theonepool
319Quota: 0/4 units
320Routing settings:
321
322App Plan:
323+---------------+--------+------+-----------+---------+
324| Name | Memory | Swap | Cpu Share | Default |
325+---------------+--------+------+-----------+---------+
326| autogenerated | 0 | 0 | 100 | false |
327+---------------+--------+------+-----------+---------+
328
329Routers:
330+---------+---------+------+-------------------------------+--------+
331| Name | Type | Opts | Address | Status |
332+---------+---------+------+-------------------------------+--------+
333| traefik | traefik | | python-app.35.223.94.0.nip.io | |
334+---------+---------+------+-------------------------------+--------+
335
336aleksej@dev-station:~/projects/upwork/bin$ ./shipa app-create someapp --team=admin --pool=theonepool
337App "someapp" has been created!
338Use app-info to check the status of the app and its units.
339Your repository for "someapp" project is "git@35.223.94.0.nip.io:someapp.git"
340aleksej@dev-station:~/projects/upwork/bin$ ./shipa app-list
341+-------------+-----------+--------------------------------------+
342| Application | Units | Address |
343+-------------+-----------+--------------------------------------+
344| dashboard | 1 started | http://dashboard.35.223.94.0.nip.io |
345+-------------+-----------+--------------------------------------+
346| python-app | | http://python-app.35.223.94.0.nip.io |
347+-------------+-----------+--------------------------------------+
348| someapp | | http://someapp.35.223.94.0.nip.io |
349+-------------+-----------+--------------------------------------+
350aleksej@dev-station:~/projects/upwork/bin$ cat ./connect-google-cluster-1.sh
351#!/bin/bash
352
353./shipa pool-add google --provisioner=kubernetes
354addr="35.222.27.73:443"
355
356./shipa cluster-add google-cluster-1 kubernetes --pool google --addr $addr --cacert=google-ca-1.pem --custom="password=xnbSTJIL073hoRPL" --custom="username=admin"
357
358aleksej@dev-station:~/projects/upwork/bin$ ./connect-google-cluster-1.sh
359Pool successfully registered.
360Cluster successfully added.
361aleksej@dev-station:~/projects/upwork/bin$ ./shipa pool-list
362+------------+------+-------------+---------------+---------+
363| Pool | Kind | Provisioner | Teams | Routers |
364+------------+------+-------------+---------------+---------+
365| google | | kubernetes | admin, system | traefik |
366+------------+------+-------------+---------------+---------+
367| theonepool | | default | admin, system | traefik |
368+------------+------+-------------+---------------+---------+
369aleksej@dev-station:~/projects/upwork/bin$ ./shipa user-list
370+----------------+------------------------+
371| User | Roles |
372+----------------+------------------------+
373| admin@shipa.io | AllowAll(global) |
374| | PoolAdmin(pool google) |
375+----------------+------------------------+
376aleksej@dev-station:~/projects/upwork/bin$ ./shipa user-list
377+----------------+------------------------+
378| User | Roles |
379+----------------+------------------------+
380| admin@shipa.io | AllowAll(global) |
381| | PoolAdmin(pool google) |
382+----------------+------------------------+
383aleksej@dev-station:~/projects/upwork/bin$ ./shipa user-create -h
384shipa version 1.0.0.
385
386Usage: shipa user-create <email>
387
388Creates a user within shipa remote server. It will ask for the password before issue the request.
389
390Minimum # of arguments: 1
391aleksej@dev-station:~/projects/upwork/bin$ ./shipa user-create aleksej@mail.com
392Password:
393Confirm:
394User "aleksej@mail.com" successfully created!
395aleksej@dev-station:~/projects/upwork/bin$ ./shipa user-list
396+------------------+------------------------+
397| User | Roles |
398+------------------+------------------------+
399| admin@shipa.io | AllowAll(global) |
400| | PoolAdmin(pool google) |
401+------------------+------------------------+
402| aleksej@mail.com | ShipaUser(global) |
403+------------------+------------------------+
404aleksej@dev-station:~/projects/upwork/bin$ ./shipa login
405Email: aleksej@mail.com
406Password:
407Successfully logged in!
408aleksej@dev-station:~/projects/upwork/bin$ ./shipa team-list
409aleksej@dev-station:~/projects/upwork/bin$ ./shipa team-create myteam
410Team "myteam" successfully created!
411aleksej@dev-station:~/projects/upwork/bin$ ./shipa pool-list
412+------+------+-------------+-------+---------+
413| Pool | Kind | Provisioner | Teams | Routers |
414+------+------+-------------+-------+---------+
415aleksej@dev-station:~/projects/upwork/bin$ ./shipa pool-add mypool
416Pool successfully registered.
417aleksej@dev-station:~/projects/upwork/bin$ ./shipa pool-list
418+--------+------+-------------+--------+---------+
419| Pool | Kind | Provisioner | Teams | Routers |
420+--------+------+-------------+--------+---------+
421| mypool | | default | myteam | traefik |
422+--------+------+-------------+--------+---------+
423aleksej@dev-station:~/projects/upwork/bin$ ./shipa app-list
424aleksej@dev-station:~/projects/upwork/bin$ ./shipa app-create some-new-app --team=myteam --pool=mypool
425App "some-new-app" has been created!
426Use app-info to check the status of the app and its units.
427Your repository for "some-new-app" project is "git@35.223.94.0.nip.io:some-new-app.git"
428aleksej@dev-station:~/projects/upwork/bin$ ./shipa app-list
429+--------------+-------+----------------------------------------+
430| Application | Units | Address |
431+--------------+-------+----------------------------------------+
432| some-new-app | | http://some-new-app.35.223.94.0.nip.io |
433+--------------+-------+----------------------------------------+
434aleksej@dev-station:~/projects/upwork/bin$ ./shipa app-create some-new-app --team=admin --pool=mypool
435Error: You don't have permission to do this action
436aleksej@dev-station:~/projects/upwork/bin$ ./shipa login admin@shipa.io
437Password:
438Successfully logged in!
439aleksej@dev-station:~/projects/upwork/bin$ ./shipa pool-list
440+------------+------+-------------+---------------+---------+
441| Pool | Kind | Provisioner | Teams | Routers |
442+------------+------+-------------+---------------+---------+
443| google | | kubernetes | admin, system | traefik |
444+------------+------+-------------+---------------+---------+
445| mypool | | default | myteam | traefik |
446+------------+------+-------------+---------------+---------+
447| theonepool | | default | admin, system | traefik |
448+------------+------+-------------+---------------+---------+
449aleksej@dev-station:~/projects/upwork/bin$ ./shipa app-list
450+--------------+-----------+----------------------------------------+
451| Application | Units | Address |
452+--------------+-----------+----------------------------------------+
453| dashboard | 1 started | http://dashboard.35.223.94.0.nip.io |
454+--------------+-----------+----------------------------------------+
455| python-app | | http://python-app.35.223.94.0.nip.io |
456+--------------+-----------+----------------------------------------+
457| some-new-app | | http://some-new-app.35.223.94.0.nip.io |
458+--------------+-----------+----------------------------------------+
459| someapp | | http://someapp.35.223.94.0.nip.io |
460+--------------+-----------+----------------------------------------+
461aleksej@dev-station:~/projects/upwork/bin$ OAOA
462OAOA: command not found
463
464aleksej@dev-station:~/projects/upwork/bin$ ./install-keys.sh
465Key "aleksej" successfully added!
466
467aleksej@dev-station:~/projects/upwork/bin$ ./shipa app-info python-app
468Error: shipa wasn't able to guess the name of the app.
469
470Use the --app flag to specify it.
471
472Git repository not found: Repository not found.
473aleksej@dev-station:~/projects/upwork/bin$ ./shipa app-info --app python-app
474Application: python-app
475Description:
476Tags:
477Repository: git@35.223.94.0.nip.io:python-app.git
478Platform:
479Teams: admin
480Address: http://python-app.35.223.94.0.nip.io
481Owner: admin@shipa.io
482Team owner: admin
483Deploys: 0
484Pool: theonepool
485Quota: 0/4 units
486Routing settings:
487
488App Plan:
489+---------------+--------+------+-----------+---------+
490| Name | Memory | Swap | Cpu Share | Default |
491+---------------+--------+------+-----------+---------+
492| autogenerated | 0 | 0 | 100 | false |
493+---------------+--------+------+-----------+---------+
494
495Routers:
496+---------+---------+------+-------------------------------+--------+
497| Name | Type | Opts | Address | Status |
498+---------+---------+------+-------------------------------+--------+
499| traefik | traefik | | python-app.35.223.94.0.nip.io | |
500+---------+---------+------+-------------------------------+--------+
501
502aleksej@dev-station:~/projects/upwork/bin$ git clone git@35.223.94.0.nip.io:2222:python-app.git
503Cloning into 'python-app'...
504The authenticity of host '35.223.94.0.nip.io (35.223.94.0)' can't be established.
505ECDSA key fingerprint is SHA256:c/hHipsgN5c2aG6JI2KbJPTc87uNPY4HfR8WGHsBOyA.
506Are you sure you want to continue connecting (yes/no)? yes
507Warning: Permanently added '35.223.94.0.nip.io,35.223.94.0' (ECDSA) to the list of known hosts.
508git@35.223.94.0.nip.io: Permission denied (publickey).
509fatal: Could not read from remote repository.
510
511Please make sure you have the correct access rights
512and the repository exists.
513aleksej@dev-station:~/projects/upwork/bin$ ./create-app-remote.sh
514App "new-kube-app" has been created!
515Use app-info to check the status of the app and its units.
516Your repository for "new-kube-app" project is "git@35.223.94.0.nip.io:new-kube-app.git"
517Cloning into 'new-kube-app'...
518The authenticity of host '[35.223.94.0.nip.io]:2222 ([35.223.94.0]:2222)' can't be established.
519ECDSA key fingerprint is SHA256:RpAizeN0NPH8xrhxGSjsRgQqYlB5jumoDdXNq0Sbroc.
520Are you sure you want to continue connecting (yes/no)? yes
521Warning: Permanently added '[35.223.94.0.nip.io]:2222,[35.223.94.0]:2222' (ECDSA) to the list of known hosts.
522warning: You appear to have cloned an empty repository.
523'app/app.py' -> 'new-kube-app/app.py'
524'app/Procfile' -> 'new-kube-app/Procfile'
525'app/requirements.txt' -> 'new-kube-app/requirements.txt'
526'app/test_app.py' -> 'new-kube-app/test_app.py'
527
528aleksej@dev-station:~/projects/upwork/bin$
529aleksej@dev-station:~/projects/upwork/bin/new-kube-app$ git status
530On branch master
531
532No commits yet
533
534Untracked files:
535 (use "git add <file>..." to include in what will be committed)
536
537 Procfile
538 app.py
539 requirements.txt
540 test_app.py
541
542nothing added to commit but untracked files present (use "git add" to track)
543aleksej@dev-station:~/projects/upwork/bin/new-kube-app$ git add .
544aleksej@dev-station:~/projects/upwork/bin/new-kube-app$ git commit -m 'Yeah'
545[master (root-commit) ac61292] Yeah
546 4 files changed, 18 insertions(+)
547 create mode 100755 Procfile
548 create mode 100644 app.py
549 create mode 100644 requirements.txt
550 create mode 100644 test_app.py
551aleksej@dev-station:~/projects/upwork/bin/new-kube-app$ git push -u origin master
552Enumerating objects: 6, done.
553Counting objects: 100% (6/6), done.
554Delta compression using up to 12 threads
555Compressing objects: 100% (4/4), done.
556Writing objects: 100% (6/6), 596 bytes | 596.00 KiB/s, done.
557Total 6 (delta 0), reused 0 (delta 0)
558remote: HEAD is now at ac61292... Yeah
559remote: ---> new-kube-app-v1-build - 0/2 nodes are available: 2 node(s) didn't match node selector. [default-scheduler]
560remote: please wait...
561remote: please wait...
562remote: ---> new-kube-app-v1-build - 0/2 nodes are available: 2 node(s) didn't match node selector. [default-scheduler]
563remote: ---> new-kube-app-v1-build - 0/2 nodes are available: 2 node(s) didn't match node selector. [default-scheduler]
564remote: please wait...
565remote: ---> new-kube-app-v1-build - 0/2 nodes are available: 2 node(s) didn't match node selector. [default-scheduler]
566remote: ---> new-kube-app-v1-build - 0/2 nodes are available: 2 node(s) didn't match node selector. [default-scheduler]
567remote: ---> new-kube-app-v1-build - Successfully assigned default/new-kube-app-v1-build to gke-standard-cluster-1-default-pool-01e96074-0dg5 [default-scheduler]
568remote: ---> new-kube-app-v1-build - spec.containers{new-kube-app-v1-build} - pulling image "35.223.94.0:5000/shipa/python:v1" [kubelet, gke-standard-cluster-1-default-pool-01e96074-0dg5]
569remote: ---> new-kube-app-v1-build - spec.containers{new-kube-app-v1-build} - Error: ErrImagePull [kubelet, gke-standard-cluster-1-default-pool-01e96074-0dg5]
570remote: ---> new-kube-app-v1-build - spec.containers{new-kube-app-v1-build} - Failed to pull image "35.223.94.0:5000/shipa/python:v1": rpc error: code = Unknown desc = Error response from daemon: Get https://35.223.94.0:5000/v2/: x509: certificate signed by unknown authority [kubelet, gke-standard-cluster-1-default-pool-01e96074-0dg5]
571remote: ---> new-kube-app-v1-build - spec.containers{committer-cont} - pulling image "shipasoftware/deploy-agent:0.6.0" [kubelet, gke-standard-cluster-1-default-pool-01e96074-0dg5]
572remote: ---> new-kube-app-v1-build - spec.containers{committer-cont} - Successfully pulled image "shipasoftware/deploy-agent:0.6.0" [kubelet, gke-standard-cluster-1-default-pool-01e96074-0dg5]
573remote: ---> new-kube-app-v1-build - spec.containers{committer-cont} - Created container [kubelet, gke-standard-cluster-1-default-pool-01e96074-0dg5]
574remote: ---> new-kube-app-v1-build - spec.containers{committer-cont} - Started container [kubelet, gke-standard-cluster-1-default-pool-01e96074-0dg5]
575remote: ---> new-kube-app-v1-build - spec.containers{new-kube-app-v1-build} - pulling image "35.223.94.0:5000/shipa/python:v1" [kubelet, gke-standard-cluster-1-default-pool-01e96074-0dg5]
576remote: please wait...
577remote: please wait...
578remote: ---> new-kube-app-v1-build - spec.containers{new-kube-app-v1-build} - Successfully pulled image "35.223.94.0:5000/shipa/python:v1" [kubelet, gke-standard-cluster-1-default-pool-01e96074-0dg5]
579remote: ---> new-kube-app-v1-build - spec.containers{new-kube-app-v1-build} - Created container [kubelet, gke-standard-cluster-1-default-pool-01e96074-0dg5]
580remote: ---> new-kube-app-v1-build - spec.containers{new-kube-app-v1-build} - Started container [kubelet, gke-standard-cluster-1-default-pool-01e96074-0dg5]
581remote: ---> Running "/var/lib/shipa/deploy archive file:///home/application/archive.tar.gz"
582remote: -- Using python version: 2.7.16 (default) --
583remote: Collecting virtualenv
584remote: Downloading https://files.pythonhosted.org/packages/05/f1/2e07e8ca50e047b9cc9ad56cf4291f4e041fa73207d000a095fe478abf84/virtualenv-16.7.9-py2.py3-none-any.whl (3.4MB)
585remote: Installing collected packages: virtualenv
586remote: Successfully installed virtualenv-16.7.9
587remote: You are using pip version 18.1, however version 19.3.1 is available.
588remote: You should consider upgrading via the 'pip install --upgrade pip' command.
589remote: New python executable in /var/lib/pyenv/versions/2.7.16/envs/app_env_2.7.16/bin/python2.7
590remote: Also creating executable in /var/lib/pyenv/versions/2.7.16/envs/app_env_2.7.16/bin/python
591remote: Installing setuptools, pip, wheel...
592remote: done.
593remote: Looking in links: /tmp/tmpMNEYLV
594remote: Requirement already satisfied: setuptools in /var/lib/pyenv/versions/2.7.16/envs/app_env_2.7.16/lib/python2.7/site-packages (42.0.2)
595remote: Requirement already satisfied: pip in /var/lib/pyenv/versions/2.7.16/envs/app_env_2.7.16/lib/python2.7/site-packages (19.3.1)
596remote: /home/application/current /
597remote: Using default pip version
598remote: requirements.txt detected, using 'pip install -r ./requirements.txt' to install dependencies
599remote: DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
600remote: Collecting Flask==1.1.1
601remote: Downloading https://files.pythonhosted.org/packages/9b/93/628509b8d5dc749656a9641f4caf13540e2cdec85276964ff8f43bbb1d3b/Flask-1.1.1-py2.py3-none-any.whl (94kB)
602remote: Collecting gunicorn==19.9.0
603remote: Downloading https://files.pythonhosted.org/packages/8c/da/b8dd8deb741bff556db53902d4706774c8e1e67265f69528c14c003644e6/gunicorn-19.9.0-py2.py3-none-any.whl (112kB)
604remote: Collecting itsdangerous>=0.24
605remote: Downloading https://files.pythonhosted.org/packages/76/ae/44b03b253d6fade317f32c24d100b3b35c2239807046a4c953c7b89fa49e/itsdangerous-1.1.0-py2.py3-none-any.whl
606remote: Collecting click>=5.1
607remote: Downloading https://files.pythonhosted.org/packages/fa/37/45185cb5abbc30d7257104c434fe0b07e5a195a6847506c074527aa599ec/Click-7.0-py2.py3-none-any.whl (81kB)
608remote: Collecting Werkzeug>=0.15
609remote: Downloading https://files.pythonhosted.org/packages/ce/42/3aeda98f96e85fd26180534d36570e4d18108d62ae36f87694b476b83d6f/Werkzeug-0.16.0-py2.py3-none-any.whl (327kB)
610remote: Collecting Jinja2>=2.10.1
611remote: Downloading https://files.pythonhosted.org/packages/65/e0/eb35e762802015cab1ccee04e8a277b03f1d8e53da3ec3106882ec42558b/Jinja2-2.10.3-py2.py3-none-any.whl (125kB)
612remote: Collecting MarkupSafe>=0.23
613remote: Downloading https://files.pythonhosted.org/packages/fb/40/f3adb7cf24a8012813c5edb20329eb22d5d8e2a0ecf73d21d6b85865da11/MarkupSafe-1.1.1-cp27-cp27mu-manylinux1_x86_64.whl
614remote: Installing collected packages: itsdangerous, click, Werkzeug, MarkupSafe, Jinja2, Flask, gunicorn
615remote: Successfully installed Flask-1.1.1 Jinja2-2.10.3 MarkupSafe-1.1.1 Werkzeug-0.16.0 click-7.0 gunicorn-19.9.0 itsdangerous-1.1.0
616remote: /
617remote: ---- Building application image ----
618remote: ---> Sending image to repository (35.223.94.0:5000/shipa/app-new-kube-app:v1-builder)
619remote: {"status":"The push refers to repository [35.223.94.0:5000/shipa/app-new-kube-app]"}
620remote: {"status":"Preparing","progressDetail":{},"id":"5acf88093b6a"}
621remote: {"status":"Preparing","progressDetail":{},"id":"9ade3fa0aca8"}
622remote: {"status":"Preparing","progressDetail":{},"id":"e8e95031273b"}
623remote: {"status":"Preparing","progressDetail":{},"id":"aaaad1b073ed"}
624remote: {"status":"Preparing","progressDetail":{},"id":"58db7aefc252"}
625remote: {"status":"Preparing","progressDetail":{},"id":"ceb3e2248955"}
626remote: {"status":"Preparing","progressDetail":{},"id":"4428c9ad84f3"}
627remote: {"status":"Preparing","progressDetail":{},"id":"5596168883ab"}
628remote: {"status":"Preparing","progressDetail":{},"id":"9eb2950dda7c"}
629remote: {"status":"Preparing","progressDetail":{},"id":"e80c789bc6ac"}
630remote: {"status":"Preparing","progressDetail":{},"id":"6c3332381368"}
631remote: {"status":"Preparing","progressDetail":{},"id":"ef1a1ec5bba9"}
632remote: {"status":"Preparing","progressDetail":{},"id":"a1aa3da2a80a"}
633remote: {"status":"Waiting","progressDetail":{},"id":"ceb3e2248955"}
634remote: {"status":"Waiting","progressDetail":{},"id":"4428c9ad84f3"}
635remote: {"status":"Waiting","progressDetail":{},"id":"5596168883ab"}
636remote: {"status":"Waiting","progressDetail":{},"id":"9eb2950dda7c"}
637remote: {"status":"Waiting","progressDetail":{},"id":"e80c789bc6ac"}
638remote: {"status":"Waiting","progressDetail":{},"id":"6c3332381368"}
639remote: {"status":"Waiting","progressDetail":{},"id":"ef1a1ec5bba9"}
640remote: {"status":"Waiting","progressDetail":{},"id":"a1aa3da2a80a"}
641remote: {"status":"Pushing","progressDetail":{"current":343552,"total":33508866},"progress":"[\u003e ] 343.6kB/33.51MB","id":"5acf88093b6a"}
642remote: {"status":"Pushing","progressDetail":{"current":1785344,"total":33508866},"progress":"[==\u003e ] 1.785MB/33.51MB","id":"5acf88093b6a"}
643remote: {"status":"Pushing","progressDetail":{"current":2866688,"total":33508866},"progress":"[====\u003e ] 2.867MB/33.51MB","id":"5acf88093b6a"}
644remote: {"status":"Pushing","progressDetail":{"current":3937280,"total":33508866},"progress":"[=====\u003e ] 3.937MB/33.51MB","id":"5acf88093b6a"}
645remote: {"status":"Pushing","progressDetail":{"current":5003264,"total":33508866},"progress":"[=======\u003e ] 5.003MB/33.51MB","id":"5acf88093b6a"}
646remote: {"status":"Pushing","progressDetail":{"current":5724160,"total":33508866},"progress":"[========\u003e ] 5.724MB/33.51MB","id":"5acf88093b6a"}
647remote: {"status":"Pushing","progressDetail":{"current":6805504,"total":33508866},"progress":"[==========\u003e ] 6.806MB/33.51MB","id":"5acf88093b6a"}
648remote: {"status":"Pushing","progressDetail":{"current":7526400,"total":33508866},"progress":"[===========\u003e ] 7.526MB/33.51MB","id":"5acf88093b6a"}
649remote: {"status":"Pushing","progressDetail":{"current":8247296,"total":33508866},"progress":"[============\u003e ] 8.247MB/33.51MB","id":"5acf88093b6a"}
650remote: {"status":"Pushing","progressDetail":{"current":8968192,"total":33508866},"progress":"[=============\u003e ] 8.968MB/33.51MB","id":"5acf88093b6a"}
651remote: {"status":"Pushing","progressDetail":{"current":10049536,"total":33508866},"progress":"[==============\u003e ] 10.05MB/33.51MB","id":"5acf88093b6a"}
652remote: {"status":"Pushing","progressDetail":{"current":11130880,"total":33508866},"progress":"[================\u003e ] 11.13MB/33.51MB","id":"5acf88093b6a"}
653remote: {"status":"Pushing","progressDetail":{"current":12212224,"total":33508866},"progress":"[==================\u003e ] 12.21MB/33.51MB","id":"5acf88093b6a"}
654remote: {"status":"Pushing","progressDetail":{"current":13609540,"total":33508866},"progress":"[====================\u003e ] 13.61MB/33.51MB","id":"5acf88093b6a"}
655remote: {"status":"Pushing","progressDetail":{"current":15349248,"total":33508866},"progress":"[======================\u003e ] 15.35MB/33.51MB","id":"5acf88093b6a"}
656remote: {"status":"Mounted from shipa/python","progressDetail":{},"id":"e8e95031273b"}
657remote: {"status":"Pushing","progressDetail":{"current":17064252,"total":33508866},"progress":"[=========================\u003e ] 17.06MB/33.51MB","id":"5acf88093b6a"}
658remote: {"status":"Mounted from shipa/python","progressDetail":{},"id":"9ade3fa0aca8"}
659remote: {"status":"Mounted from shipa/python","progressDetail":{},"id":"58db7aefc252"}
660remote: {"status":"Pushing","progressDetail":{"current":18426623,"total":33508866},"progress":"[===========================\u003e ] 18.43MB/33.51MB","id":"5acf88093b6a"}
661remote: {"status":"Pushing","progressDetail":{"current":20171776,"total":33508866},"progress":"[==============================\u003e ] 20.17MB/33.51MB","id":"5acf88093b6a"}
662remote: {"status":"Mounted from shipa/python","progressDetail":{},"id":"aaaad1b073ed"}
663remote: {"status":"Pushing","progressDetail":{"current":21566464,"total":33508866},"progress":"[================================\u003e ] 21.57MB/33.51MB","id":"5acf88093b6a"}
664remote: {"status":"Pushing","progressDetail":{"current":22979116,"total":33508866},"progress":"[==================================\u003e ] 22.98MB/33.51MB","id":"5acf88093b6a"}
665remote: {"status":"Pushing","progressDetail":{"current":24713755,"total":33508866},"progress":"[====================================\u003e ] 24.71MB/33.51MB","id":"5acf88093b6a"}
666remote: {"status":"Pushing","progressDetail":{"current":26469376,"total":33508866},"progress":"[=======================================\u003e ] 26.47MB/33.51MB","id":"5acf88093b6a"}
667remote: {"status":"Pushing","progressDetail":{"current":28230849,"total":33508866},"progress":"[==========================================\u003e ] 28.23MB/33.51MB","id":"5acf88093b6a"}
668remote: {"status":"Pushing","progressDetail":{"current":29952141,"total":33508866},"progress":"[============================================\u003e ] 29.95MB/33.51MB","id":"5acf88093b6a"}
669remote: {"status":"Pushing","progressDetail":{"current":31345152,"total":33508866},"progress":"[==============================================\u003e ] 31.35MB/33.51MB","id":"5acf88093b6a"}
670remote: {"status":"Pushing","progressDetail":{"current":33493504,"total":33508866},"progress":"[=================================================\u003e ] 33.49MB/33.51MB","id":"5acf88093b6a"}
671remote: {"status":"Mounted from shipa/python","progressDetail":{},"id":"ceb3e2248955"}
672remote: {"status":"Mounted from shipa/python","progressDetail":{},"id":"9eb2950dda7c"}
673remote: {"status":"Mounted from shipa/python","progressDetail":{},"id":"5596168883ab"}
674remote: {"status":"Mounted from shipa/python","progressDetail":{},"id":"4428c9ad84f3"}
675remote: {"status":"Mounted from shipa/python","progressDetail":{},"id":"e80c789bc6ac"}
676remote: {"status":"Pushing","progressDetail":{"current":34697728,"total":33508866},"progress":"[==================================================\u003e] 34.7MB","id":"5acf88093b6a"}
677remote: {"status":"Mounted from shipa/python","progressDetail":{},"id":"a1aa3da2a80a"}
678remote: {"status":"Mounted from shipa/python","progressDetail":{},"id":"6c3332381368"}
679remote: {"status":"Mounted from shipa/python","progressDetail":{},"id":"ef1a1ec5bba9"}
680remote: {"status":"Pushed","progressDetail":{},"id":"5acf88093b6a"}
681remote: {"status":"v1-builder: digest: sha256:110ad24a7621cef6d1078805893bcdfc24aaca7955c71c1d403b5e19579423b1 size: 3045"}
682remote: {"progressDetail":{},"aux":{"Tag":"v1-builder","Digest":"sha256:110ad24a7621cef6d1078805893bcdfc24aaca7955c71c1d403b5e19579423b1","Size":3045}}
683remote: ---> Cleaning up
684remote: ---> new-kube-app-v1-deploy - Successfully assigned default/new-kube-app-v1-deploy to gke-standard-cluster-1-default-pool-01e96074-0dg5 [default-scheduler]
685remote: ---> new-kube-app-v1-deploy - spec.containers{new-kube-app-v1-deploy} - Container image "35.223.94.0:5000/shipa/app-new-kube-app:v1-builder" already present on machine [kubelet, gke-standard-cluster-1-default-pool-01e96074-0dg5]
686remote: ---> new-kube-app-v1-deploy - spec.containers{new-kube-app-v1-deploy} - Created container [kubelet, gke-standard-cluster-1-default-pool-01e96074-0dg5]
687remote: ---> new-kube-app-v1-deploy - spec.containers{new-kube-app-v1-deploy} - Started container [kubelet, gke-standard-cluster-1-default-pool-01e96074-0dg5]
688remote: ---> new-kube-app-v1-deploy - spec.containers{committer-cont} - Container image "shipasoftware/deploy-agent:0.6.0" already present on machine [kubelet, gke-standard-cluster-1-default-pool-01e96074-0dg5]
689remote: ---> new-kube-app-v1-deploy - spec.containers{committer-cont} - Created container [kubelet, gke-standard-cluster-1-default-pool-01e96074-0dg5]
690remote: ---> new-kube-app-v1-deploy - spec.containers{committer-cont} - Started container [kubelet, gke-standard-cluster-1-default-pool-01e96074-0dg5]
691remote: ---- Running build hooks ----
692remote: ---- Building application image ----
693remote: ---> Sending image to repository (35.223.94.0:5000/shipa/app-new-kube-app:v1)
694remote: {"status":"The push refers to repository [35.223.94.0:5000/shipa/app-new-kube-app]"}
695remote: {"status":"Preparing","progressDetail":{},"id":"7d152eeee568"}
696remote: {"status":"Preparing","progressDetail":{},"id":"5acf88093b6a"}
697remote: {"status":"Preparing","progressDetail":{},"id":"9ade3fa0aca8"}
698remote: {"status":"Preparing","progressDetail":{},"id":"e8e95031273b"}
699remote: {"status":"Preparing","progressDetail":{},"id":"aaaad1b073ed"}
700remote: {"status":"Preparing","progressDetail":{},"id":"58db7aefc252"}
701remote: {"status":"Preparing","progressDetail":{},"id":"ceb3e2248955"}
702remote: {"status":"Preparing","progressDetail":{},"id":"4428c9ad84f3"}
703remote: {"status":"Preparing","progressDetail":{},"id":"5596168883ab"}
704remote: {"status":"Preparing","progressDetail":{},"id":"9eb2950dda7c"}
705remote: {"status":"Preparing","progressDetail":{},"id":"e80c789bc6ac"}
706remote: {"status":"Preparing","progressDetail":{},"id":"6c3332381368"}
707remote: {"status":"Preparing","progressDetail":{},"id":"ef1a1ec5bba9"}
708remote: {"status":"Preparing","progressDetail":{},"id":"a1aa3da2a80a"}
709remote: {"status":"Waiting","progressDetail":{},"id":"58db7aefc252"}
710remote: {"status":"Waiting","progressDetail":{},"id":"ceb3e2248955"}
711remote: {"status":"Waiting","progressDetail":{},"id":"4428c9ad84f3"}
712remote: {"status":"Waiting","progressDetail":{},"id":"5596168883ab"}
713remote: {"status":"Waiting","progressDetail":{},"id":"9eb2950dda7c"}
714remote: {"status":"Waiting","progressDetail":{},"id":"e80c789bc6ac"}
715remote: {"status":"Waiting","progressDetail":{},"id":"6c3332381368"}
716remote: {"status":"Waiting","progressDetail":{},"id":"ef1a1ec5bba9"}
717remote: {"status":"Waiting","progressDetail":{},"id":"a1aa3da2a80a"}
718remote: {"status":"Layer already exists","progressDetail":{},"id":"aaaad1b073ed"}
719remote: {"status":"Layer already exists","progressDetail":{},"id":"e8e95031273b"}
720remote: {"status":"Layer already exists","progressDetail":{},"id":"5acf88093b6a"}
721remote: {"status":"Pushing","progressDetail":{"current":2048},"progress":" 2.048kB","id":"7d152eeee568"}
722remote: {"status":"Layer already exists","progressDetail":{},"id":"9ade3fa0aca8"}
723remote: {"status":"Layer already exists","progressDetail":{},"id":"58db7aefc252"}
724remote: {"status":"Layer already exists","progressDetail":{},"id":"ceb3e2248955"}
725remote: {"status":"Layer already exists","progressDetail":{},"id":"4428c9ad84f3"}
726remote: {"status":"Layer already exists","progressDetail":{},"id":"5596168883ab"}
727remote: {"status":"Layer already exists","progressDetail":{},"id":"9eb2950dda7c"}
728remote: {"status":"Layer already exists","progressDetail":{},"id":"6c3332381368"}
729remote: {"status":"Layer already exists","progressDetail":{},"id":"e80c789bc6ac"}
730remote: {"status":"Layer already exists","progressDetail":{},"id":"ef1a1ec5bba9"}
731remote: {"status":"Layer already exists","progressDetail":{},"id":"a1aa3da2a80a"}
732remote: {"status":"Pushed","progressDetail":{},"id":"7d152eeee568"}
733remote: {"status":"v1: digest: sha256:c633cbad9c9ee035e7f6705a57391a6f708c9bd7fd97041e8a995a08cd3907ce size: 3252"}
734remote: {"progressDetail":{},"aux":{"Tag":"v1","Digest":"sha256:c633cbad9c9ee035e7f6705a57391a6f708c9bd7fd97041e8a995a08cd3907ce","Size":3252}}
735remote: ---> Sending image to repository (35.223.94.0:5000/shipa/app-new-kube-app:latest)
736remote: {"status":"The push refers to repository [35.223.94.0:5000/shipa/app-new-kube-app]"}
737remote: {"status":"Preparing","progressDetail":{},"id":"7d152eeee568"}
738remote: {"status":"Preparing","progressDetail":{},"id":"5acf88093b6a"}
739remote: {"status":"Preparing","progressDetail":{},"id":"9ade3fa0aca8"}
740remote: {"status":"Preparing","progressDetail":{},"id":"e8e95031273b"}
741remote: {"status":"Preparing","progressDetail":{},"id":"aaaad1b073ed"}
742remote: {"status":"Preparing","progressDetail":{},"id":"58db7aefc252"}
743remote: {"status":"Preparing","progressDetail":{},"id":"ceb3e2248955"}
744remote: {"status":"Preparing","progressDetail":{},"id":"4428c9ad84f3"}
745remote: {"status":"Preparing","progressDetail":{},"id":"5596168883ab"}
746remote: {"status":"Preparing","progressDetail":{},"id":"9eb2950dda7c"}
747remote: {"status":"Preparing","progressDetail":{},"id":"e80c789bc6ac"}
748remote: {"status":"Preparing","progressDetail":{},"id":"6c3332381368"}
749remote: {"status":"Preparing","progressDetail":{},"id":"ef1a1ec5bba9"}
750remote: {"status":"Preparing","progressDetail":{},"id":"a1aa3da2a80a"}
751remote: {"status":"Waiting","progressDetail":{},"id":"58db7aefc252"}
752remote: {"status":"Waiting","progressDetail":{},"id":"ceb3e2248955"}
753remote: {"status":"Waiting","progressDetail":{},"id":"4428c9ad84f3"}
754remote: {"status":"Waiting","progressDetail":{},"id":"5596168883ab"}
755remote: {"status":"Waiting","progressDetail":{},"id":"9eb2950dda7c"}
756remote: {"status":"Waiting","progressDetail":{},"id":"e80c789bc6ac"}
757remote: {"status":"Waiting","progressDetail":{},"id":"6c3332381368"}
758remote: {"status":"Waiting","progressDetail":{},"id":"ef1a1ec5bba9"}
759remote: {"status":"Waiting","progressDetail":{},"id":"a1aa3da2a80a"}
760remote: {"status":"Layer already exists","progressDetail":{},"id":"e8e95031273b"}
761remote: {"status":"Layer already exists","progressDetail":{},"id":"9ade3fa0aca8"}
762remote: {"status":"Layer already exists","progressDetail":{},"id":"7d152eeee568"}
763remote: {"status":"Layer already exists","progressDetail":{},"id":"aaaad1b073ed"}
764remote: {"status":"Layer already exists","progressDetail":{},"id":"5acf88093b6a"}
765remote: {"status":"Layer already exists","progressDetail":{},"id":"ceb3e2248955"}
766remote: {"status":"Layer already exists","progressDetail":{},"id":"58db7aefc252"}
767remote: {"status":"Layer already exists","progressDetail":{},"id":"4428c9ad84f3"}
768remote: {"status":"Layer already exists","progressDetail":{},"id":"5596168883ab"}
769remote: {"status":"Layer already exists","progressDetail":{},"id":"9eb2950dda7c"}
770remote: {"status":"Layer already exists","progressDetail":{},"id":"e80c789bc6ac"}
771remote: {"status":"Layer already exists","progressDetail":{},"id":"6c3332381368"}
772remote: {"status":"Layer already exists","progressDetail":{},"id":"a1aa3da2a80a"}
773remote: {"status":"Layer already exists","progressDetail":{},"id":"ef1a1ec5bba9"}
774remote: {"status":"latest: digest: sha256:c633cbad9c9ee035e7f6705a57391a6f708c9bd7fd97041e8a995a08cd3907ce size: 3252"}
775remote: {"progressDetail":{},"aux":{"Tag":"latest","Digest":"sha256:c633cbad9c9ee035e7f6705a57391a6f708c9bd7fd97041e8a995a08cd3907ce","Size":3252}}
776remote: ---> Cleaning up
777remote: ---> Running a security scan
778remote: ---> Found 0 vulnerability(ies)
779remote:
780remote: ---- Rolling out deployment ----
781remote: ----> Step 1:
782remote: -----> Set target:
783remote: all processes => 1 units
784remote: -----> Update deployment 1:
785remote: web => 1 units
786remote:
787remote: ---- Updating units [web] ----
788remote: ---> 1 of 1 new units created
789remote: ---> 0 of 1 new units ready
790remote: ---> new-kube-app-web-1-78bdc4cf77-6ffvw - Successfully assigned default/new-kube-app-web-1-78bdc4cf77-6ffvw to gke-standard-cluster-1-default-pool-01e96074-0dg5 [default-scheduler]
791remote: ---> new-kube-app-web-1-78bdc4cf77-6ffvw - Container image "35.223.94.0:5000/shipa/app-new-kube-app:v1" already present on machine [kubelet, gke-standard-cluster-1-default-pool-01e96074-0dg5]
792remote: ---> new-kube-app-web-1-78bdc4cf77-6ffvw - Created container [kubelet, gke-standard-cluster-1-default-pool-01e96074-0dg5]
793remote: ---> new-kube-app-web-1-78bdc4cf77-6ffvw - Started container [kubelet, gke-standard-cluster-1-default-pool-01e96074-0dg5]
794remote: ---> 1 of 1 new units ready
795remote: ---> Done updating units
796remote: ---> New routing settings:
797remote: version: 1, total weight: 100
798remote:
799remote:
800remote: OK
801To ssh://35.223.94.0.nip.io:2222/new-kube-app.git
802 * [new branch] master -> master
803Branch 'master' set up to track remote branch 'master' from 'origin'.
804aleksej@dev-station:~/projects/upwork/bin/new-kube-app$
805aleksej@dev-station:~/projects/upwork/bin$ ./shipa app-list
806+--------------+-----------+----------------------------------------+
807| Application | Units | Address |
808+--------------+-----------+----------------------------------------+
809| dashboard | 1 started | http://dashboard.35.223.94.0.nip.io |
810+--------------+-----------+----------------------------------------+
811| new-kube-app | 1 started | http://new-kube-app.35.223.94.0.nip.io |
812+--------------+-----------+----------------------------------------+
813| python-app | | http://python-app.35.223.94.0.nip.io |
814+--------------+-----------+----------------------------------------+
815| some-new-app | | http://some-new-app.35.223.94.0.nip.io |
816+--------------+-----------+----------------------------------------+
817| someapp | | http://someapp.35.223.94.0.nip.io |
818+--------------+-----------+----------------------------------------+
819aleksej@dev-station:~/projects/upwork/bin$
820aleksej@dev-station:~/projects/upwork/bin/new-kube-app$ git status
821On branch master
822Your branch is up to date with 'origin/master'.
823
824Changes not staged for commit:
825 (use "git add <file>..." to update what will be committed)
826 (use "git checkout -- <file>..." to discard changes in working directory)
827
828 modified: app.py
829
830no changes added to commit (use "git add" and/or "git commit -a")
831aleksej@dev-station:~/projects/upwork/bin/new-kube-app$ git add .
832aleksej@dev-station:~/projects/upwork/bin/new-kube-app$ git commit -m 'Bingo'
833[master 1dd5a0b] Bingo
834 1 file changed, 1 insertion(+), 1 deletion(-)
835aleksej@dev-station:~/projects/upwork/bin/new-kube-app$ git push -u origin master
836Enumerating objects: 5, done.
837Counting objects: 100% (5/5), done.
838Delta compression using up to 12 threads
839Compressing objects: 100% (3/3), done.
840Writing objects: 100% (3/3), 293 bytes | 293.00 KiB/s, done.
841Total 3 (delta 2), reused 0 (delta 0)
842remote: HEAD is now at 1dd5a0b... Bingo
843remote: ---> new-kube-app-v1-build - 0/2 nodes are available: 1 Insufficient cpu, 1 node(s) didn't match node selector. [default-scheduler]
844remote: ---> new-kube-app-v1-build - 0/2 nodes are available: 1 Insufficient cpu, 1 node(s) didn't match node selector. [default-scheduler]
845remote: please wait...
846remote: please wait...
847remote: ---> new-kube-app-v1-build - 0/2 nodes are available: 1 Insufficient cpu, 1 node(s) didn't match node selector. [default-scheduler]
848remote: ---> new-kube-app-v1-build - 0/2 nodes are available: 1 Insufficient cpu, 1 node(s) didn't match node selector. [default-scheduler]
849remote: ---> new-kube-app-v1-build - Successfully assigned default/new-kube-app-v1-build to gke-standard-cluster-1-default-pool-01e96074-0dg5 [default-scheduler]
850remote: ---> new-kube-app-v1-build - spec.containers{new-kube-app-v1-build} - Container image "35.223.94.0:5000/shipa/python:v1" already present on machine [kubelet, gke-standard-cluster-1-default-pool-01e96074-0dg5]
851remote: ---> new-kube-app-v1-build - spec.containers{new-kube-app-v1-build} - Created container [kubelet, gke-standard-cluster-1-default-pool-01e96074-0dg5]
852remote: ---> new-kube-app-v1-build - spec.containers{new-kube-app-v1-build} - Started container [kubelet, gke-standard-cluster-1-default-pool-01e96074-0dg5]
853remote: ---> new-kube-app-v1-build - spec.containers{committer-cont} - Container image "shipasoftware/deploy-agent:0.6.0" already present on machine [kubelet, gke-standard-cluster-1-default-pool-01e96074-0dg5]
854remote: ---> new-kube-app-v1-build - spec.containers{committer-cont} - Created container [kubelet, gke-standard-cluster-1-default-pool-01e96074-0dg5]
855remote: ---> new-kube-app-v1-build - spec.containers{committer-cont} - Started container [kubelet, gke-standard-cluster-1-default-pool-01e96074-0dg5]
856remote: ---> Running "/var/lib/shipa/deploy archive file:///home/application/archive.tar.gz"
857remote: -- Using python version: 2.7.16 (default) --
858remote: Collecting virtualenv
859remote: Downloading https://files.pythonhosted.org/packages/05/f1/2e07e8ca50e047b9cc9ad56cf4291f4e041fa73207d000a095fe478abf84/virtualenv-16.7.9-py2.py3-none-any.whl (3.4MB)
860remote: Installing collected packages: virtualenv
861remote: Successfully installed virtualenv-16.7.9
862remote: You are using pip version 18.1, however version 19.3.1 is available.
863remote: You should consider upgrading via the 'pip install --upgrade pip' command.
864remote: New python executable in /var/lib/pyenv/versions/2.7.16/envs/app_env_2.7.16/bin/python2.7
865remote: Also creating executable in /var/lib/pyenv/versions/2.7.16/envs/app_env_2.7.16/bin/python
866remote: Installing setuptools, pip, wheel...
867remote: done.
868remote: Looking in links: /tmp/tmprfXQsq
869remote: Requirement already satisfied: setuptools in /var/lib/pyenv/versions/2.7.16/envs/app_env_2.7.16/lib/python2.7/site-packages (42.0.2)
870remote: Requirement already satisfied: pip in /var/lib/pyenv/versions/2.7.16/envs/app_env_2.7.16/lib/python2.7/site-packages (19.3.1)
871remote: /home/application/current /
872remote: Using default pip version
873remote: requirements.txt detected, using 'pip install -r ./requirements.txt' to install dependencies
874remote: DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
875remote: Collecting Flask==1.1.1
876remote: Downloading https://files.pythonhosted.org/packages/9b/93/628509b8d5dc749656a9641f4caf13540e2cdec85276964ff8f43bbb1d3b/Flask-1.1.1-py2.py3-none-any.whl (94kB)
877remote: Collecting gunicorn==19.9.0
878remote: Downloading https://files.pythonhosted.org/packages/8c/da/b8dd8deb741bff556db53902d4706774c8e1e67265f69528c14c003644e6/gunicorn-19.9.0-py2.py3-none-any.whl (112kB)
879remote: Collecting itsdangerous>=0.24
880remote: Downloading https://files.pythonhosted.org/packages/76/ae/44b03b253d6fade317f32c24d100b3b35c2239807046a4c953c7b89fa49e/itsdangerous-1.1.0-py2.py3-none-any.whl
881remote: Collecting click>=5.1
882remote: Downloading https://files.pythonhosted.org/packages/fa/37/45185cb5abbc30d7257104c434fe0b07e5a195a6847506c074527aa599ec/Click-7.0-py2.py3-none-any.whl (81kB)
883remote: Collecting Werkzeug>=0.15
884remote: Downloading https://files.pythonhosted.org/packages/ce/42/3aeda98f96e85fd26180534d36570e4d18108d62ae36f87694b476b83d6f/Werkzeug-0.16.0-py2.py3-none-any.whl (327kB)
885remote: Collecting Jinja2>=2.10.1
886remote: Downloading https://files.pythonhosted.org/packages/65/e0/eb35e762802015cab1ccee04e8a277b03f1d8e53da3ec3106882ec42558b/Jinja2-2.10.3-py2.py3-none-any.whl (125kB)
887remote: Collecting MarkupSafe>=0.23
888remote: Downloading https://files.pythonhosted.org/packages/fb/40/f3adb7cf24a8012813c5edb20329eb22d5d8e2a0ecf73d21d6b85865da11/MarkupSafe-1.1.1-cp27-cp27mu-manylinux1_x86_64.whl
889remote: Installing collected packages: itsdangerous, click, Werkzeug, MarkupSafe, Jinja2, Flask, gunicorn
890remote: Successfully installed Flask-1.1.1 Jinja2-2.10.3 MarkupSafe-1.1.1 Werkzeug-0.16.0 click-7.0 gunicorn-19.9.0 itsdangerous-1.1.0
891remote: /
892remote: ---- Building application image ----
893remote: ---> Sending image to repository (35.223.94.0:5000/shipa/app-new-kube-app:v2-builder)
894remote: {"status":"The push refers to repository [35.223.94.0:5000/shipa/app-new-kube-app]"}
895remote: {"status":"Preparing","progressDetail":{},"id":"1ffeaf9ab0e0"}
896remote: {"status":"Preparing","progressDetail":{},"id":"9ade3fa0aca8"}
897remote: {"status":"Preparing","progressDetail":{},"id":"e8e95031273b"}
898remote: {"status":"Preparing","progressDetail":{},"id":"aaaad1b073ed"}
899remote: {"status":"Preparing","progressDetail":{},"id":"58db7aefc252"}
900remote: {"status":"Preparing","progressDetail":{},"id":"ceb3e2248955"}
901remote: {"status":"Preparing","progressDetail":{},"id":"4428c9ad84f3"}
902remote: {"status":"Preparing","progressDetail":{},"id":"5596168883ab"}
903remote: {"status":"Preparing","progressDetail":{},"id":"9eb2950dda7c"}
904remote: {"status":"Preparing","progressDetail":{},"id":"e80c789bc6ac"}
905remote: {"status":"Preparing","progressDetail":{},"id":"6c3332381368"}
906remote: {"status":"Preparing","progressDetail":{},"id":"ef1a1ec5bba9"}
907remote: {"status":"Preparing","progressDetail":{},"id":"a1aa3da2a80a"}
908remote: {"status":"Waiting","progressDetail":{},"id":"ceb3e2248955"}
909remote: {"status":"Waiting","progressDetail":{},"id":"4428c9ad84f3"}
910remote: {"status":"Waiting","progressDetail":{},"id":"5596168883ab"}
911remote: {"status":"Waiting","progressDetail":{},"id":"9eb2950dda7c"}
912remote: {"status":"Waiting","progressDetail":{},"id":"e80c789bc6ac"}
913remote: {"status":"Waiting","progressDetail":{},"id":"6c3332381368"}
914remote: {"status":"Waiting","progressDetail":{},"id":"ef1a1ec5bba9"}
915remote: {"status":"Waiting","progressDetail":{},"id":"a1aa3da2a80a"}
916remote: {"status":"Layer already exists","progressDetail":{},"id":"aaaad1b073ed"}
917remote: {"status":"Layer already exists","progressDetail":{},"id":"e8e95031273b"}
918remote: {"status":"Layer already exists","progressDetail":{},"id":"58db7aefc252"}
919remote: {"status":"Layer already exists","progressDetail":{},"id":"9ade3fa0aca8"}
920remote: {"status":"Pushing","progressDetail":{"current":343552,"total":33508883},"progress":"[\u003e ] 343.6kB/33.51MB","id":"1ffeaf9ab0e0"}
921remote: {"status":"Layer already exists","progressDetail":{},"id":"ceb3e2248955"}
922remote: {"status":"Pushing","progressDetail":{"current":1064448,"total":33508883},"progress":"[=\u003e ] 1.064MB/33.51MB","id":"1ffeaf9ab0e0"}
923remote: {"status":"Pushing","progressDetail":{"current":2506240,"total":33508883},"progress":"[===\u003e ] 2.506MB/33.51MB","id":"1ffeaf9ab0e0"}
924remote: {"status":"Layer already exists","progressDetail":{},"id":"4428c9ad84f3"}
925remote: {"status":"Pushing","progressDetail":{"current":3593216,"total":33508883},"progress":"[=====\u003e ] 3.593MB/33.51MB","id":"1ffeaf9ab0e0"}
926remote: {"status":"Layer already exists","progressDetail":{},"id":"5596168883ab"}
927remote: {"status":"Layer already exists","progressDetail":{},"id":"9eb2950dda7c"}
928remote: {"status":"Pushing","progressDetail":{"current":4642816,"total":33508883},"progress":"[======\u003e ] 4.643MB/33.51MB","id":"1ffeaf9ab0e0"}
929remote: {"status":"Pushing","progressDetail":{"current":5363712,"total":33508883},"progress":"[========\u003e ] 5.364MB/33.51MB","id":"1ffeaf9ab0e0"}
930remote: {"status":"Pushing","progressDetail":{"current":6084608,"total":33508883},"progress":"[=========\u003e ] 6.085MB/33.51MB","id":"1ffeaf9ab0e0"}
931remote: {"status":"Pushing","progressDetail":{"current":7165952,"total":33508883},"progress":"[==========\u003e ] 7.166MB/33.51MB","id":"1ffeaf9ab0e0"}
932remote: {"status":"Pushing","progressDetail":{"current":7886848,"total":33508883},"progress":"[===========\u003e ] 7.887MB/33.51MB","id":"1ffeaf9ab0e0"}
933remote: {"status":"Pushing","progressDetail":{"current":8607744,"total":33508883},"progress":"[============\u003e ] 8.608MB/33.51MB","id":"1ffeaf9ab0e0"}
934remote: {"status":"Pushing","progressDetail":{"current":9328640,"total":33508883},"progress":"[=============\u003e ] 9.329MB/33.51MB","id":"1ffeaf9ab0e0"}
935remote: {"status":"Pushing","progressDetail":{"current":10409984,"total":33508883},"progress":"[===============\u003e ] 10.41MB/33.51MB","id":"1ffeaf9ab0e0"}
936remote: {"status":"Pushing","progressDetail":{"current":11130880,"total":33508883},"progress":"[================\u003e ] 11.13MB/33.51MB","id":"1ffeaf9ab0e0"}
937remote: {"status":"Pushing","progressDetail":{"current":11851776,"total":33508883},"progress":"[=================\u003e ] 11.85MB/33.51MB","id":"1ffeaf9ab0e0"}
938remote: {"status":"Pushing","progressDetail":{"current":12572672,"total":33508883},"progress":"[==================\u003e ] 12.57MB/33.51MB","id":"1ffeaf9ab0e0"}
939remote: {"status":"Pushing","progressDetail":{"current":13609540,"total":33508883},"progress":"[====================\u003e ] 13.61MB/33.51MB","id":"1ffeaf9ab0e0"}
940remote: {"status":"Pushing","progressDetail":{"current":14661632,"total":33508883},"progress":"[=====================\u003e ] 14.66MB/33.51MB","id":"1ffeaf9ab0e0"}
941remote: {"status":"Pushing","progressDetail":{"current":15684608,"total":33508883},"progress":"[=======================\u003e ] 15.68MB/33.51MB","id":"1ffeaf9ab0e0"}
942remote: {"status":"Pushing","progressDetail":{"current":16379532,"total":33508883},"progress":"[========================\u003e ] 16.38MB/33.51MB","id":"1ffeaf9ab0e0"}
943remote: {"status":"Layer already exists","progressDetail":{},"id":"ef1a1ec5bba9"}
944remote: {"status":"Layer already exists","progressDetail":{},"id":"e80c789bc6ac"}
945remote: {"status":"Layer already exists","progressDetail":{},"id":"6c3332381368"}
946remote: {"status":"Pushing","progressDetail":{"current":17409925,"total":33508883},"progress":"[=========================\u003e ] 17.41MB/33.51MB","id":"1ffeaf9ab0e0"}
947remote: {"status":"Layer already exists","progressDetail":{},"id":"a1aa3da2a80a"}
948remote: {"status":"Pushing","progressDetail":{"current":18088337,"total":33508883},"progress":"[==========================\u003e ] 18.09MB/33.51MB","id":"1ffeaf9ab0e0"}
949remote: {"status":"Pushing","progressDetail":{"current":19138481,"total":33508883},"progress":"[============================\u003e ] 19.14MB/33.51MB","id":"1ffeaf9ab0e0"}
950remote: {"status":"Pushing","progressDetail":{"current":20171776,"total":33508883},"progress":"[==============================\u003e ] 20.17MB/33.51MB","id":"1ffeaf9ab0e0"}
951remote: {"status":"Pushing","progressDetail":{"current":20895118,"total":33508883},"progress":"[===============================\u003e ] 20.9MB/33.51MB","id":"1ffeaf9ab0e0"}
952remote: {"status":"Pushing","progressDetail":{"current":21917696,"total":33508883},"progress":"[================================\u003e ] 21.92MB/33.51MB","id":"1ffeaf9ab0e0"}
953remote: {"status":"Pushing","progressDetail":{"current":22979116,"total":33508883},"progress":"[==================================\u003e ] 22.98MB/33.51MB","id":"1ffeaf9ab0e0"}
954remote: {"status":"Pushing","progressDetail":{"current":23670272,"total":33508883},"progress":"[===================================\u003e ] 23.67MB/33.51MB","id":"1ffeaf9ab0e0"}
955remote: {"status":"Pushing","progressDetail":{"current":24713755,"total":33508883},"progress":"[====================================\u003e ] 24.71MB/33.51MB","id":"1ffeaf9ab0e0"}
956remote: {"status":"Pushing","progressDetail":{"current":25752064,"total":33508883},"progress":"[======================================\u003e ] 25.75MB/33.51MB","id":"1ffeaf9ab0e0"}
957remote: {"status":"Pushing","progressDetail":{"current":26816539,"total":33508883},"progress":"[========================================\u003e ] 26.82MB/33.51MB","id":"1ffeaf9ab0e0"}
958remote: {"status":"Pushing","progressDetail":{"current":27885056,"total":33508883},"progress":"[=========================================\u003e ] 27.89MB/33.51MB","id":"1ffeaf9ab0e0"}
959remote: {"status":"Pushing","progressDetail":{"current":28919038,"total":33508883},"progress":"[===========================================\u003e ] 28.92MB/33.51MB","id":"1ffeaf9ab0e0"}
960remote: {"status":"Pushing","progressDetail":{"current":29611468,"total":33508883},"progress":"[============================================\u003e ] 29.61MB/33.51MB","id":"1ffeaf9ab0e0"}
961remote: {"status":"Pushing","progressDetail":{"current":30995587,"total":33508883},"progress":"[==============================================\u003e ] 31MB/33.51MB","id":"1ffeaf9ab0e0"}
962remote: {"status":"Pushing","progressDetail":{"current":33133056,"total":33508883},"progress":"[=================================================\u003e ] 33.13MB/33.51MB","id":"1ffeaf9ab0e0"}
963remote: {"status":"Pushing","progressDetail":{"current":34697728,"total":33508883},"progress":"[==================================================\u003e] 34.7MB","id":"1ffeaf9ab0e0"}
964remote: {"status":"Pushed","progressDetail":{},"id":"1ffeaf9ab0e0"}
965remote: {"status":"v2-builder: digest: sha256:28ed58ee2dfbdea6c176b6751c8970d1a656448c597a1b33a56488908ce23bdb size: 3045"}
966remote: {"progressDetail":{},"aux":{"Tag":"v2-builder","Digest":"sha256:28ed58ee2dfbdea6c176b6751c8970d1a656448c597a1b33a56488908ce23bdb","Size":3045}}
967remote: ---> Cleaning up
968remote: ---> new-kube-app-v2-deploy - Successfully assigned default/new-kube-app-v2-deploy to gke-standard-cluster-1-default-pool-01e96074-0dg5 [default-scheduler]
969remote: ---> new-kube-app-v2-deploy - spec.containers{new-kube-app-v2-deploy} - Container image "35.223.94.0:5000/shipa/app-new-kube-app:v2-builder" already present on machine [kubelet, gke-standard-cluster-1-default-pool-01e96074-0dg5]
970remote: ---> new-kube-app-v2-deploy - spec.containers{new-kube-app-v2-deploy} - Created container [kubelet, gke-standard-cluster-1-default-pool-01e96074-0dg5]
971remote: ---> new-kube-app-v2-deploy - spec.containers{new-kube-app-v2-deploy} - Started container [kubelet, gke-standard-cluster-1-default-pool-01e96074-0dg5]
972remote: ---> new-kube-app-v2-deploy - spec.containers{committer-cont} - Container image "shipasoftware/deploy-agent:0.6.0" already present on machine [kubelet, gke-standard-cluster-1-default-pool-01e96074-0dg5]
973remote: ---> new-kube-app-v2-deploy - spec.containers{committer-cont} - Created container [kubelet, gke-standard-cluster-1-default-pool-01e96074-0dg5]
974remote: ---> new-kube-app-v2-deploy - spec.containers{committer-cont} - Started container [kubelet, gke-standard-cluster-1-default-pool-01e96074-0dg5]
975remote: ---- Running build hooks ----
976remote: ---- Building application image ----
977remote: ---> Sending image to repository (35.223.94.0:5000/shipa/app-new-kube-app:v2)
978remote: {"status":"The push refers to repository [35.223.94.0:5000/shipa/app-new-kube-app]"}
979remote: {"status":"Preparing","progressDetail":{},"id":"ba3356f1951e"}
980remote: {"status":"Preparing","progressDetail":{},"id":"1ffeaf9ab0e0"}
981remote: {"status":"Preparing","progressDetail":{},"id":"9ade3fa0aca8"}
982remote: {"status":"Preparing","progressDetail":{},"id":"e8e95031273b"}
983remote: {"status":"Preparing","progressDetail":{},"id":"aaaad1b073ed"}
984remote: {"status":"Preparing","progressDetail":{},"id":"58db7aefc252"}
985remote: {"status":"Preparing","progressDetail":{},"id":"ceb3e2248955"}
986remote: {"status":"Preparing","progressDetail":{},"id":"4428c9ad84f3"}
987remote: {"status":"Preparing","progressDetail":{},"id":"5596168883ab"}
988remote: {"status":"Preparing","progressDetail":{},"id":"9eb2950dda7c"}
989remote: {"status":"Preparing","progressDetail":{},"id":"e80c789bc6ac"}
990remote: {"status":"Preparing","progressDetail":{},"id":"6c3332381368"}
991remote: {"status":"Preparing","progressDetail":{},"id":"ef1a1ec5bba9"}
992remote: {"status":"Preparing","progressDetail":{},"id":"a1aa3da2a80a"}
993remote: {"status":"Waiting","progressDetail":{},"id":"58db7aefc252"}
994remote: {"status":"Waiting","progressDetail":{},"id":"ceb3e2248955"}
995remote: {"status":"Waiting","progressDetail":{},"id":"4428c9ad84f3"}
996remote: {"status":"Waiting","progressDetail":{},"id":"5596168883ab"}
997remote: {"status":"Waiting","progressDetail":{},"id":"9eb2950dda7c"}
998remote: {"status":"Waiting","progressDetail":{},"id":"e80c789bc6ac"}
999remote: {"status":"Waiting","progressDetail":{},"id":"6c3332381368"}
1000remote: {"status":"Waiting","progressDetail":{},"id":"ef1a1ec5bba9"}
1001remote: {"status":"Waiting","progressDetail":{},"id":"a1aa3da2a80a"}
1002remote: {"status":"Pushing","progressDetail":{"current":2048},"progress":" 2.048kB","id":"ba3356f1951e"}
1003remote: {"status":"Layer already exists","progressDetail":{},"id":"aaaad1b073ed"}
1004remote: {"status":"Layer already exists","progressDetail":{},"id":"e8e95031273b"}
1005remote: {"status":"Layer already exists","progressDetail":{},"id":"9ade3fa0aca8"}
1006remote: {"status":"Layer already exists","progressDetail":{},"id":"1ffeaf9ab0e0"}
1007remote: {"status":"Layer already exists","progressDetail":{},"id":"5596168883ab"}
1008remote: {"status":"Layer already exists","progressDetail":{},"id":"ceb3e2248955"}
1009remote: {"status":"Layer already exists","progressDetail":{},"id":"4428c9ad84f3"}
1010remote: {"status":"Layer already exists","progressDetail":{},"id":"58db7aefc252"}
1011remote: {"status":"Layer already exists","progressDetail":{},"id":"9eb2950dda7c"}
1012remote: {"status":"Layer already exists","progressDetail":{},"id":"6c3332381368"}
1013remote: {"status":"Layer already exists","progressDetail":{},"id":"ef1a1ec5bba9"}
1014remote: {"status":"Layer already exists","progressDetail":{},"id":"e80c789bc6ac"}
1015remote: {"status":"Layer already exists","progressDetail":{},"id":"a1aa3da2a80a"}
1016remote: {"status":"Pushed","progressDetail":{},"id":"ba3356f1951e"}
1017remote: {"status":"v2: digest: sha256:fd87e197d6f0b0b6935056c737c0c85cdb0e3d89602b47a5766d0b0b763ef504 size: 3252"}
1018remote: {"progressDetail":{},"aux":{"Tag":"v2","Digest":"sha256:fd87e197d6f0b0b6935056c737c0c85cdb0e3d89602b47a5766d0b0b763ef504","Size":3252}}
1019remote: ---> Sending image to repository (35.223.94.0:5000/shipa/app-new-kube-app:latest)
1020remote: {"status":"The push refers to repository [35.223.94.0:5000/shipa/app-new-kube-app]"}
1021remote: {"status":"Preparing","progressDetail":{},"id":"ba3356f1951e"}
1022remote: {"status":"Preparing","progressDetail":{},"id":"1ffeaf9ab0e0"}
1023remote: {"status":"Preparing","progressDetail":{},"id":"9ade3fa0aca8"}
1024remote: {"status":"Preparing","progressDetail":{},"id":"e8e95031273b"}
1025remote: {"status":"Preparing","progressDetail":{},"id":"aaaad1b073ed"}
1026remote: {"status":"Preparing","progressDetail":{},"id":"58db7aefc252"}
1027remote: {"status":"Preparing","progressDetail":{},"id":"ceb3e2248955"}
1028remote: {"status":"Preparing","progressDetail":{},"id":"4428c9ad84f3"}
1029remote: {"status":"Preparing","progressDetail":{},"id":"5596168883ab"}
1030remote: {"status":"Preparing","progressDetail":{},"id":"9eb2950dda7c"}
1031remote: {"status":"Preparing","progressDetail":{},"id":"e80c789bc6ac"}
1032remote: {"status":"Preparing","progressDetail":{},"id":"6c3332381368"}
1033remote: {"status":"Preparing","progressDetail":{},"id":"ef1a1ec5bba9"}
1034remote: {"status":"Preparing","progressDetail":{},"id":"a1aa3da2a80a"}
1035remote: {"status":"Waiting","progressDetail":{},"id":"58db7aefc252"}
1036remote: {"status":"Waiting","progressDetail":{},"id":"ceb3e2248955"}
1037remote: {"status":"Waiting","progressDetail":{},"id":"4428c9ad84f3"}
1038remote: {"status":"Waiting","progressDetail":{},"id":"5596168883ab"}
1039remote: {"status":"Waiting","progressDetail":{},"id":"9eb2950dda7c"}
1040remote: {"status":"Waiting","progressDetail":{},"id":"e80c789bc6ac"}
1041remote: {"status":"Waiting","progressDetail":{},"id":"6c3332381368"}
1042remote: {"status":"Waiting","progressDetail":{},"id":"ef1a1ec5bba9"}
1043remote: {"status":"Waiting","progressDetail":{},"id":"a1aa3da2a80a"}
1044remote: {"status":"Layer already exists","progressDetail":{},"id":"9ade3fa0aca8"}
1045remote: {"status":"Layer already exists","progressDetail":{},"id":"1ffeaf9ab0e0"}
1046remote: {"status":"Layer already exists","progressDetail":{},"id":"ba3356f1951e"}
1047remote: {"status":"Layer already exists","progressDetail":{},"id":"e8e95031273b"}
1048remote: {"status":"Layer already exists","progressDetail":{},"id":"aaaad1b073ed"}
1049remote: {"status":"Layer already exists","progressDetail":{},"id":"58db7aefc252"}
1050remote: {"status":"Layer already exists","progressDetail":{},"id":"4428c9ad84f3"}
1051remote: {"status":"Layer already exists","progressDetail":{},"id":"5596168883ab"}
1052remote: {"status":"Layer already exists","progressDetail":{},"id":"9eb2950dda7c"}
1053remote: {"status":"Layer already exists","progressDetail":{},"id":"ceb3e2248955"}
1054remote: {"status":"Layer already exists","progressDetail":{},"id":"a1aa3da2a80a"}
1055remote: {"status":"Layer already exists","progressDetail":{},"id":"6c3332381368"}
1056remote: {"status":"Layer already exists","progressDetail":{},"id":"e80c789bc6ac"}
1057remote: {"status":"Layer already exists","progressDetail":{},"id":"ef1a1ec5bba9"}
1058remote: {"status":"latest: digest: sha256:fd87e197d6f0b0b6935056c737c0c85cdb0e3d89602b47a5766d0b0b763ef504 size: 3252"}
1059remote: {"progressDetail":{},"aux":{"Tag":"latest","Digest":"sha256:fd87e197d6f0b0b6935056c737c0c85cdb0e3d89602b47a5766d0b0b763ef504","Size":3252}}
1060remote: ---> Cleaning up
1061remote: ---> Running a security scan
1062remote: ---> Found 0 vulnerability(ies)
1063remote:
1064remote: ---- Rolling out deployment ----
1065remote: ----> Step 1:
1066remote: -----> Set target:
1067remote: web => 1 units
1068remote: -----> Update deployment 2:
1069remote: web => 1 units
1070remote:
1071remote: ---- Updating units [web] ----
1072remote: ---> 1 of 1 new units created
1073remote: ---> 0 of 1 new units ready
1074remote: ---> new-kube-app-web-2-f8444bd86-q6t5z - Successfully assigned default/new-kube-app-web-2-f8444bd86-q6t5z to gke-standard-cluster-1-default-pool-01e96074-0dg5 [default-scheduler]
1075remote: ---> new-kube-app-web-2-f8444bd86-q6t5z - Container image "35.223.94.0:5000/shipa/app-new-kube-app:v2" already present on machine [kubelet, gke-standard-cluster-1-default-pool-01e96074-0dg5]
1076remote: ---> new-kube-app-web-2-f8444bd86-q6t5z - Created container [kubelet, gke-standard-cluster-1-default-pool-01e96074-0dg5]
1077remote: ---> new-kube-app-web-2-f8444bd86-q6t5z - Started container [kubelet, gke-standard-cluster-1-default-pool-01e96074-0dg5]
1078remote: ---> 1 of 1 new units ready
1079remote: ---> Done updating units
1080remote: -----> Update deployment 1:
1081remote: all processes => 0 units
1082remote: ---> New routing settings:
1083remote: version: 2, total weight: 100
1084remote: version: 1, total weight: 0
1085remote:
1086remote:
1087remote: OK
1088To ssh://35.223.94.0.nip.io:2222/new-kube-app.git
1089 ac61292..1dd5a0b master -> master
1090Branch 'master' set up to track remote branch 'master' from 'origin'.
1091aleksej@dev-station:~/projects/upwork/bin/new-kube-app$
1092aleksej@dev-station:~/projects/upwork/bin$ ./shipa app-list
1093+--------------+-----------+----------------------------------------+
1094| Application | Units | Address |
1095+--------------+-----------+----------------------------------------+
1096| dashboard | 1 started | http://dashboard.35.223.94.0.nip.io |
1097+--------------+-----------+----------------------------------------+
1098| new-kube-app | 1 started | http://new-kube-app.35.223.94.0.nip.io |
1099+--------------+-----------+----------------------------------------+
1100| python-app | | http://python-app.35.223.94.0.nip.io |
1101+--------------+-----------+----------------------------------------+
1102| some-new-app | | http://some-new-app.35.223.94.0.nip.io |
1103+--------------+-----------+----------------------------------------+
1104| someapp | | http://someapp.35.223.94.0.nip.io |
1105+--------------+-----------+----------------------------------------+
1106aleksej@dev-station:~/projects/upwork/bin$ ./shipa unit-set -a new-kube-app 4
1107
1108---- Updating units [web] ----
1109 ---> 1 of 4 new units created
1110 ---> new-kube-app-web-2-f8444bd86-bs96x - Successfully assigned default/new-kube-app-web-2-f8444bd86-bs96x to gke-standard-cluster-1-default-pool-01e96074-0dg5 [default-scheduler]
1111 ---> 4 of 4 new units created
1112 ---> 1 of 4 new units ready
1113 ---> new-kube-app-web-2-f8444bd86-zpgbb - Successfully assigned default/new-kube-app-web-2-f8444bd86-zpgbb to gke-standard-cluster-1-default-pool-01e96074-0dg5 [default-scheduler]
1114 ---> new-kube-app-web-2-f8444bd86-rvrzz - Successfully assigned default/new-kube-app-web-2-f8444bd86-rvrzz to gke-standard-cluster-1-default-pool-01e96074-0dg5 [default-scheduler]
1115 ---> new-kube-app-web-2-f8444bd86-rvrzz - Container image "35.223.94.0:5000/shipa/app-new-kube-app:v2" already present on machine [kubelet, gke-standard-cluster-1-default-pool-01e96074-0dg5]
1116 ---> new-kube-app-web-2-f8444bd86-rvrzz - Created container [kubelet, gke-standard-cluster-1-default-pool-01e96074-0dg5]
1117 ---> new-kube-app-web-2-f8444bd86-bs96x - Container image "35.223.94.0:5000/shipa/app-new-kube-app:v2" already present on machine [kubelet, gke-standard-cluster-1-default-pool-01e96074-0dg5]
1118 ---> new-kube-app-web-2-f8444bd86-bs96x - Created container [kubelet, gke-standard-cluster-1-default-pool-01e96074-0dg5]
1119 ---> new-kube-app-web-2-f8444bd86-rvrzz - Started container [kubelet, gke-standard-cluster-1-default-pool-01e96074-0dg5]
1120 ---> new-kube-app-web-2-f8444bd86-zpgbb - Container image "35.223.94.0:5000/shipa/app-new-kube-app:v2" already present on machine [kubelet, gke-standard-cluster-1-default-pool-01e96074-0dg5]
1121 ---> 3 of 4 new units ready
1122 ---> new-kube-app-web-2-f8444bd86-zpgbb - Created container [kubelet, gke-standard-cluster-1-default-pool-01e96074-0dg5]
1123 ---> new-kube-app-web-2-f8444bd86-bs96x - Started container [kubelet, gke-standard-cluster-1-default-pool-01e96074-0dg5]
1124 ---> 4 of 4 new units ready
1125 ---> Done updating units
1126aleksej@dev-station:~/projects/upwork/bin$ ./shipa app-list
1127+--------------+-----------+----------------------------------------+
1128| Application | Units | Address |
1129+--------------+-----------+----------------------------------------+
1130| dashboard | 1 started | http://dashboard.35.223.94.0.nip.io |
1131+--------------+-----------+----------------------------------------+
1132| new-kube-app | 4 started | http://new-kube-app.35.223.94.0.nip.io |
1133+--------------+-----------+----------------------------------------+
1134| python-app | | http://python-app.35.223.94.0.nip.io |
1135+--------------+-----------+----------------------------------------+
1136| some-new-app | | http://some-new-app.35.223.94.0.nip.io |
1137+--------------+-----------+----------------------------------------+
1138| someapp | | http://someapp.35.223.94.0.nip.io |