Asim Aslam
ec929b3d2f
log error and ensure we pass through namespace
2020-04-23 17:14:30 +01:00
Asim Aslam
2299559397
Check for namespace ( #1564 )
2020-04-23 16:22:41 +01:00
ben-toogood
99d4b2b31a
Merge branch 'master' into git-secrets
2020-04-23 15:39:37 +01:00
Janos Dobronszki
ff8ad7d4ca
Default runtime now checks out code on demand ( #1563 )
...
* Default runtime now checks out code on demand
* Go mod tidy
2020-04-23 16:30:43 +02:00
ben-toogood
b692c045b5
Merge branch 'master' into git-secrets
2020-04-23 15:01:47 +01:00
Ben Toogood
b5f53595ca
Pass image_pull_secrets in runtime service
2020-04-23 14:22:23 +01:00
Ben Toogood
88176dca53
Remove debugging
2020-04-23 14:13:07 +01:00
Ben Toogood
020476614c
Tweak CreateImagePullSecret
2020-04-23 14:06:33 +01:00
Ben Toogood
0f42346976
Additonal Debugging
2020-04-23 14:03:04 +01:00
ben-toogood
692b27578c
Runtime Namespace ( #1547 )
...
* Add context option to runtime; Add dynamic namespace to kubectl client
* Add namespace runtime arg
* Fixes & Debugging
* Pass options in k8s runtime
* Set namespace on k8s resources
* Additional Logging
* More debugging
* Remove Debugging
* Ensure namespace exists
* Add debugging
* Refactor namespaceExists check
* Fix
* Fix
* Fix
* Fix
* Change the way we check for namespace
* Fix
* Tidying Up
* Fix Test
* Fix merge bugs
* Serialize k8s namespaces
* Add namespace to watch
* Serialize namespace when creating k8s namespace
Co-authored-by: Ben Toogood <ben@micro.mu>
Co-authored-by: Asim Aslam <asim@aslam.me>
2020-04-23 13:53:42 +01:00
Micro
316b81f790
Debugging
2020-04-23 13:11:00 +01:00
Micro
501a6bf3ea
Add imagePullSecrets to PodSpec
2020-04-23 12:27:36 +01:00
Janos Dobronszki
7c31edd5f8
Enabling default runtime to run multiple versions ( #1545 )
...
* Enabling default runtime to run multiple versions
* Trigger build
* Fix
* Sprintf
2020-04-20 15:54:29 +02:00
Asim Aslam
16db76bee2
remove list endpoint from runtime and stop checking type in update
2020-04-17 17:54:34 +01:00
Asim Aslam
dca5305e8a
replaced build with updated timestamp in runtime
2020-04-17 16:29:05 +01:00
Janos Dobronszki
ac5822f1ee
Fix local runtime updates ( #1543 )
2020-04-16 17:50:24 +02:00
268651df18
regenerate all proto based files ( #1531 )
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-04-14 16:25:09 +03:00
Asim Aslam
f840a5003e
Remove runtime List
2020-04-12 23:46:06 +01:00
Asim Aslam
5ef1698632
remove readme
2020-04-12 23:43:55 +01:00
Asim Aslam
1bb6967a38
reorder
2020-04-12 23:41:21 +01:00
Asim Aslam
c878237567
fix log file creation
2020-04-11 11:22:02 +01:00
Asim Aslam
ac8b6f944e
Prefix logs dir micro/logs for runtime
2020-04-11 11:15:01 +01:00
Janos Dobronszki
77f0abb0ba
Enabling micro run for subfolders ( #1510 )
...
* Enabling micro run for subfolders
* Use source instead of os.Args[2]
* Works now
* PR comments
* WorkDir -> Dir
2020-04-09 15:44:39 +01:00
Asim Aslam
f2dd091ec0
strip log
2020-04-09 10:28:16 +01:00
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
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
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
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