Lantao Liu
d3cacff8e1
Move context cancel into defer.
...
Signed-off-by: Lantao Liu <lantaol@google.com >
2019-07-25 15:00:43 -07:00
Lantao Liu
74d2b6947c
Merge pull request #1152 from jterry75/deadline_exceeded
...
Return gRPC codes.DeadlineExceeded for all timeout operations
2019-07-25 14:58:29 -07:00
Mike Brown
d2986eb5aa
Merge pull request #1187 from alculquicondor/feature/tcp
...
Add option to register on TCP server
2019-07-25 16:36:05 -05:00
Aldo Culquicondor
4b43303203
Add option to register on TCP server
...
Signed-off-by: Aldo Culquicondor <acondor@google.com >
2019-07-25 09:42:49 -04:00
Brandon Lum
3d1fa69694
Implemented constructors for both encryption and decryption
...
Signed-off-by: Brandon Lum <lumjjb@gmail.com >
2019-07-24 22:19:39 -04:00
Brandon Lum
05a2b63e84
Create CryptoConfig constructors in place of dcparameters
...
Signed-off-by: Brandon Lum <lumjjb@gmail.com >
2019-07-24 21:51:47 -04:00
Lantao Liu
fe0cb22026
Do not cache image handler.
...
Signed-off-by: Lantao Liu <lantaol@google.com >
2019-07-24 15:38:18 -07:00
Stefan Berger
364de4c35d
Wrap creation of CryptoConfig in constructors
...
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com >
2019-07-23 19:53:23 -04:00
Derek McGowan
dde436e65b
Crypto library movement and changes to content helper interfaces
...
Signed-off-by: Derek McGowan <derek@mcgstyle.net >
2019-07-17 15:21:29 -04:00
Justin Terry (VM)
7b0c78bacd
ExecSync should block unless client context is canceled
...
A call to ExecSync should only return if the client context was canceled or
exceeded. The Timeout parameter to ExecSyncRequest is now used to send SIGKILL
if the exec'd process does not exit within Timeout but all paths wait for the
exec to exit.
Signed-off-by: Justin Terry (VM) <juterry@microsoft.com >
2019-07-16 09:47:55 -07:00
Justin Terry (VM)
71cecedc44
StopContainer should block unless client context is canceled
...
A call to StopContainer should only return if the client context is canceled or
its deadline was exceeded. The Timeout parameter on StopContainerRequest is now
used as the time AFTER sending the stop signal before the SIGKILL is delivered.
The call will remain until the container has exited or the client context has
finished.
Signed-off-by: Justin Terry (VM) <juterry@microsoft.com >
2019-07-16 09:44:23 -07:00
Justin Terry (VM)
d7c3ecd0fb
RunPodSandbox should block unless client context is canceled
...
A call to RunPodSandbox should only return timeout if the operation has timed
out because the clients context deadline was exceeded. On client cancelation
it should return gRPC Canceled otherwise it should block until the sandbox has
exited.
Signed-off-by: Justin Terry (VM) <juterry@microsoft.com >
2019-07-16 09:35:56 -07:00
Maksym Pavlenko
ef7f46eb7b
Fix linter errors
...
Signed-off-by: Maksym Pavlenko <makpav@amazon.com >
2019-07-14 20:49:40 -07:00
Michael Crosby
6601b406b7
Refactor runtime code for code sharing
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com >
2019-07-08 11:47:53 -04:00
Justin Terry (VM)
cfeb2fed81
Return gRPC errors from instrumetedService
...
Signed-off-by: Justin Terry (VM) <juterry@microsoft.com >
2019-06-19 10:11:18 -07:00
Lantao Liu
bb020275cb
Merge pull request #1170 from Random-Liu/remove-ctr-cri-load
...
Remove ctr cri load
2019-06-12 14:41:49 -07:00
Lantao Liu
4a417fb083
Merge pull request #1171 from Random-Liu/add-http-proxy-support
...
Fix http proxy ENV when TLS is enabled.
2019-06-12 14:40:58 -07:00
Lantao Liu
322cd48965
Remove load image support
...
Signed-off-by: Lantao Liu <lantaol@google.com >
2019-06-12 11:14:11 -07:00
Lantao Liu
55e5ce0e95
Fix http client when TLS is enabled.
...
Signed-off-by: Lantao Liu <lantaol@google.com >
2019-06-12 11:09:53 -07:00
Lantao Liu
78b4a39f5b
Merge pull request #1163 from Random-Liu/config-v2
...
Use the new v2 config
2019-06-12 10:29:11 -07:00
Lantao Liu
b3f733f0ad
Merge pull request #1166 from mikebrow/doc-cni-maxnum
...
doc update for cni max num
2019-06-11 10:55:28 -07:00
Mike Brown
3ba04c01cc
doc update for cni max num
...
Signed-off-by: Mike Brown <brownwm@us.ibm.com >
2019-06-11 08:35:22 -05:00
Lantao Liu
150232325e
Use v2 config.
...
Signed-off-by: Lantao Liu <lantaol@google.com >
2019-06-10 20:51:18 -07:00
Lantao Liu
66d1870d25
Add cri managed image label when pulling the image.
...
Signed-off-by: Lantao Liu <lantaol@google.com >
2019-06-10 15:13:38 -07:00
Lantao Liu
53c71e2b10
Merge pull request #1155 from kuramal/cni_plugin_conf_file_max_num
...
add cni plugin config file max num config
2019-06-10 10:14:35 -07:00
Mike Brown
bc3b49efdf
Merge pull request #1160 from Random-Liu/remove-unused-todo
...
Remove an unused TODO.
2019-06-10 16:21:42 +02:00
kuramal
b022de5f37
add cni plugin config file max num config, set go-cni to commit 22460c0
...
Signed-off-by: kuramal <linxxnil@126.com >
2019-06-10 12:14:35 +08:00
Lantao Liu
770621fe7a
Merge pull request #1158 from mikebrow/cni-debug-update
...
adds cni config data to the cri status/info
2019-06-07 16:46:04 -07:00
Lantao Liu
09f83a337f
Remove an unused TODO.
...
Signed-off-by: Lantao Liu <lantaol@google.com >
2019-06-07 15:42:04 -07:00
Vlad Ungureanu
60a58af376
Add TLS auth registry support
...
Signed-off-by: Vlad Ungureanu <ungureanuvladvictor@gmail.com >
2019-06-06 14:55:53 -07:00
Mike Brown
b87c0d74a5
adds cni config data to the cri status/info
...
Signed-off-by: Mike Brown <brownwm@us.ibm.com >
2019-06-05 16:39:45 -05:00
Justin Terry (VM)
b8ea1fa177
Minor typo in toCNIBandWidth
...
Signed-off-by: Justin Terry (VM) <juterry@microsoft.com >
2019-05-30 11:51:10 -07:00
Lantao Liu
35e9f39991
Merge pull request #1151 from johscheuer/add-bandwidth-capability
...
Initial support for traffic shaping
2019-05-30 10:28:06 -07:00
Johannes M. Scheuermann
5e2e7c6f7d
Correct Egress limits and remove unnecessary check
...
Signed-off-by: Johannes M. Scheuermann <joh.scheuer@gmail.com >
2019-05-30 11:44:05 +02:00
Johannes M. Scheuermann
4f0948eed5
Remove capitalized letter in error message
...
Signed-off-by: Johannes M. Scheuermann <joh.scheuer@gmail.com >
2019-05-29 08:20:21 +02:00
Lantao Liu
d257c16dbc
Make sure exec process is killed when context is canceled.
...
Signed-off-by: Lantao Liu <lantaol@google.com >
2019-05-28 12:25:03 -07:00
Justin Terry (VM)
f544955e4a
Update parseDNSOptions maxDNSSearches in error message
...
Minor correctness. We should use the value of the const in the error message
instead of hard coding it in the string so if maxDNSSearches ever changes so
does the error.
Signed-off-by: Justin Terry (VM) <juterry@microsoft.com >
2019-05-24 14:42:56 -07:00
Johannes M. Scheuermann
0d439c3474
Implement bandwidth capabilties
...
Signed-off-by: Johannes M. Scheuermann <joh.scheuer@gmail.com >
2019-05-24 10:29:52 +02:00
Johannes M. Scheuermann
42eb3c49af
Initial support for traffic shaping
...
Signed-off-by: Johannes M. Scheuermann <joh.scheuer@gmail.com >
2019-05-24 09:01:02 +02:00
Derek McGowan
25daa7355c
Merge pull request #3192 from thaJeztah/bump_grpc_1.19.1
...
bump google.golang.org/grpc v1.20.1
2019-05-22 11:58:52 -07:00
Maksym Pavlenko
7f79fbb245
Move ttrpc client to pkg/ttrpcutil
...
Signed-off-by: Maksym Pavlenko <makpav@amazon.com >
2019-05-20 16:44:49 -07:00
Lantao Liu
6e14e01307
Merge pull request #1148 from congliu01/log
...
Override container log path to empty if either of sandbox log directory or container log path is empty.
2019-05-14 15:50:20 -07:00
Cong Liu
fda2902f30
Validate log paths in sandbox and container config.
...
Only compose full container log path if neither of the paths is empty. Otherwise container won't start properly.
Signed-off-by: Cong Liu <conliu@google.com >
2019-05-14 13:46:52 -04:00
Lantao Liu
ebce49f0ea
Merge pull request #1145 from jterry75/fix_typo
...
Fix typo in WithoutRunMount
2019-05-12 23:55:06 -07:00
Justin Terry (VM)
8ba5c02f8f
Fix typo in WithoutRunMount
...
Signed-off-by: Justin Terry (VM) <juterry@microsoft.com >
2019-05-10 13:30:22 -07:00
Lantao Liu
179ca59478
Merge pull request #1147 from jterry75/unix_to_syscall_signal
...
Move from unix to syscall package for SIG* signals
2019-05-10 13:14:10 -07:00
Justin Terry (VM)
c1468cdeec
Move from unix to syscall package for SIG* signals
...
To support cross compilation for SIG* signals perfer the syscall package over
the unix package.
Signed-off-by: Justin Terry (VM) <juterry@microsoft.com >
2019-05-10 11:50:45 -07:00
Justin Terry (VM)
bc445d7595
Forward sandbox config to PullImage request
...
Signed-off-by: Justin Terry (VM) <juterry@microsoft.com >
2019-05-10 11:35:09 -07:00
Lantao Liu
4037806184
Log failed registry mirror attempt in debug.
...
Signed-off-by: Lantao Liu <lantaol@google.com >
2019-05-08 23:56:29 -07:00
Sebastiaan van Stijn
2ed8e60fa1
bump google.golang.org/grpc v1.20.1
...
full diff: https://github.com/grpc/grpc-go/compare/v1.12.2...v1.20.1
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2019-05-05 12:39:23 -07:00