Created
April 25, 2019 20:27
-
-
Save willbeason/b39514212592e3f4a1edde25a18ad501 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~$ kubectl edit ns delete-me --v=9 | |
I0425 13:24:22.904232 140033 loader.go:359] Config loaded from file [home]/.kube/config | |
I0425 13:24:22.911721 140033 round_trippers.go:419] curl -k -v -XGET -H "User-Agent: kubectl/v1.14.1 (linux/amd64) kubernetes/b739410" -H "Accept: application/json" 'https://[host]/api/v1/namespaces/delete-me' | |
I0425 13:24:23.112638 140033 round_trippers.go:438] GET https://[host]/api/v1/namespaces/delete-me 200 OK in 200 milliseconds | |
I0425 13:24:23.112675 140033 round_trippers.go:444] Response Headers: | |
I0425 13:24:23.112695 140033 round_trippers.go:447] Date: Thu, 25 Apr 2019 20:24:23 GMT | |
I0425 13:24:23.112712 140033 round_trippers.go:447] Audit-Id: f6aa64e5-2099-4539-a5d8-576d93ce571d | |
I0425 13:24:23.112728 140033 round_trippers.go:447] Content-Type: application/json | |
I0425 13:24:23.112745 140033 round_trippers.go:447] Content-Length: 552 | |
I0425 13:24:23.112804 140033 request.go:942] Response Body: {"kind":"Namespace","apiVersion":"v1","metadata":{"name":"delete-me","selfLink":"/api/v1/namespaces/delete-me","uid":"0df02f91-6782-11e9-8beb-42010a800137","resourceVersion":"26831","creationTimestamp":"2019-04-25T17:46:28Z","deletionTimestamp":"2019-04-25T17:46:31Z","annotations":{"kubectl.kubernetes.io/last-applied-configuration":"{\"apiVersion\":\"v1\",\"kind\":\"Namespace\",\"metadata\":{\"annotations\":{},\"name\":\"delete-me\"},\"spec\":{\"finalizers\":[]}}\n"}},"spec":{"finalizers":["foregroundDeletion"]},"status":{"phase":"Terminating"}} | |
I0425 13:24:23.113740 140033 editor.go:128] Opening file with editor [vi /tmp/kubectl-edit-auu5a.yaml] | |
I0425 13:24:43.815788 140033 editoptions.go:289] User edited: | |
# Please edit the object below. Lines beginning with a '#' will be ignored, | |
# and an empty file will abort the edit. If an error occurs while saving this file will be | |
# reopened with the relevant failures. | |
# | |
apiVersion: v1 | |
kind: Namespace | |
metadata: | |
annotations: | |
kubectl.kubernetes.io/last-applied-configuration: | | |
{"apiVersion":"v1","kind":"Namespace","metadata":{"annotations":{},"name":"delete-me"},"spec":{"finalizers":[]}} | |
labels: | |
a: b | |
creationTimestamp: "2019-04-25T17:46:28Z" | |
deletionTimestamp: "2019-04-25T17:46:31Z" | |
name: delete-me | |
resourceVersion: "26831" | |
selfLink: /api/v1/namespaces/delete-me | |
uid: 0df02f91-6782-11e9-8beb-42010a800137 | |
spec: | |
finalizers: | |
- foregroundDeletion | |
status: | |
phase: Terminating | |
I0425 13:24:43.816973 140033 round_trippers.go:419] curl -k -v -XGET -H "Accept: application/com.github.proto-openapi.spec.v2@v1.0+protobuf" -H "User-Agent: kubectl/v1.14.1 (linux/amd64) kubernetes/b739410" 'https://[host]/openapi/v2?timeout=32s' | |
I0425 13:24:43.879772 140033 round_trippers.go:438] GET https://[host]/openapi/v2?timeout=32s 200 OK in 62 milliseconds | |
I0425 13:24:43.879815 140033 round_trippers.go:444] Response Headers: | |
I0425 13:24:43.879830 140033 round_trippers.go:447] Content-Type: application/octet-stream | |
I0425 13:24:43.879841 140033 round_trippers.go:447] Etag: "821A871AE616500587CD1DEE58C1376EBD55694232B33DE9202AB3EB154799EF515ECAE258A806387D6D35DAD1B59C18278C4644A1308FB6DCAE17243D702004" | |
I0425 13:24:43.879855 140033 round_trippers.go:447] Last-Modified: Thu, 25 Apr 2019 20:22:51 GMT | |
I0425 13:24:43.879867 140033 round_trippers.go:447] Vary: Accept-Encoding | |
I0425 13:24:43.879878 140033 round_trippers.go:447] Vary: Accept | |
I0425 13:24:43.879889 140033 round_trippers.go:447] Date: Thu, 25 Apr 2019 20:24:43 GMT | |
I0425 13:24:43.879901 140033 round_trippers.go:447] Accept-Ranges: bytes | |
I0425 13:24:43.879912 140033 round_trippers.go:447] Audit-Id: 9919a223-059d-48d2-9678-7e293d4fd83d | |
I0425 13:24:43.879923 140033 round_trippers.go:447] X-Varied-Accept: application/com.github.proto-openapi.spec.v2@v1.0+protobuf | |
I0425 13:24:44.096664 140033 request.go:940] Response Body: | |
00000000 0a 03 32 2e 30 12 23 0a 19 4b 75 62 65 72 6e 65 |..2.0.#..Kuberne| | |
00000010 74 65 73 20 6d 65 74 72 69 63 73 2d 73 65 72 76 |tes metrics-serv| | |
00000020 65 72 12 06 76 30 2e 33 2e 31 42 b4 e1 76 12 ca |er..v0.3.1B..v..| | |
00000030 02 0a 05 2f 61 70 69 2f 12 c0 02 12 bd 02 0a 04 |.../api/........| | |
00000040 63 6f 72 65 1a 1a 67 65 74 20 61 76 61 69 6c 61 |core..get availa| | |
00000050 62 6c 65 20 41 50 49 20 76 65 72 73 69 6f 6e 73 |ble API versions| | |
00000060 2a 12 67 65 74 43 6f 72 65 41 50 49 56 65 72 73 |*.getCoreAPIVers| | |
00000070 69 6f 6e 73 32 10 61 70 70 6c 69 63 61 74 69 6f |ions2.applicatio| | |
00000080 6e 2f 6a 73 6f 6e 32 10 61 70 70 6c 69 63 61 74 |n/json2.applicat| | |
00000090 69 6f 6e 2f 79 61 6d 6c 32 23 61 70 70 6c 69 63 |ion/yaml2#applic| | |
000000a0 61 74 69 6f 6e 2f 76 6e 64 2e 6b 75 62 65 72 6e |ation/vnd.kubern| | |
000000b0 65 74 65 73 2e 70 72 6f 74 6f 62 75 66 3a 10 61 |etes.protobuf:.a| | |
000000c0 70 70 6c 69 63 61 74 69 6f 6e 2f 6a 73 6f 6e 3a |pplication/json:| | |
000000d0 10 61 70 70 6c 69 63 61 74 69 6f 6e 2f 79 61 6d |.application/yam| | |
000000e0 6c 3a 23 61 70 70 6c 69 63 61 74 69 6f 6e 2f 76 |l:#application/v| | |
000000f0 6e 64 2e 6b 75 62 65 72 6e 65 74 65 73 2e 70 72 |nd.kubernetes.pr| | |
00000100 6f 74 6f 62 75 66 4a 6c 0a 51 0a 03 32 30 30 12 |otobufJl.Q..200.| | |
00000110 4a 0a 48 0a 02 4f 4b 12 42 0a 40 0a 3e 23 2f 64 |J.H..OK.B.@.>#/d| | |
00000120 65 66 69 6e 69 74 69 6f 6e 73 2f 69 6f 2e 6b 38 |efinitions/io.k8| | |
00000130 73 2e 61 70 69 6d 61 63 68 69 6e 65 72 79 2e 70 |s.apimachinery.p| | |
00000140 6b 67 2e 61 70 69 73 2e 6d 65 74 61 2e 76 31 2e |kg.apis.meta.v1.| | |
00000150 41 50 49 56 65 72 73 69 6f 6e 73 0a 17 0a 03 34 |APIVersions....4| | |
00000160 30 31 12 10 0a 0e 0a 0c 55 6e 61 75 74 68 6f 72 |01......Unauthor| | |
00000170 69 7a 65 64 52 05 68 74 74 70 73 12 d4 02 0a 08 |izedR.https.....| | |
00000180 2f 61 70 69 2f 76 31 2f 12 c7 02 12 c4 02 0a 07 |/api/v1/........| | |
00000190 63 6f 72 65 5f 76 31 1a 17 67 65 74 20 61 76 61 |core_v1..get ava| | |
000001a0 69 6c 61 62 6c 65 20 72 65 73 6f 75 72 63 65 73 |ilable resources| | |
000001b0 2a 15 67 65 74 43 6f 72 65 56 31 41 50 49 52 65 |*.getCoreV1APIRe| | |
000001c0 73 6f 75 72 63 65 73 32 10 61 70 70 6c 69 63 61 |sources2.applica| | |
000001d0 74 69 6f 6e 2f 6a 73 6f 6e 32 10 61 70 70 6c 69 |tion/json2.appli| | |
000001e0 63 61 74 69 6f 6e 2f 79 61 6d 6c 32 23 61 70 70 |cation/yaml2#app| | |
000001f0 6c 69 63 61 74 69 6f 6e 2f 76 6e 64 2e 6b 75 62 |lication/vnd.kub| | |
00000200 65 72 6e 65 74 65 73 2e 70 72 6f 74 6f 62 75 66 |ernetes.protobuf| | |
00000210 3a 10 61 70 70 6c 69 63 61 74 69 6f 6e 2f 6a 73 |:.application/js| | |
00000220 6f 6e 3a 10 61 70 70 6c 69 63 61 74 69 6f 6e 2f |on:.application/| | |
00000230 79 61 6d 6c 3a 23 61 70 70 6c 69 63 61 74 69 6f |yaml:#applicatio| | |
00000240 6e 2f 76 6e 64 2e 6b 75 62 65 72 6e 65 74 65 73 |n/vnd.kubernetes| | |
00000250 2e 70 72 6f 74 6f 62 75 66 4a 70 0a 55 0a 03 32 |.protobufJp.U..2| | |
00000260 30 30 12 4e 0a 4c 0a 02 4f 4b 12 46 0a 44 0a 42 |00.N.L..OK.F.D.B| | |
00000270 23 2f 64 65 66 69 6e 69 74 69 6f 6e 73 2f 69 6f |#/definitions/io| | |
00000280 2e 6b 38 73 2e 61 70 69 6d 61 63 68 69 6e 65 72 |.k8s.apimachiner| | |
00000290 79 2e 70 6b 67 2e 61 70 69 73 2e 6d 65 74 61 2e |y.pkg.apis.meta.| | |
000002a0 76 31 2e 41 50 49 52 65 73 6f 75 72 63 65 4c 69 |v1.APIResourceLi| | |
000002b0 73 74 0a 17 0a 03 34 30 31 12 10 0a 0e 0a 0c 55 |st....401......U| | |
000002c0 6e 61 75 74 68 6f 72 69 7a 65 64 52 05 68 74 74 |nauthorizedR.htt| | |
000002d0 70 73 12 e0 22 0a 19 2f 61 70 69 2f 76 31 2f 63 |ps.."../api/v1/c| | |
000002e0 6f 6d 70 6f 6e 65 6e 74 73 74 61 74 75 73 65 73 |omponentstatuses| | |
000002f0 12 c2 22 12 c7 03 0a 07 63 6f 72 65 5f 76 31 1a |..".....core_v1.| | |
00000300 24 6c 69 73 74 20 6f 62 6a 65 63 74 73 20 6f 66 |$list objects of| | |
00000310 20 6b 69 6e 64 20 43 6f 6d 70 6f 6e 65 6e 74 53 | kind ComponentS| | |
00000320 74 61 74 75 73 2a 19 6c 69 73 74 43 6f 72 65 56 |tatus*.listCoreV| | |
00000330 31 43 6f 6d 70 6f 6e 65 6e 74 53 74 61 74 75 73 |1ComponentStatus| | |
00000340 32 10 61 70 70 6c 69 63 61 74 69 6f 6e 2f 6a 73 |2.application/js| | |
00000350 6f 6e 32 10 61 70 70 6c 69 63 61 74 69 6f 6e 2f |on2.application/| | |
00000360 79 61 6d 6c 32 23 61 70 70 6c 69 63 61 74 69 6f |yaml2#applicatio| | |
00000370 6e 2f 76 6e 64 2e 6b 75 62 65 72 6e 65 74 65 73 |n/vnd.kubernetes| | |
00000380 2e 70 72 6f 74 6f 62 75 66 32 1d 61 70 70 6c 69 |.protobuf2.appli| | |
00000390 63 61 74 69 6f 6e 2f 6a 73 6f 6e 3b 73 74 72 65 |cation/json;stre| | |
000003a0 61 6d 3d 77 61 74 63 68 32 30 61 70 70 6c 69 63 |am=watch20applic| | |
000003b0 61 74 69 6f 6e 2f 76 6e 64 2e 6b 75 62 65 72 6e |ation/vnd.kubern| | |
000003c0 65 74 65 73 2e 70 72 6f 74 6f 62 75 66 3b 73 74 |etes.protobuf;st| | |
000003d0 72 65 61 6d 3d 77 61 74 63 68 3a 03 2a 2f 2a 4a |ream=watch:.*/*J| | |
000003e0 62 0a 47 0a 03 32 30 30 12 40 0a 3e 0a 02 4f 4b |b.G..200.@.>..OK| | |
000003f0 12 38 0a 36 0a 34 23 2f 64 65 66 69 6e 69 74 69 |.8.6.4#/definiti| | |
00000400 6f 6e 73 2f 69 6f 2e 6b 38 73 2e 61 70 69 2e 63 |ons/io.k8s.api.c| | |
00000410 6f 72 65 2e 76 31 2e 43 6f 6d 70 6f 6e 65 6e 74 |ore.v1.Component| | |
00000420 53 74 61 74 75 73 4c 69 73 74 0a 17 0a 03 34 30 |StatusList....40| | |
00000430 31 12 10 0a 0e 0a 0c 55 6e 61 75 74 68 6f 72 69 |1......Unauthori| | |
00000440 7a 65 64 52 05 68 74 74 70 73 6a 1e 0a 13 78 2d |zedR.httpsj...x-| | |
00000450 6b 75 62 65 72 6e 65 74 65 73 2d 61 63 74 69 6f |kubernetes-actio| | |
00000460 6e 12 07 12 05 6c 69 73 74 0a 6a 51 0a 1f 78 2d |n....list.jQ..x-| | |
00000470 6b 75 62 65 72 6e 65 74 65 73 2d 67 72 6f 75 70 |kubernetes-group| | |
00000480 2d 76 65 72 73 69 6f 6e 2d 6b 69 6e 64 12 2e 12 |-version-kind...| | |
00000490 2c 67 72 6f 75 70 3a 20 22 22 0a 6b 69 6e 64 3a |,group: "".kind:| | |
000004a0 20 43 6f 6d 70 6f 6e 65 6e 74 53 74 61 74 75 73 | ComponentStatus| | |
000004b0 0a 76 65 72 73 69 6f 6e 3a 20 76 31 0a 4a ef 09 |.version: v1.J..| | |
000004c0 0a ec 09 12 e9 09 1a e6 09 12 05 71 75 65 72 79 |...........query| | |
000004d0 1a c7 09 54 68 65 20 63 6f 6e 74 69 6e 75 65 20 |...The continue | | |
000004e0 6f 70 74 69 6f 6e 20 73 68 6f 75 6c 64 20 62 65 |option should be| | |
000004f0 20 73 65 74 20 77 68 65 6e 20 72 65 74 72 69 65 | set when retrie| | |
00000500 76 69 6e 67 20 6d 6f 72 65 20 72 65 73 75 6c 74 |ving more result| | |
00000510 73 20 66 72 6f 6d 20 74 68 65 20 73 65 72 76 65 |s from the serve| | |
00000520 72 2e 20 53 69 6e 63 65 20 74 68 69 73 20 76 61 |r. Since this va| | |
00000530 6c 75 65 20 69 73 20 73 65 72 76 65 72 20 64 65 |lue is server de| | |
00000540 66 69 6e 65 64 2c 20 63 6c 69 65 6e 74 73 20 6d |fined, clients m| | |
00000550 61 79 20 6f 6e 6c 79 20 75 73 65 20 74 68 65 20 |ay only use the | | |
00000560 63 6f 6e 74 69 6e 75 65 20 76 61 6c 75 65 20 66 |continue value f| | |
00000570 72 6f 6d 20 61 20 70 72 65 76 69 6f 75 73 20 71 |rom a previous q| | |
00000580 75 65 72 79 20 72 65 73 75 6c 74 20 77 69 74 68 |uery result with| | |
00000590 20 69 64 65 6e 74 69 63 61 6c 20 71 75 65 72 79 | identical query| | |
000005a0 20 70 61 72 61 6d 65 74 65 72 73 20 28 65 78 63 | parameters (exc| | |
000005b0 65 70 74 20 66 6f 72 20 74 68 65 20 76 61 6c 75 |ept for the valu| | |
000005c0 65 20 6f 66 20 63 6f 6e 74 69 6e 75 65 29 20 61 |e of continue) a| | |
000005d0 6e 64 20 74 68 65 20 73 65 72 76 65 72 20 6d 61 |nd the server ma| | |
000005e0 79 20 72 65 6a 65 63 74 20 61 20 63 6f 6e 74 69 |y reject a conti| | |
000005f0 6e 75 65 20 76 61 6c 75 65 20 69 74 20 64 6f 65 |nue value it doe| | |
00000600 73 20 6e 6f 74 20 72 65 63 6f 67 6e 69 7a 65 2e |s not recognize.| | |
00000610 20 49 66 20 74 68 65 20 73 70 65 63 69 66 69 65 | If the specifie| | |
00000620 64 20 63 6f 6e 74 69 6e 75 65 20 76 61 6c 75 65 |d continue value| | |
00000630 20 69 73 20 6e 6f 20 6c 6f 6e 67 65 72 20 76 61 | is no longer va| | |
00000640 6c 69 64 20 77 68 65 74 68 65 72 20 64 75 65 20 |lid whether due | | |
00000650 74 6f 20 65 78 70 69 72 61 74 69 6f 6e 20 28 67 |to expiration (g| | |
00000660 65 6e 65 72 61 6c 6c 79 20 66 69 76 65 20 74 6f |enerally five to| | |
00000670 20 66 69 66 74 65 65 6e 20 6d 69 6e 75 74 65 73 | fifteen minutes| | |
00000680 29 20 6f 72 20 61 20 63 6f 6e 66 69 67 75 72 61 |) or a configura| | |
00000690 74 69 6f 6e 20 63 68 61 6e 67 65 20 6f 6e 20 74 |tion change on t| | |
000006a0 68 65 20 73 65 72 76 65 72 2c 20 74 68 65 20 73 |he server, the s| | |
000006b0 65 72 76 65 72 20 77 69 6c 6c 20 72 65 73 70 6f |erver will respo| | |
000006c0 6e 64 20 77 69 74 68 20 61 20 34 31 30 20 52 65 |nd with a 410 Re| | |
000006d0 73 6f 75 72 63 65 45 78 70 69 72 65 64 20 65 72 |sourceExpired er| | |
000006e0 72 6f 72 20 74 6f 67 65 74 68 65 72 20 77 69 74 |ror together wit| | |
000006f0 68 20 61 20 63 6f 6e 74 69 6e 75 65 20 74 6f 6b |h a continue tok| | |
00000700 65 6e 2e 20 49 66 20 74 68 65 20 63 6c 69 65 6e |en. If the clien| | |
00000710 74 20 6e 65 65 64 73 20 61 20 63 6f 6e 73 69 73 |t needs a consis| | |
00000720 74 65 6e 74 20 6c 69 73 74 2c 20 69 74 20 6d 75 |tent list, it mu| | |
00000730 73 74 20 72 65 73 74 61 72 74 20 74 68 65 69 72 |st restart their| | |
00000740 20 6c 69 73 74 20 77 69 74 68 6f 75 74 20 74 68 | list without th| | |
00000750 65 20 63 6f 6e 74 69 6e 75 65 20 66 69 65 6c 64 |e continue field| | |
00000760 2e 20 4f 74 68 65 72 77 69 73 65 2c 20 74 68 65 |. Otherwise, the| | |
00000770 20 63 6c 69 65 6e 74 20 6d 61 79 20 73 65 6e 64 | client may send| | |
00000780 20 61 6e 6f 74 68 65 72 20 6c 69 73 74 20 72 65 | another list re| | |
00000790 71 75 65 73 74 20 77 69 74 68 20 74 68 65 20 74 |quest with the t| | |
000007a0 6f 6b 65 6e 20 72 65 63 65 69 76 65 64 20 77 69 |oken received wi| | |
000007b0 74 68 20 74 68 65 20 34 31 30 20 65 72 72 6f 72 |th the 410 error| | |
000007c0 2c 20 74 68 65 20 73 65 72 76 65 72 20 77 69 6c |, the server wil| | |
000007d0 6c 20 72 65 73 70 6f 6e 64 20 77 69 74 68 20 61 |l respond with a| | |
000007e0 20 6c 69 73 74 20 73 74 61 72 74 69 6e 67 20 66 | list starting f| | |
000007f0 72 6f 6d 20 74 68 65 20 6e 65 78 74 20 6b 65 79 |rom the next key| | |
00000800 2c 20 62 75 74 20 66 72 6f 6d 20 74 68 65 20 6c |, but from the l| | |
00000810 61 74 65 73 74 20 73 6e 61 70 73 68 6f [truncated 12734829 chars] | |
I0425 13:24:44.145080 140033 request.go:942] Request Body: {"metadata":{"labels":{"a":"b"}}} | |
I0425 13:24:44.145189 140033 round_trippers.go:419] curl -k -v -XPATCH -H "Accept: application/json" -H "Content-Type: application/strategic-merge-patch+json" -H "User-Agent: kubectl/v1.14.1 (linux/amd64) kubernetes/b739410" 'https://[host]/api/v1/namespaces/delete-me' | |
I0425 13:24:44.187191 140033 round_trippers.go:438] PATCH https://[host]/api/v1/namespaces/delete-me 200 OK in 41 milliseconds | |
I0425 13:24:44.187233 140033 round_trippers.go:444] Response Headers: | |
I0425 13:24:44.187248 140033 round_trippers.go:447] Audit-Id: 489d4790-c089-4fdd-8f3e-817b4bb0d134 | |
I0425 13:24:44.187264 140033 round_trippers.go:447] Content-Type: application/json | |
I0425 13:24:44.187277 140033 round_trippers.go:447] Content-Length: 571 | |
I0425 13:24:44.187289 140033 round_trippers.go:447] Date: Thu, 25 Apr 2019 20:24:44 GMT | |
I0425 13:24:44.188375 140033 request.go:942] Response Body: {"kind":"Namespace","apiVersion":"v1","metadata":{"name":"delete-me","selfLink":"/api/v1/namespaces/delete-me","uid":"0df02f91-6782-11e9-8beb-42010a800137","resourceVersion":"30103","creationTimestamp":"2019-04-25T17:46:28Z","deletionTimestamp":"2019-04-25T17:46:31Z","labels":{"a":"b"},"annotations":{"kubectl.kubernetes.io/last-applied-configuration":"{\"apiVersion\":\"v1\",\"kind\":\"Namespace\",\"metadata\":{\"annotations\":{},\"name\":\"delete-me\"},\"spec\":{\"finalizers\":[]}}\n"}},"spec":{"finalizers":["foregroundDeletion"]},"status":{"phase":"Terminating"}} | |
namespace/delete-me edited |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment