Janos Dobronszki
2cafa289b6
Stop LogStream if there is an error in k8s pod log streaming ( #1469 )
...
* Stop LogStream if there is an error in k8s pod log streaming
* Locking stream Stops
* PR comment
2020-04-02 12:16:35 +01:00
Janos Dobronszki
d2b6d35220
log.Errorf when pod streaming fails ( #1463 )
...
* log.Errorf when pod streaming fails
* Error method added for loggers
Co-authored-by: Asim Aslam <asim@aslam.me>
2020-04-01 23:03:26 +01:00
Janos Dobronszki
bb51b8203e
Runtime logs ( #1447 )
...
* Runtime logs
* Slightly broken
* Pushing for diff
* Log trailing works locally
* LogsOptions
* Comments and streamcount support for local logs
* Adding kubernetes logs
* Fixing k8s logs
* K8s fixes
* StreamCount is now nuked
* PR comments
* PR comments again
* Fix typo
2020-04-01 15:40:15 +02:00
Jake Sanders
3d274ab6a2
Add namespace support to Kubernetes client ( #1446 )
...
* Add namespace support to Kubernetes client
* Fix LastUpdateTime Condition
2020-03-31 12:03:32 +01:00
Vasiliy Tolstov
9e6db79860
regenerate all proto ( #1440 )
...
* regenerate all proto
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* regenerate from proto
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* regenerate from proto
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-03-30 21:58:32 +01:00
Asim Aslam
b60fde0e64
Pass through source and metadata in Update and Delete calls to runtime ( #1431 )
2020-03-27 11:37:12 +00:00
Asim Aslam
8d0826a031
Add check for k8s condition ( #1412 )
2020-03-25 19:32:41 +00:00
Asim Aslam
d2f153d795
Add type of service ( #1385 )
2020-03-20 12:48:12 +00:00
Asim Aslam
e49be1da42
fix local runtime ( #1383 )
2020-03-19 22:38:37 +00:00
Asim Aslam
40ff6ddfcf
sigh, further status changes ( #1371 )
2020-03-18 22:47:03 +00:00
Asim Aslam
5ad7c36bd4
Fix labels for k8s ( #1370 )
2020-03-18 22:13:21 +00:00
Asim Aslam
99c3fe2bb8
fix status parsing ( #1368 )
2020-03-18 21:50:52 +00:00
Asim Aslam
1bd340701b
add k8s service ip to metadata ( #1367 )
...
* add k8s service ip to metadata
* go fmt
* use same port as container
2020-03-18 18:27:29 +00:00
Asim Aslam
03031a694d
use pod phase/status ( #1356 )
2020-03-16 23:47:34 +00:00
Asim Aslam
ca8684a886
fix k8s issues ( #1349 )
2020-03-15 15:09:18 +00:00
Asim Aslam
0449138f61
fix panic ( #1348 )
2020-03-14 21:18:41 +00:00
Asim Aslam
e803fb0855
Runtime hacks ( #1344 )
...
* Add Args/Image to runtime
* remove the hacks
2020-03-13 18:39:59 +00:00
Vasiliy Tolstov
7b385bf163
minimize allocations in logger and tunnel code ( #1323 )
...
* logs alloc
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* fix allocs
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* fix allocs
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* tunnel allocs
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* try to fix tunnel
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* cache cipher for send
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* more logger
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* more logger
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* more logger
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* more logger
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* more logger
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* more logger
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* more logger
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-03-11 17:55:39 +00:00
ben-toogood
1f2e067f71
k8s runtime - get status from pods ( #1283 )
2020-03-02 15:49:10 +00:00
ben-toogood
afe6861e2f
Update the k8s deployment to use metadata labels & custom source ( #1271 )
2020-02-28 15:07:55 +00:00
ben-toogood
dcf859098b
Fix k8s commands for github ( #1257 )
2020-02-25 11:39:03 +00:00
ben-toogood
5e8d5834eb
Dynamic Runtime source for k8s with github packages ( #1252 )
...
* Dynamic Runtime source for k8s
* Still check for source
* Replace / with - for k8s service names
* Simplify sourceForName function
2020-02-24 17:47:47 +00:00
Vasiliy Tolstov
117f56ebf7
prune util/log and user logger ( #1237 )
...
* prune util/log and user logger
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* plaintext logger
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* add newline
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-02-23 13:45:20 +00:00
Asim Aslam
c7f075d157
rename file
2020-02-07 14:00:27 +00:00
Asim Aslam
812ea78604
Fix runtime deadlock
2020-02-07 14:00:09 +00:00
Asim Aslam
0755084a59
fix deadlock
2020-02-07 13:55:55 +00:00
ben-toogood
fe7f5a4134
Runtime Retries Limit ( #1163 )
...
* Implement Runtime Retries
* Remove Debug
* Action Feedback
* Refactor Retries
* Fix WithRetires Typo
2020-02-07 12:02:41 +00:00
ben-toogood
19c454ec4b
Fix Local Runtime Default Command ( #1173 )
...
* Auth API Proto
* Fix local runtime bug
* Add Platform Proto
* Restructuring
2020-02-07 11:39:26 +00:00
Asim Aslam
dbeb7cfe9c
remove errors import
2020-02-06 18:45:12 +00:00
Asim Aslam
512df2628f
trim source url if its set to github.com/
2020-02-06 18:34:16 +00:00
Ben Toogood
0591760932
Arg => Args
2020-02-06 12:17:16 +00:00
Ben Toogood
48b9f3f5e9
Fix
2020-02-06 11:28:34 +00:00
Ben Toogood
e46278a766
Test
2020-02-06 11:24:56 +00:00
Ben Toogood
fc4191c647
Fix
2020-02-06 11:12:40 +00:00
Ben Toogood
111126c780
Debugging
2020-02-06 11:00:14 +00:00
Ben Toogood
c28737e88e
Debugging
2020-02-06 10:54:11 +00:00
Ben Toogood
c7d922fac2
Debugging
2020-02-06 10:49:01 +00:00
Ben Toogood
f8e696bd30
Debugging
2020-02-06 10:44:12 +00:00
Ben Toogood
6aef28dad2
Runtime set service source
2020-02-06 10:33:23 +00:00
Ben Toogood
f0762bbb6b
Improve Logging
2020-02-06 10:16:32 +00:00
Ben Toogood
243c6a4246
Debug
2020-02-06 10:08:56 +00:00
Ben Toogood
9983aea928
Tidying Up
2020-02-06 09:29:27 +00:00
Ben Toogood
aa58a9749b
Action Asim's Feedback
2020-02-06 09:17:10 +00:00
ben-toogood
d8110b70a3
Runtime custom docker img ( #1168 )
...
* Add DeploymentOptions to K8s Client
* WithBaseImage for Runtime
* Revert Change
* Fix sequencing
2020-02-06 08:52:25 +00:00
ben-toogood
bf747a86f4
Runtime ( #1160 )
...
* Add String to Runtime interface
* Setup Dynamic Runtime Configuration
2020-02-05 13:59:35 +00:00
Lars Lehtonen
4333f00a43
runtime/kubernetes: remove unused constants ( #1159 )
2020-02-04 21:02:05 +00:00
Lars Lehtonen
98d55545fd
runtime/kubernetes: remove unused name variable
2020-01-30 09:25:50 -08:00
Vasiliy Tolstov
f23638c036
fix import paths for v2 release
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-01-30 14:44:40 +03:00
Asim Aslam
fa0d884cfe
fix bad import
2020-01-19 23:31:09 +00:00
Asim Aslam
d918694346
reorganise runtime
2020-01-19 17:47:27 +00:00