File tree 1 file changed +75
-0
lines changed
staging/src/k8s.io/cri-api/pkg/apis/runtime/v1
1 file changed +75
-0
lines changed Original file line number Diff line number Diff line change @@ -1188,6 +1188,78 @@ message ContainerConfig {
1188
1188
1189
1189
// CDI devices for the container.
1190
1190
repeated CDIDevice CDI_devices = 17 ;
1191
+
1192
+ // The custom stop signal for the container
1193
+ Signal stop_signal = 18 ;
1194
+ }
1195
+
1196
+ enum Signal {
1197
+ RUNTIME_DEFAULT = 0 ;
1198
+ SIGABRT = 1 ;
1199
+ SIGALRM = 2 ;
1200
+ SIGBUS = 3 ;
1201
+ SIGCHLD = 4 ;
1202
+ SIGCLD = 5 ;
1203
+ SIGCONT = 6 ;
1204
+ SIGFPE = 7 ;
1205
+ SIGHUP = 8 ;
1206
+ SIGILL = 9 ;
1207
+ SIGINT = 10 ;
1208
+ SIGIO = 11 ;
1209
+ SIGIOT = 12 ;
1210
+ SIGKILL = 13 ;
1211
+ SIGPIPE = 14 ;
1212
+ SIGPOLL = 15 ;
1213
+ SIGPROF = 16 ;
1214
+ SIGPWR = 17 ;
1215
+ SIGQUIT = 18 ;
1216
+ SIGSEGV = 19 ;
1217
+ SIGSTKFLT = 20 ;
1218
+ SIGSTOP = 21 ;
1219
+ SIGSYS = 22 ;
1220
+ SIGTERM = 23 ;
1221
+ SIGTRAP = 24 ;
1222
+ SIGTSTP = 25 ;
1223
+ SIGTTIN = 26 ;
1224
+ SIGTTOU = 27 ;
1225
+ SIGURG = 28 ;
1226
+ SIGUSR1 = 29 ;
1227
+ SIGUSR2 = 30 ;
1228
+ SIGVTALRM = 31 ;
1229
+ SIGWINCH = 32 ;
1230
+ SIGXCPU = 33 ;
1231
+ SIGXFSZ = 34 ;
1232
+ SIGRTMIN = 35 ;
1233
+ SIGRTMINPLUS1 = 36 ;
1234
+ SIGRTMINPLUS2 = 37 ;
1235
+ SIGRTMINPLUS3 = 38 ;
1236
+ SIGRTMINPLUS4 = 39 ;
1237
+ SIGRTMINPLUS5 = 40 ;
1238
+ SIGRTMINPLUS6 = 41 ;
1239
+ SIGRTMINPLUS7 = 42 ;
1240
+ SIGRTMINPLUS8 = 43 ;
1241
+ SIGRTMINPLUS9 = 44 ;
1242
+ SIGRTMINPLUS10 = 45 ;
1243
+ SIGRTMINPLUS11 = 46 ;
1244
+ SIGRTMINPLUS12 = 47 ;
1245
+ SIGRTMINPLUS13 = 48 ;
1246
+ SIGRTMINPLUS14 = 49 ;
1247
+ SIGRTMINPLUS15 = 50 ;
1248
+ SIGRTMAXMINUS14 = 51 ;
1249
+ SIGRTMAXMINUS13 = 52 ;
1250
+ SIGRTMAXMINUS12 = 53 ;
1251
+ SIGRTMAXMINUS11 = 54 ;
1252
+ SIGRTMAXMINUS10 = 55 ;
1253
+ SIGRTMAXMINUS9 = 56 ;
1254
+ SIGRTMAXMINUS8 = 57 ;
1255
+ SIGRTMAXMINUS7 = 58 ;
1256
+ SIGRTMAXMINUS6 = 59 ;
1257
+ SIGRTMAXMINUS5 = 60 ;
1258
+ SIGRTMAXMINUS4 = 61 ;
1259
+ SIGRTMAXMINUS3 = 62 ;
1260
+ SIGRTMAXMINUS2 = 63 ;
1261
+ SIGRTMAXMINUS1 = 64 ;
1262
+ SIGRTMAX = 65 ;
1191
1263
}
1192
1264
1193
1265
message CreateContainerRequest {
@@ -1361,6 +1433,9 @@ message ContainerStatus {
1361
1433
string image_id = 17 ;
1362
1434
// User identities initially attached to the container
1363
1435
ContainerUser user = 18 ;
1436
+
1437
+ // Returns the stop signal used by the container runtime to terminate the container
1438
+ Signal stop_signal = 19 ;
1364
1439
}
1365
1440
1366
1441
message ContainerStatusResponse {
You can’t perform that action at this time.
0 commit comments